From unknown Fri Aug 15 12:48:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31723 <31723@debbugs.gnu.org> To: bug#31723 <31723@debbugs.gnu.org> Subject: Status: 26.1; next-logical-line different behaviour when global-display-line-numbers-mode is on Reply-To: bug#31723 <31723@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:48:21 +0000 retitle 31723 26.1; next-logical-line different behaviour when global-displ= ay-line-numbers-mode is on reassign 31723 emacs submitter 31723 Maxim Kim severity 31723 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 05 11:02:56 2018 Received: (at submit) by debbugs.gnu.org; 5 Jun 2018 15:02:56 +0000 Received: from localhost ([127.0.0.1]:35314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQDU7-00047F-Fx for submit@debbugs.gnu.org; Tue, 05 Jun 2018 11:02:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQDIv-0001pX-VL for submit@debbugs.gnu.org; Tue, 05 Jun 2018 10:51:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQDIo-0002In-R9 for submit@debbugs.gnu.org; Tue, 05 Jun 2018 10:51:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQDIo-0002Ii-N5 for submit@debbugs.gnu.org; Tue, 05 Jun 2018 10:51:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQDIm-0004qG-6v for bug-gnu-emacs@gnu.org; Tue, 05 Jun 2018 10:51:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQDIj-0002Gt-My for bug-gnu-emacs@gnu.org; Tue, 05 Jun 2018 10:51:12 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:38883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQDIj-0002G5-Au for bug-gnu-emacs@gnu.org; Tue, 05 Jun 2018 10:51:09 -0400 Received: by mail-wr0-x22d.google.com with SMTP id 94-v6so2759387wrf.5 for ; Tue, 05 Jun 2018 07:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Uka43j0qdR8VHyEXsX6OSrhlKHjrmc+WP9Ne2+4/k0s=; b=PpDMLRDnkJCy1EZkxhxfOjwZ8Pv2OiAJMpfhQLBAkfhJMarsN2xtsJwU5Ys+HXWEzo V8gWd74vMfLKGTRsO1g900ZSPf9bAnw6vZUylbYWAdMiLTMKdykqyrcx/oUK9i7RHFDN wahgCQyreG50d+hSGMQjqSxJLhrCv6DnMFC6+mxIE7nMi3z6uiRSG0rxidZDCwQmDyF/ byFv2AscnX1qZ9I3ffvc02k6ebfETHh+r8ntVN5dCYsUzsbOLrpYfZ9N9CD7+638pKwA YN4uFrxj5JQMQTj31OgMCE8p3C1R95nQBEIuK08NAP0Rc1o7Exxi4fsJzhGNHNm+7Q1i aoUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Uka43j0qdR8VHyEXsX6OSrhlKHjrmc+WP9Ne2+4/k0s=; b=rMjbzhV0wKBZtvs3g4sjx7DLGaubXdC/abLb+Ygriftig0cl/AQ98QkG8m9Y0rm3s7 DNkaAJufZl3TF6GosB4qoqjyjSil3mB0+bmlZ4bvPiHS+L6NhMgwWsptn+rmKywoPuRt kYdRtTJl/1ACeh642Wv5/nI2d2n1j1IzsVvCnV4cpuxWOR3yP2djuV3B6ToqpYN2fsVG HChcXz2o3UE4WV7AJACfJfkQhlRPWE1FAUYwBpLGW+j54fv0z4zhHLlmeDLNRowAxLMA X/17K+UKGYSQQoVY/DNMQc5nlZr+1Q1lbK03paLtoF1JKjaRcR82+8c4X/HFxtQ6vype SAAA== X-Gm-Message-State: ALKqPwfNCg+UMjtHHovAcWhuMOhhoporn/a7gn5D0ak7OfgWi3I2bb1c EhM/OAR2FCVFtVfU39nNlXfigXpbymcJgyXB3IQpjQ== X-Google-Smtp-Source: ADUXVKIaGoTYmFzXnVmpF3Vmp4ViiaQvpAMsP+v0WO5APKDzlynN+j7RXKNuPbdKwD5UqUCNYeCxkOoeNTV3OUv7uOA= X-Received: by 2002:adf:c60d:: with SMTP id n13-v6mr15552804wrg.177.1528210267462; Tue, 05 Jun 2018 07:51:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:d8a:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 07:51:06 -0700 (PDT) From: Maxim Kim Date: Tue, 5 Jun 2018 17:51:06 +0300 Message-ID: Subject: 26.1; next-logical-line different behaviour when global-display-line-numbers-mode is on To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000226141056de62ecf" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 05 Jun 2018 11:02:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --000000000000226141056de62ecf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=98Hello WORLD...' row: ;; To create a file, visit it with C-x C-f and enter text in its buffer. <> Hello WORLD, this is barebone EMACS here. 5. press C-n to go-to =E2=80=98Hello WORLD=E2=80=99 row, cursor is on =E2= =80=98H' letter 6. invoke =E2=80=98next-logical-line' interactive command with M-x next-logical-line, your cursor will be on the second word of the next row (marked as <>): Hello WORLD, this is barebone EMACS here. And <>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). This behaviour breaks multiple cursors package for me -- when I try to create several cursors for consequent rows. In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 built on CIRROCUMULUS Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor 'Microsoft Corp.', version 10.0.10586 Recent messages: Aggressive-Indent mode disabled in current buffer Auto-saving...done Type "q" in help window to restore its previous buffer, C-M-v to scroll help. Company mode disabled in current buffer Smartparens mode disabled in current buffer Global Display-Line-Numbers mode disabled line-move-to-column: Wrong type argument: wholenump, -6 ivy-read: Command attempted to use minibuffer while in minibuffer Quit Auto-saving...done Configured using: 'configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: RUS locale-coding-system: cp1251 Major mode: Emacs-Lisp Minor modes in effect: global-magit-file-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t counsel-projectile-mode: t projectile-mode: t diff-auto-refine-mode: t counsel-mode: t diredfl-global-mode: t global-git-gutter-mode: t which-key-mode: t global-whitespace-cleanup-mode: t whitespace-cleanup-mode: t company-childframe-mode: t company-flx-mode: t global-company-mode: t yas-global-mode: t yas-minor-mode: t winner-mode: t hl-lisp-globals-mode: t rainbow-delimiters-mode: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-global-mode: t ivy-mode: t global-undo-tree-mode: t undo-tree-mode: t override-global-mode: t savehist-mode: t save-place-mode: t recentf-mode: t show-paren-mode: t global-subword-mode: t subword-mode: t delete-selection-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-quote-mode: t electric-layout-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: c:/Users/maksim.kim/.emacs.d/kosmos-theme/kosmos-theme hides c:/Users/maksim.kim/.emacs.d/elpa/kosmos-theme-20170502.1150/kosmos-theme Features: (shadow sort mail-extr emacsbug sendmail tabify cl-print debug pulse eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-collab ghub url-http tls gnutls url-gw nsm url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap let-alist json map magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode git-commit magit-git magit-section magit-utils crm magit-popup log-edit message rmc puny format-spec rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async shell pcomplete server browse-url dired-aux wdired cus-start cus-load rotate goto-addr asciidoctor-mode derived noutline outline expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom ace-window avy counsel-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs vc-git diff-mode light-blue-theme manoj-dark-theme leuven-theme kosmos-theme haba-stuff cyberpunk-theme colir color smex ido counsel diredfl dired-x dired dired-loaddefs compile comint ansi-color esh-util swiper git-gutter-fringe fringe-helper git-gutter which-key whitespace-cleanup-mode whitespace company-childframe posframe company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company-tng company-flx company pcase multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect yasnippet-snippets yasnippet winner ring time aggressive-indent hl-lisp-globals-mode rainbow-delimiters smartparens-config smartparens-text smartparens advice dash elec-pair cal-menu calendar cal-loaddefs ivy flx ivy-overlay ffap thingatpt diminish undo-tree diff reverse-im quail habamax-theme cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core subr-x finder-inf edmacro kmacro slime-autoloads info package epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv savehist saveplace recentf tree-widget wid-edit cl-loaddefs cl-lib easymenu display-line-numbers paren cap-words superword subword delsel time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 577785 110119) (symbols 56 44308 2) (miscs 48 2656 3178) (strings 32 127306 5436) (string-bytes 1 4052192) (vectors 16 80410) (vector-slots 8 2568134 121894) (floats 8 437 741) (intervals 56 16495 1138) (buffers 992 34)) --000000000000226141056de62ecf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable



