[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
line-move-visual
From: |
Johan Myréen |
Subject: |
line-move-visual |
Date: |
Thu, 9 Jul 2009 21:12:21 +0300 |
User-agent: |
KMail/1.11.4 (Linux/2.6.30-gentoo-r2; KDE/4.2.4; x86_64; ; ) |
Could somebody please explain to me what the idea behind the new concept of
"visual lines" in Emacs is?
Emacs has always been a "line-oriented" editor, i.e. the buffer consists of
logical lines. These lines can occasionally wrap so that they spill over to
the next visual line, but the main concept is still the logical line. This has
been the mindset of Emacs users since the dawn of time.
I was shocked to find out that this doesn't seem to be true anymore: by
default C-n and C-p do not move to the next and previous logical lines, but
instead place the cursor on the next or previous visible line. I find this
totally counterintuitive. If I press C-n five times, I expect to find the
cursor five (logical) lines down, regardless if they happen to be wrapped or
not. It is not consistent either: why don't C-a and C-e then move to the
beginning and end of the visual line. Or why does C-k kill until the end of
the logical line, and not the visual line?
Yes, I know the old behaviour can be restored: after some digging I found out
about the line-move-visual variable. Couldn't the default be nil instead of t?
Please do not forget what Gnu Emacs stands for: Generally Not Used, Except by
Middle-Aged Computer Scientists. With changes like this you risk alienating
the few of us that are left.
Johan Myreen
Emacs user since the mid 1980s
- line-move-visual,
Johan Myréen <=
- Re: line-move-visual, Bastien, 2009/07/10
- Re: line-move-visual, Miles Bader, 2009/07/10
- Re: line-move-visual, Bastien, 2009/07/10
- Re: line-move-visual, Kenichi Handa, 2009/07/10
- Re: line-move-visual, Bastien, 2009/07/10
- Re: line-move-visual, Alfred M. Szmidt, 2009/07/10
- Re: line-move-visual, Bastien, 2009/07/10
- Re: line-move-visual, Scot Becker, 2009/07/10
- Re: line-move-visual, Eli Zaretskii, 2009/07/10
- Re: line-move-visual, Lennart Borgman, 2009/07/10