GNU bug report logs - #28879
26.0.90; Narrowed line numbers shown with display-line-numbers-widen

Previous Next

Package: emacs;

Reported by: Andy Moreton <andrewjmoreton <at> gmail.com>

Date: Tue, 17 Oct 2017 20:41:01 UTC

Severity: normal

Found in version 26.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andy Moreton <andrewjmoreton <at> gmail.com>
Subject: bug#28879: closed (Re: bug#28879: 26.0.90; Narrowed line numbers
 shown with display-line-numbers-widen)
Date: Wed, 18 Oct 2017 17:59:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#28879: 26.0.90; Narrowed line numbers shown with display-line-numbers-widen

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 28879 <at> debbugs.gnu.org.

-- 
28879: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28879
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Andy Moreton <andrewjmoreton <at> gmail.com>
Cc: 28879-done <at> debbugs.gnu.org
Subject: Re: bug#28879: 26.0.90;
 Narrowed line numbers shown with display-line-numbers-widen
Date: Wed, 18 Oct 2017 20:57:56 +0300
> From: Andy Moreton <andrewjmoreton <at> gmail.com>
> Date: Wed, 18 Oct 2017 18:39:12 +0100
> 
> > Should be fixed now.  Thanks for reporting this.
> 
> Confirmed fixed.

Thanks, closing.

[Message part 3 (message/rfc822, inline)]
From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.90; Narrowed line numbers shown with display-line-numbers-widen
Date: Tue, 17 Oct 2017 21:40:16 +0100
From emacs -Q:
1) Open a lisp file
   (setq display-line-numbers-widen t)
   M-x display-line-numbers-mode
2) Move point inside a function
   M-x narrow-to-defun
3) M-x widen

After (2) the window shows line numbers relative to the start of
the buffer, as expected.

After (3), the window shows line numbers starting from 1 for the
narrowed region. After the next mouse or keyboard input, the line
numbers are displayed normally.

Thus it seems that when display-line-numbers-widen is non-nil the line
numbers are not recomputed after widen until then next input.

In GNU Emacs 26.0.90 (build 9, x86_64-w64-mingw32)
 of 2017-10-17 built on QUIETUS
Repository revision: 2e1b3522b8562f94a98fed07aeddb6b5ba0dbc6c




This bug report was last modified 7 years and 271 days ago.

Previous Next


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