GNU bug report logs - #21468
24.5; When next-line (visual) crosses overlay with before-string="\n" point goes to column 0

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> users.sourceforge.net>

Date: Sun, 13 Sep 2015 05:18:01 UTC

Severity: normal

Found in version 24.5

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 21468 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 21468 <at> debbugs.gnu.org
Subject: Re: bug#21468: 24.5;
 When next-line (visual) crosses overlay with before-string="\n" point
 goes to column 0
Date: Mon, 14 Sep 2015 09:17:47 +0300
> Date: Sun, 13 Sep 2015 16:22:10 -0400
> From: Noam Postavsky <npostavs <at> users.sourceforge.net>
> Cc: 21468 <at> debbugs.gnu.org
> 
> On Sun, Sep 13, 2015 at 3:50 PM, Eli Zaretskii <eliz <at> 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.

Of course: that's a line of text.  Why is that a problem?  (I have no
idea what role is that thin line serving in Magit.)

Do you see any other issues with cursor motion?  I don't.




This bug report was last modified 9 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.