1. open emacs with `runemacs.exe -Q`

2.= add some text to the scratch buffer:

;; This buffer is for text tha= t is not saved, and for Lisp evaluation.
;; To create a file, visit it w= ith C-x C-f and enter text in its buffer.

Hello WORLD, this is bareb= one EMACS here.
And next-logical-line function behaves strange when
g= lobal-display-line-numbers-mode is activated.

3. activate global-dis= play-line-numbers-mode

4. put your cursor on the blank line above = =E2=80=98Hello 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 = =E2=80=98Hello WORLD=E2=80=99 row, cursor is on =E2=80=98H' letter
<= br>6. invoke =E2=80=98next-logical-line' interactive command with M-xnext-logical-line, your cursor will be on the second word of the
next = row (marked as <<n>>):

Hello WORLD, this is barebone EMA= CS here.
And <<n>>ext-logical-line function behaves strange = when



Without global-display-line-numbers-mode cursor moves t= o the same column
on the next row (of course if there are enough columns= for that).


This behaviour breaks multiple cursors package for m= e -- when I try to
create several cursors for consequent rows.

In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
=C2=A0of 2018-05-30 bu= ilt on CIRROCUMULUS
Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe= 0c20ea1ea
Windowing system distributor 'Microsoft Corp.', versio= n 10.0.10586
Recent messages:
Aggressive-Indent mode disabled in curr= ent buffer
Auto-saving...done
Type "q" in help window to re= store its previous buffer, C-M-v to scroll help.
Company mode disabled i= n current buffer
Smartparens mode disabled in current buffer
Global D= isplay-Line-Numbers mode disabled
line-move-to-column: Wrong type argume= nt: wholenump, -6
ivy-read: Command attempted to use minibuffer while in= minibuffer
Quit
Auto-saving...done

