bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16961: left-char moves to beginning of line; visual-order-cursor-mov


From: Eli Zaretskii
Subject: bug#16961: left-char moves to beginning of line; visual-order-cursor-movement
Date: Fri, 07 Mar 2014 22:03:53 +0200

> From: David Reitter <david.reitter@gmail.com>
> Date: Fri, 7 Mar 2014 10:52:38 -0500
> Cc: markoilcan@gmail.com
> 
> Start Emacs -Q (testing with mainline build dated Jan 29):
> 
> Paste the following:
> 
> ——snip
> (global-hl-line-mode)
> (setq visual-order-cursor-movement t)
> (visual-line-mode)
> 
>  asdasd
> ——snap
> 
> Note that “ asdasd” has a space at the beginning, and it needs to be the last 
> line of the buffer.
> Evaluate the first three expressions, place the text cursor at the end of the 
> buffer (that is, after “asd”).
> 
> The line should be highlighted.  Now press `left’ (or do M-x left-char).
> 
> Point will jump to the beginning of the line.
> Expected behavior is that it would move by just one char.

HL Line Mode, the Mother Of All Evil...

Fixed in trunk revision 116701.

> > 1. Start aquamacs without customizations.
> > 2. M-x global-hl-line-mode.
> > 3. Type " testing" (note space before the word "testing").
> > 4. Press left arrow key once.
> > At this point the cursor is to the left of the space character before the 
> > word "testing" instead of before the letter "g".

Does this mean "Aquamacs without customizations" has
visual-order-cursor-movement set to t?  If so, I think it's not a good
idea at all: that variable is user-level customization, it shouldn't
be forced on the users.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]