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: Noam Postavsky
Subject: bug#21468: 24.5; When next-line (visual) crosses overlay with before-string="\n" point goes to column 0
Date: Sun, 13 Sep 2015 16:22:10 -0400

On Sun, Sep 13, 2015 at 3:50 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> (with-current-buffer (get-buffer-create "*text property test*")
>>   (erase-buffer)
>>   (insert-file "next-line-fail.el")
>>   (let ((pos 65))
>>     (goto-char pos)
>>     (insert (propertize (concat (propertize "\s" 'display '(space :height 
>> (1)))
>>                         (propertize "\n" 'line-height t))
>>                         'face 'highlight))
>>     (pop-to-buffer (current-buffer))))
>
> Please elaborate: what problems do you see in this example?

With point on line 1 (preceding the thin line), doing next-line ends
up inside the thin line, rather than after it.





reply via email to

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