Configured using:
=C2= =A0'configure --without-dbus --host=3Dx86_64-w64-mingw32
=C2=A0--wit= hout-compress-install 'CFLAGS=3D-O2 -static -g3''

Config= ured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML= 2 ZLIB
TOOLKIT_SCROLL_BARS THREADS LCMS2

Important settings:
= =C2=A0 value of $LANG: RUS
=C2=A0 locale-coding-system: cp1251

Ma= jor mode: Emacs-Lisp

Minor modes in effect:
=C2=A0 global-magit-f= ile-mode: t
=C2=A0 magit-auto-revert-mode: t
=C2=A0 global-git-commit= -mode: t
=C2=A0 async-bytecomp-package-mode: t
=C2=A0 shell-dirtrack-= mode: t
=C2=A0 counsel-projectile-mode: t
=C2=A0 projectile-mode: t=C2=A0 diff-auto-refine-mode: t
=C2=A0 counsel-mode: t
=C2=A0 dired= fl-global-mode: t
=C2=A0 global-git-gutter-mode: t
=C2=A0 which-key-m= ode: t
=C2=A0 global-whitespace-cleanup-mode: t
=C2=A0 whitespace-cle= anup-mode: t
=C2=A0 company-childframe-mode: t
=C2=A0 company-flx-mod= e: t
=C2=A0 global-company-mode: t
=C2=A0 yas-global-mode: t
=C2= =A0 yas-minor-mode: t
=C2=A0 winner-mode: t
=C2=A0 hl-lisp-globals-mo= de: t
=C2=A0 rainbow-delimiters-mode: t
=C2=A0 show-smartparens-globa= l-mode: t
=C2=A0 show-smartparens-mode: t
=C2=A0 smartparens-global-m= ode: t
=C2=A0 ivy-mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 u= ndo-tree-mode: t
=C2=A0 override-global-mode: t
=C2=A0 savehist-mode:= t
=C2=A0 save-place-mode: t
=C2=A0 recentf-mode: t
=C2=A0 show-pa= ren-mode: t
=C2=A0 global-subword-mode: t
=C2=A0 subword-mode: t
= =C2=A0 delete-selection-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-= eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-quote-mode: t
= =C2=A0 electric-layout-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 = mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-m= ode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-nu= mber-mode: t
=C2=A0 global-visual-line-mode: t
=C2=A0 visual-line-mod= e: t
=C2=A0 transient-mark-mode: t
=C2=A0 abbrev-mode: t

Load-= path shadows:
c:/Users/maksim.kim/.emacs.d/kosmos-theme/kosmos-theme hid= es c:/Users/maksim.kim/.emacs.d/elpa/kosmos-theme-20170502.1150/kosmos-them= e

