unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54091: Subject: 27.2; Seems Weird behavior of display-line-numbers
@ 2022-02-21 16:54 1041559871
  2022-02-21 18:40 ` Eli Zaretskii
  2022-02-22  4:07 ` bug#54091: Repair confirmed 1041559871
  0 siblings, 2 replies; 6+ messages in thread
From: 1041559871 @ 2022-02-21 16:54 UTC (permalink / raw)
  To: 54091

[-- Attachment #1: Type: text/plain, Size: 5299 bytes --]

From: nuil@ATop.i-did-not-set--mail-host-address--so-tickle-me
To: bug-gnu-emacs@gnu.org
Subject: 27.2; Seems Weird behavior of display-line-numbers
--text follows this line--

emacs quicklisp.lisp -Q
M-x hs-minor-mode
M-x hs-hide-all
M-x display-line-numbers-mode
M-g M-g 1011
C-e
Type some spaces here

The position of the current line number move right
You can access quicklisp.lisp from here:
https://www.quicklisp.org/beta/
or directly download this: https://beta.quicklisp.org/quicklisp.lisp



In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0)
 of 2022-02-14 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Gentoo/Linux

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
quicklisp.lisp has auto save data; consider M-x recover-this-file
Making completion list... [2 times]
Display-Line-Numbers mode enabled in current buffer
Hs minor mode enabled in current buffer
Hiding all blocks...done
Mark set
Making completion list... [2 times]

Configured using:
 'configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --datarootdir=/usr/share
 --disable-silent-rules --docdir=/usr/share/doc/emacs-27.2-r5
 --htmldir=/usr/share/doc/emacs-27.2-r5/html --libdir=/usr/lib64
 --program-suffix=-emacs-27 --includedir=/usr/include/emacs-27
 --infodir=/usr/share/info/emacs-27 --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --without-compress-install --without-hesiod --without-pop
 --with-file-notification=inotify --with-pdumper --enable-acl
 --with-dbus --without-modules --without-gameuser --with-libgmp
 --with-gpm --without-json --without-kerberos --without-kerberos5
 --with-lcms2 --without-xml2 --without-mailutils --without-selinux
 --with-gnutls --with-libsystemd --with-threads --without-wide-int
 --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf
 --without-gsettings --without-toolkit-scroll-bars --with-gif
 --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm
 --without-imagemagick --with-xft --with-cairo --without-harfbuzz
 --without-libotf --without-m17n-flt --with-x-toolkit=lucid --with-xaw3d
 --with-dumping=pdumper 'CFLAGS=-march=znver3 -O2 -pipe' CPPFLAGS=
 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--as-needed''

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GLIB NOTIFY
INOTIFY ACL GNUTLS FREETYPE ZLIB LUCID X11 XDBE XIM THREADS LIBSYSTEMD
PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix

Major mode: Lisp

Minor modes in effect:
  display-line-numbers-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  hs-minor-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq
byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
hideshow easymenu display-line-numbers tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer 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 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 threads dbusbind inotify lcms2 dynamic-setting
font-render-setting cairo x-toolkit x multi-tty make-network-process
emacs)

Memory information:
((conses 16 50454 8893)
 (symbols 48 6063 1)
 (strings 32 16345 2162)
 (string-bytes 1 519031)
 (vectors 16 9889)
 (vector-slots 8 129668 13694)
 (floats 8 22 282)
 (intervals 56 1169 4)
 (buffers 1000 13))

