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

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

bug#21468: 24.5; When next-line (visual) crosses overlay with before-str


From: Eli Zaretskii
Subject: bug#21468: 24.5; When next-line (visual) crosses overlay with before-string="\n" point goes to column 0
Date: Sat, 10 Oct 2015 17:20:39 +0300

> Date: Sat, 10 Oct 2015 09:37:43 -0400
> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Cc: 21468@debbugs.gnu.org
> 
> The 2nd case
> 
>    emacs -Q -l 21468-overlay.el -f 21468-test-eol-col-movement
> 
> then hit C-e C-n. Point lands at the end of line 8 instead of line 8,
> column 33 which is what happens when there is no overlay.

This is not a bug: vertical-motion doesn't know about the 'cursor'
property, so it works as if the property didn't exist.

The 'cursor' property is only considered when actually putting the
cursor on screen.

I will look into the first case, sigh.





reply via email to

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