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

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

bug#31723: 26.1; next-logical-line different behaviour when global-displ


From: Eli Zaretskii
Subject: bug#31723: 26.1; next-logical-line different behaviour when global-display-line-numbers-mode is on
Date: Wed, 06 Jun 2018 18:30:18 +0300

> From: Maxim Kim <address@hidden>
> 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.





reply via email to

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