Features:
(shadow sort mail-extr emacsbug sendmail tabify cl-pr= int debug pulse
eieio-opt speedbar sb-image ezimage dframe find-func hel= p-fns radix-tree
magit-obsolete magit-blame magit-stash magit-bisect mag= it-remote
magit-commit magit-sequence magit-notes magit-worktree magit-t= ag
magit-merge magit-branch magit-reset magit-collab ghub url-http tlsgnutls url-gw nsm url-auth url url-proxy url-privacy url-expand
url-me= thods url-history url-cookie url-domsuf url-util mailcap let-alist
json = map magit-files magit-refs magit-status magit magit-repos
magit-apply ma= git-wip magit-log magit-diff smerge-mode magit-core
magit-autorevert aut= orevert filenotify magit-process magit-margin
magit-mode git-commit magi= t-git magit-section magit-utils crm
magit-popup log-edit message rmc pun= y format-spec rfc822 mml mml-sec epa
epg gnus-util rmail rmail-loaddefs = mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 mm-util= ietf-drums mail-prsvr
mailabbrev mail-utils gmm-utils mailheader pcvs-u= til add-log with-editor
async-bytecomp async shell pcomplete server brow= se-url dired-aux wdired
cus-start cus-load rotate goto-addr asciidoctor-= mode derived noutline
outline expand-region text-mode-expansions er-basi= c-expansions
expand-region-core expand-region-custom ace-window avy
c= ounsel-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs
vc-g= it diff-mode light-blue-theme manoj-dark-theme leuven-theme
kosmos-theme= haba-stuff cyberpunk-theme colir color smex ido counsel
diredfl dired-x= dired dired-loaddefs compile comint ansi-color esh-util
swiper git-gutt= er-fringe fringe-helper git-gutter which-key
whitespace-cleanup-mode whi= tespace company-childframe posframe
company-oddmuse company-keywords com= pany-etags etags xref project
company-gtags company-dabbrev-code company= -dabbrev company-files
company-capf company-cmake company-xcode company-= clang company-semantic
company-eclim company-template company-bbdb compa= ny-tng company-flx
company pcase multiple-cursors mc-hide-unmatched-line= s-mode
mc-separate-operations rectangular-region-mode mc-mark-pop mc-mar= k-more
mc-cycle-cursors mc-edit-lines multiple-cursors-core rect
yasn= ippet-snippets yasnippet winner ring time aggressive-indent
hl-lisp-glob= als-mode rainbow-delimiters smartparens-config
smartparens-text smartpar= ens advice dash elec-pair cal-menu calendar
cal-loaddefs ivy flx ivy-ove= rlay ffap thingatpt diminish undo-tree diff
reverse-im quail habamax-the= me cl-extra help-mode use-package
use-package-ensure use-package-delight= use-package-diminish
use-package-bind-key bind-key easy-mmode use-packa= ge-core subr-x
finder-inf edmacro kmacro slime-autoloads info package ep= g-config
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-m= acs
eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
b= yte-compile cconv savehist saveplace recentf tree-widget wid-edit
cl-loa= ddefs cl-lib easymenu display-line-numbers paren cap-words
superword sub= word delsel time-date mule-util tooltip eldoc electric
uniquify ediff-ho= ok vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
disp-table term/w32-w= in w32-win w32-vars term/common-win tool-bar dnd
fontset image regexp-op= t fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mod= e prog-mode register page menu-bar
rfn-eshadow isearch timer select scro= ll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-color= s frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan= thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romania= n slovak czech european
ethiopic indian cyrillic chinese composite chars= cript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obar= ray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macro= exp files
text-properties overlay sha1 md5 base64 format env code-pages = mule
custom widget hashtable-print-readable backquote w32notify w32 lcms= 2
multi-tty make-network-process emacs)

Memory information:
((= conses 16 577785 110119)
=C2=A0(symbols 56 44308 2)
=C2=A0(miscs 48 2= 656 3178)
=C2=A0(strings 32 127306 5436)
=C2=A0(string-bytes 1 405219= 2)
=C2=A0(vectors 16 80410)
=C2=A0(vector-slots 8 2568134 121894)
= =C2=A0(floats 8 437 741)
=C2=A0(intervals 56 16495 1138)
=C2=A0(buffe= rs 992 34))