[-- Attachment #2: Type: text/html, Size: 5559 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54091: Subject: 27.2; Seems Weird behavior of display-line-numbers
  2022-02-21 16:54 bug#54091: Subject: 27.2; Seems Weird behavior of display-line-numbers 1041559871
@ 2022-02-21 18:40 ` Eli Zaretskii
  2022-02-21 19:33   ` Eli Zaretskii
  2022-02-22  4:07 ` bug#54091: Repair confirmed 1041559871
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-02-21 18:40 UTC (permalink / raw)
  To: 1041559871; +Cc: 54091

> From: "1041559871" <nuil@foxmail.com>
> Date: Tue, 22 Feb 2022 00:54:54 +0800
> 
> emacs quicklisp.lisp -Q
> M-x hs-minor-mode
> M-x hs-hide-all
> M-x display-line-numbers-mode
> M-g M-g 1011
> C-e
> Type some spaces here
> 
> The position of the current line number move right
> You can access quicklisp.lisp from here:
> https://www.quicklisp.org/beta/
> or directly download this: https://beta.quicklisp.org/quicklisp.lisp
> 
> In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0)
>  of 2022-02-14 built on localhost
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
> System Description: Gentoo/Linux

I seem to be unable to reproduce this, neither in Emacs 27.2 nor in
the current development sources.

What is the size (in lines) of your Emacs window that shows
quicklisp.lisp in this scenario?  That is, if you go to the beginning
of the buffer, what is the number of the last line visible on display?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54091: Subject: 27.2; Seems Weird behavior of display-line-numbers
  2022-02-21 18:40 ` Eli Zaretskii
@ 2022-02-21 19:33   ` Eli Zaretskii
  2022-02-21 20:14     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-02-21 19:33 UTC (permalink / raw)
  To: nuil; +Cc: 54091

> Date: Mon, 21 Feb 2022 20:40:53 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 54091@debbugs.gnu.org
> 
> I seem to be unable to reproduce this, neither in Emacs 27.2 nor in
> the current development sources.

I found a variant of this recipe where I do see the problem.  Stay
tuned.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54091: Subject: 27.2; Seems Weird behavior of display-line-numbers
  2022-02-21 19:33   ` Eli Zaretskii
@ 2022-02-21 20:14     ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2022-02-21 20:14 UTC (permalink / raw)
  To: nuil; +Cc: 54091

> Date: Mon, 21 Feb 2022 21:33:29 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 54091@debbugs.gnu.org
> 
> > Date: Mon, 21 Feb 2022 20:40:53 +0200
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: 54091@debbugs.gnu.org
> > 
> > I seem to be unable to reproduce this, neither in Emacs 27.2 nor in
> > the current development sources.
> 
> I found a variant of this recipe where I do see the problem.  Stay
> tuned.

Should be fixed now on the emacs-28 branch, please test.

Thanks.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54091: Repair confirmed
  2022-02-21 16:54 bug#54091: Subject: 27.2; Seems Weird behavior of display-line-numbers 1041559871
  2022-02-21 18:40 ` Eli Zaretskii
@ 2022-02-22  4:07 ` 1041559871
  2022-02-22 12:38   ` Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: 1041559871 @ 2022-02-22  4:07 UTC (permalink / raw)
  To: 54091

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

I have test the 28-branch, and it looks good to me. 

Thanks to your rapidly reply.

[-- Attachment #2: Type: text/html, Size: 180 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54091: Repair confirmed
  2022-02-22  4:07 ` bug#54091: Repair confirmed 1041559871
@ 2022-02-22 12:38   ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2022-02-22 12:38 UTC (permalink / raw)
  To: 1041559871; +Cc: 54091-done

> From: "1041559871" <nuil@foxmail.com>
> Date: Tue, 22 Feb 2022 12:07:04 +0800
> 
> I have test the 28-branch, and it looks good to me. 
> Thanks to your rapidly reply.

Thanks for testing, I'm therefore closing this bug.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-22 12:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 16:54 bug#54091: Subject: 27.2; Seems Weird behavior of display-line-numbers 1041559871
2022-02-21 18:40 ` Eli Zaretskii
2022-02-21 19:33   ` Eli Zaretskii
2022-02-21 20:14     ` Eli Zaretskii
2022-02-22  4:07 ` bug#54091: Repair confirmed 1041559871
2022-02-22 12:38   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).