GNU bug report logs - #31723
26.1; next-logical-line different behaviour when global-display-line-numbers-mode is on

Previous Next

Package: emacs;

Reported by: Maxim Kim <habamax <at> gmail.com>

Date: Tue, 5 Jun 2018 15:03:02 UTC

Severity: normal

Found in version 26.1

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Maxim Kim <habamax <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 31723 <at> debbugs.gnu.org
Subject: Re: bug#31723: 26.1; next-logical-line different behaviour when
 global-display-line-numbers-mode is on
Date: Wed, 6 Jun 2018 18:44:54 +0300
[Message part 1 (text/plain, inline)]
 Thx, not sure I will be able to test it.

I am on windows and had never compiled emacs myself.

I will try to do it :)

2018-06-06 18:30 GMT+03:00 Eli Zaretskii <eliz <at> gnu.org>:

> > From: Maxim Kim <habamax <at> gmail.com>
> > Date: Tue, 5 Jun 2018 17:51:06 +0300
> >
> > 1. open emacs with `runemacs.exe -Q`
> >
> > 2. add some text to the scratch buffer:
> >
> > ;; This buffer is for text that is not saved, and for Lisp evaluation.
> > ;; To create a file, visit it with C-x C-f and enter text in its buffer.
> >
> > Hello WORLD, this is barebone EMACS here.
> > And next-logical-line function behaves strange when
> > global-display-line-numbers-mode is activated.
> >
> > 3. activate global-display-line-numbers-mode
> >
> > 4. put your cursor on the blank line above ‘Hello WORLD...' row:
> >
> > ;; To create a file, visit it with C-x C-f and enter text in its buffer.
> > <<CURSOR ON COL 0>>
> > Hello WORLD, this is barebone EMACS here.
> >
> > 5. press C-n to go-to ‘Hello WORLD’ row, cursor is on ‘H' letter
> >
> > 6. invoke ‘next-logical-line' interactive command with M-x
> > next-logical-line, your cursor will be on the second word of the
> > next row (marked as <<n>>):
> >
> > Hello WORLD, this is barebone EMACS here.
> > And <<n>>ext-logical-line function behaves strange when
> >
> > Without global-display-line-numbers-mode cursor moves to the same column
> > on the next row (of course if there are enough columns for that).
>
> Thanks, I think I fixed this now on the emacs-26 branch, please test.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 48 days ago.

Previous Next


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