--000000000000226141056de62ecf-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 06 11:30:15 2018 Received: (at 31723) by debbugs.gnu.org; 6 Jun 2018 15:30:15 +0000 Received: from localhost ([127.0.0.1]:36955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQaO7-0006Xa-Jh for submit@debbugs.gnu.org; Wed, 06 Jun 2018 11:30:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQaO6-0006XO-IP for 31723@debbugs.gnu.org; Wed, 06 Jun 2018 11:30:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQaNy-0000M1-9c for 31723@debbugs.gnu.org; Wed, 06 Jun 2018 11:30:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQaNy-0000Lx-5y; Wed, 06 Jun 2018 11:30:06 -0400 Received: from [176.228.60.248] (port=1354 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fQaNx-0008WO-Jx; Wed, 06 Jun 2018 11:30:06 -0400 Date: Wed, 06 Jun 2018 18:30:18 +0300 Message-Id: <83o9govsol.fsf@gnu.org> From: Eli Zaretskii To: Maxim Kim In-reply-to: (message from Maxim Kim on Tue, 5 Jun 2018 17:51:06 +0300) Subject: Re: bug#31723: 26.1; next-logical-line different behaviour when global-display-line-numbers-mode is on References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31723 Cc: 31723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Maxim Kim > 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. > <> > 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 <>): > > Hello WORLD, this is barebone EMACS here. > And <>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. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 06 11:45:03 2018 Received: (at 31723) by debbugs.gnu.org; 6 Jun 2018 15:45:03 +0000 Received: from localhost ([127.0.0.1]:36964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQacQ-0006rl-Ts for submit@debbugs.gnu.org; Wed, 06 Jun 2018 11:45:03 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:37798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQacP-0006r2-So for 31723@debbugs.gnu.org; Wed, 06 Jun 2018 11:45:02 -0400 Received: by mail-wm0-f46.google.com with SMTP id r125-v6so12812646wmg.2 for <31723@debbugs.gnu.org>; Wed, 06 Jun 2018 08:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SG9BDyYpTIhWs3KAvVkgEl0fhVP7Heef44B14IEmA9w=; b=Lx6TVL82stCiDQSarmDMdLbqP9yyhfIOfVhBlrHPTXtubRuH2ATdL39i6oR9x0xDUL g+ZrwSXFmc9tC1OZbwlUkZI62R8cfwa0u+GLSeVPVDtCsCjkKyqYLpeg2kOApAynncaB 3yByPZ06JyCDANrLHP3dpzUX9HcEbEumnjrPhc+CNIcUxjQpgSDZMKjJj4bPQJosTUE8 DX/I289W4+tksIsYXRvqfCyrtRhKz7Ri2zd8HNdOR37KYgAMkZK/m9QpcckiEyqQ/GdX 09LnlyV2+uWYdYdIH73Pk9KZs/0XEDbp3cmUb2m/iwdVcRgzhdN8LBMHIFeRByHcMxWN KbSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SG9BDyYpTIhWs3KAvVkgEl0fhVP7Heef44B14IEmA9w=; b=aRKHg10X6jDEcEh5j9FI/ABQp1ZSGJ8vo9arj0a+4djPhCuWl33vUT/6w/b26Tz7K0 +ClgWcv/TAuOS+EARa0SMCQa8c40SM8jYWlZyqwyphZLDcNBTqbCb2FajliB+quOhVYM uaVeZ6/g+huizeVmQVoalcxOK87QtQswRhuE9P4Aq5dp9X6QV2pz9gx9Cpy4+lGsZn/d +xblR2LbJ7PLnRiE+p4y9Y00El4vdPAGTp++WUXWqp3H/NPKlTOj2W1hLRysRO3zANcr TGD7VD2JFHto2pOM1Afyko0ByS54zd14cLlwFEI6D9cSP3Ry/1MSBxiVqeksGXOqUekT h5iA== X-Gm-Message-State: APt69E3/SDt/FYzpILayESLnlLJ5LguDKKKYtWhtLigmJf/SUcgdqWsI oHwNNVGK3tRM8mCnnETy5Mmqk2qH+U2hGgAhlDc= X-Google-Smtp-Source: ADUXVKIHeTct60FXFmQyUp5xS6npOVoX8pA0VosSe89iQ50VfM5RJPtR5hFCcf9Uv2Sf7TibgxK4Vo+zsf8Gl8cI4c8= X-Received: by 2002:a1c:12d0:: with SMTP id 199-v6mr1995721wms.153.1528299895877; Wed, 06 Jun 2018 08:44:55 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:d8a:0:0:0:0:0 with HTTP; Wed, 6 Jun 2018 08:44:54 -0700 (PDT) In-Reply-To: <83o9govsol.fsf@gnu.org> References: <83o9govsol.fsf@gnu.org> From: Maxim Kim Date: Wed, 6 Jun 2018 18:44:54 +0300 Message-ID: Subject: Re: bug#31723: 26.1; next-logical-line different behaviour when global-display-line-numbers-mode is on To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000677628056dfb0cd8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 31723 Cc: 31723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000677628056dfb0cd8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 : > > From: Maxim Kim > > 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 =E2=80=98Hello WORLD...' row= : > > > > ;; To create a file, visit it with C-x C-f and enter text in its buffer= . > > <> > > Hello WORLD, this is barebone EMACS here. > > > > 5. press C-n to go-to =E2=80=98Hello WORLD=E2=80=99 row, cursor is on = =E2=80=98H' letter > > > > 6. invoke =E2=80=98next-logical-line' interactive command with M-x > > next-logical-line, your cursor will be on the second word of the > > next row (marked as <>): > > > > Hello WORLD, this is barebone EMACS here. > > And <>ext-logical-line function behaves strange when > > > > Without global-display-line-numbers-mode cursor moves to the same colum= n > > 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. > --000000000000677628056dfb0cd8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 Zar= etskii <eliz@gnu.org>:
> Fro= m: Maxim Kim <habamax@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 buffe= r.
>
> 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 =E2=80=98Hello WORLD...'= ; row:
>
> ;; To create a file, visit it with C-x C-f and enter text in its buffe= r.
> <<CURSOR ON COL 0>>
> Hello WORLD, this is barebone EMACS here.
>
> 5. press C-n to go-to =E2=80=98Hello WORLD=E2=80=99 row, cursor is on = =E2=80=98H' letter
>
> 6. invoke =E2=80=98next-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.

--000000000000677628056dfb0cd8-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 07:34:28 2018 Received: (at control) by debbugs.gnu.org; 21 Jun 2018 11:34:28 +0000 Received: from localhost ([127.0.0.1]:58280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVxrA-0003yP-87 for submit@debbugs.gnu.org; Thu, 21 Jun 2018 07:34:28 -0400 Received: from mail-it0-f46.google.com ([209.85.214.46]:38557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVxr9-0003y9-Nb for control@debbugs.gnu.org; Thu, 21 Jun 2018 07:34:27 -0400 Received: by mail-it0-f46.google.com with SMTP id v83-v6so4251973itc.3 for ; Thu, 21 Jun 2018 04:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=V3fJyRWpVciIgDaGeygQD5/2YlpRyuSGliKQIiWYTmA=; b=viIhENAjEn8M3XG1WDafHnubkQHpuigB5X3o39hx5H9Q08TlqC4mbTk5wKx1b7MwYg GASr7993o6GhQfN03xDsGM7og7WtUEL0scVd0TV7ny0poRiLMLUDnA6J2MVJZWDq+LHG rw1J4OUBE3gl04fOP6dTDb0jrYvbcRGuTjKLMyrXH6RB/K5OuwdjL/8sj6/vWq21AIMD RbouTl28l74XHnJ2kcj5LDvpkuD+eAUqFt61QAj3O4f5vnMUILUq3rkw11MGWX39ywzH EcAcL0iuLPZK6s6tpWXx/mtRpY4jWyF5t8dX0bctF2w5RE5tXkyZ1vCsEVOxAC+rAkL+ I22g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=V3fJyRWpVciIgDaGeygQD5/2YlpRyuSGliKQIiWYTmA=; b=I1XtgDlUkFAQvwUYBwmI8MsEPZOohey/eRqBQsGJBiJ3XRQ9JJvEHZjr03bmedhwM6 DYeTzi+dMbimfaclqdnKG2LsHSwzIdDzu8pKOBWg3E06mX+z6V2gQmLQGFEYUssTb3F9 mL7AtOAXtLUmgoA41hh9XrTexsB/eGpSzVugQ/GsgX3LtcMS2ll10wE+micAkX3XFpYw AyNgTdUMC/07rVSsl/H+hYcAYKxPiShipOMFNI1okULMsnhZ4K/bg7cDvuTBTKSzS/G5 2Vfgk+l5IY4NihjQOM4cj2trJm2K3+FItQSPIwUNBFFo+ic/GW4plgaXZUCbswUQcki1 OLXg== X-Gm-Message-State: APt69E1ut3b6vVB6HagINyitlBITEOrIjqIJjAFEBN0TwjrUtPYjs/B4 ZycDE+vrK3EnW9mnmtrBsJ6kKQ== X-Google-Smtp-Source: ADUXVKL5TjO+EX9JnQ8i80ZflZc3+nKo89HCp//QIgFIoj4nlsiQN7pdyF/FLKiujrOUe6HDTY1s+g== X-Received: by 2002:a02:8d66:: with SMTP id o35-v6mr21157313jal.80.1529580862260; Thu, 21 Jun 2018 04:34:22 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id a26-v6sm2194707ioh.51.2018.06.21.04.34.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jun 2018 04:34:21 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #31723 Date: Thu, 21 Jun 2018 07:34:20 -0400 Message-ID: <87vaacqsoz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) fixed 31723 26.2 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 01 20:27:09 2019 Received: (at control) by debbugs.gnu.org; 2 Apr 2019 00:27:09 +0000 Received: from localhost ([127.0.0.1]:40130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB7Ge-0004oj-S3 for submit@debbugs.gnu.org; Mon, 01 Apr 2019 20:27:09 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:33423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB7Gb-0004nm-R9 for control@debbugs.gnu.org; Mon, 01 Apr 2019 20:27:07 -0400 Received: by mail-qt1-f182.google.com with SMTP id k14so13288682qtb.0 for ; Mon, 01 Apr 2019 17:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=XtGrkFo67AVGlDlDTazrG9K6+J991hnzR3Z22+CDBGA=; b=itu8KRvXzGIuODxRQMq7pefi8gFM8apmORsATyRcJbkmGl5hRecaWtdnYEkQDeBWvX xUxQ4pwtdXPP+xbtZyEK9oG1hX+r0w6JyEf6nv6b5DxzEut13d+U5fijgImCFQIvIzfG snRMxXNhkdb1ZH/I9DYFvHjyEvqn3DJQilZmDxq/EvA3YRkcdRaf+gOHoblQwqYPnuSq nhu/x7Iv39iFLN9GuVJj3NaqFAjqzUMTGT5yOIyqfOAxC7bnzG+m3HUFoWRO4emyG6S+ k1DsQohACoNfKC0RCv4DMbBREkYVCPjHWmW6pB4i0sovZk3QKTAevkPDJLRHxM5pm+9E dSOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=XtGrkFo67AVGlDlDTazrG9K6+J991hnzR3Z22+CDBGA=; b=ixojlQbPjKOtu17y5sGr+/mEWlBtIEWyPCr4S/7ylzvJdffKy+lEFTUq8l8fkTbvIN 6PL6ekDMD93k/T+p93YLCZ9SksABSJnd2i5x+wiK0FLXkVOo9FgaYbHjm14FFJY1Nzrv bnWnF4irv/qRgiHad+iytmryRtKx6DIcBqDK/SdzU4u8dkzk0TqCEx9DCD/GBWrh18so qItwnC3uEHwlqT89ddENnm+sJYkgbtaWGd9mt241vuoZfMzZ1togCgytUHP9Sx7qeEgs enXGSz3DlC8ens4G56lwuwYttvrMNxHUKOQK2wBaJhRTvdt1fh9ZRklAQpM3ssNtJFQ3 VPfA== X-Gm-Message-State: APjAAAX+y39mLxngcNiKhBZmoYu0YbNKIdSOG6fnMKrvf3cAghfbkV0u mTLzRS38A58l/DA7RyE1+j1EZxt4 X-Google-Smtp-Source: APXvYqxg3wXOZcujf9EVx2Qsvan9w7ZzXQZbO+thydb4GkE25ZDfTb3mzXp9D+fFQN2jFjrjFO6s+Q== X-Received: by 2002:aed:2bc7:: with SMTP id e65mr46152974qtd.339.1554164820275; Mon, 01 Apr 2019 17:27:00 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id n188sm6352056qkb.40.2019.04.01.17.26.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 17:26:59 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #31723 Date: Mon, 01 Apr 2019 20:26:58 -0400 Message-ID: <87mul9gskt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 31723 26.2 quit From unknown Fri Aug 15 12:48:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 30 Apr 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator