GNU bug report logs - #79324
30.2; Cannot narrow news to a specific version more than once.

Previous Next

Package: emacs;

Reported by: tpeplt <at> gmail.com

Date: Wed, 27 Aug 2025 19:00:02 UTC

Severity: normal

Found in version 30.2

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

To reply to this bug, email your comments to 79324 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#79324; Package emacs. (Wed, 27 Aug 2025 19:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to tpeplt <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 27 Aug 2025 19:00:02 GMT) Full text and rfc822 format available.

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

From: tpeplt <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: 30.2; Cannot narrow news to a specific version more than once.
Date: Wed, 27 Aug 2025 14:59:14 -0400
Emacs Maintainers,

  In the NEWS file is the instruction:

  "You can narrow news to a specific version by calling
   'view-emacs-news' with a prefix argument or by typing 'C-u
   C-h C-n'."

It is possible to do this once to narrow to a specific
version, but once the narrowing has completed, it is not
possible to use the same command to switch to a different
version.

To reproduce:

  emacs -Q
  C-h n
  C-u C-h C-n
  
At the "Read NEWS for the version" prompt, enter a version
or accept the default.  Type C-u C-h C-n again and specify a
different *minor* version at the prompt (for example, from
30.1 to 30.2).  Note that the outlined version does not
change in the NEWS file.

This behavior also applies across different *major* versions
of Emacs.

   C-h n
   C-u C-h C-n
   Read NEWS for the version: 29.2 RET
   (NEWS for version 29.2 is displayed)

   C-u C-h C-n
   Read NEWS for the version: 30.2 RET
   (NEWS for version 30.1 is still displayed)

   C-u C-h C-n
   Read NEWS for the version: 29.1 RET
   (NEWS for version 29.2 is still displayed)


(It is not specified that this command can only be used once
and it is not specified that it can be used repeatedly, so
this behavior might be an error or it might not.  If it is
documented one way or the other, then that could eliminate
this ambiguity.)

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Aug 2025 10:48:02 GMT) Full text and rfc822 format available.

Notification sent to tpeplt <at> gmail.com:
bug acknowledged by developer. (Sat, 30 Aug 2025 10:48:02 GMT) Full text and rfc822 format available.

Message #10 received at 79324-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: tpeplt <at> gmail.com
Cc: 79324-done <at> debbugs.gnu.org
Subject: Re: bug#79324: 30.2;
 Cannot narrow news to a specific version more than once.
Date: Sat, 30 Aug 2025 13:47:28 +0300
> From: tpeplt <at> gmail.com
> Date: Wed, 27 Aug 2025 14:59:14 -0400
> 
> Emacs Maintainers,
> 
>   In the NEWS file is the instruction:
> 
>   "You can narrow news to a specific version by calling
>    'view-emacs-news' with a prefix argument or by typing 'C-u
>    C-h C-n'."
> 
> It is possible to do this once to narrow to a specific
> version, but once the narrowing has completed, it is not
> possible to use the same command to switch to a different
> version.
> 
> To reproduce:
> 
>   emacs -Q
>   C-h n
>   C-u C-h C-n
>   
> At the "Read NEWS for the version" prompt, enter a version
> or accept the default.  Type C-u C-h C-n again and specify a
> different *minor* version at the prompt (for example, from
> 30.1 to 30.2).  Note that the outlined version does not
> change in the NEWS file.
> 
> This behavior also applies across different *major* versions
> of Emacs.
> 
>    C-h n
>    C-u C-h C-n
>    Read NEWS for the version: 29.2 RET
>    (NEWS for version 29.2 is displayed)
> 
>    C-u C-h C-n
>    Read NEWS for the version: 30.2 RET
>    (NEWS for version 30.1 is still displayed)
> 
>    C-u C-h C-n
>    Read NEWS for the version: 29.1 RET
>    (NEWS for version 29.2 is still displayed)

Thanks, should be fixed now on the master branch.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79324; Package emacs. (Tue, 02 Sep 2025 23:16:02 GMT) Full text and rfc822 format available.

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

From: tpeplt <tpeplt <at> gmail.com>
To: 79324 <at> debbugs.gnu.org
Subject: Re: bug#79324: closed (Re: bug#79324: 30.2; Cannot narrow news to a
 specific version more than once.)
Date: Tue, 02 Sep 2025 19:15:25 -0400
help-debbugs <at> gnu.org (GNU bug Tracking System) writes:

>
> Your bug report
>
> #79324: 30.2; Cannot narrow news to a specific version more than once.
>
> 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 79324 <at> debbugs.gnu.org.
>
>
> Thanks, should be fixed now on the master branch.
>

Thank you.  Generally speaking, was the fix a change to the
documentation or a change to the behavior of the code?

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79324; Package emacs. (Wed, 03 Sep 2025 02:34:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: tpeplt <tpeplt <at> gmail.com>
Cc: 79324 <at> debbugs.gnu.org
Subject: Re: bug#79324: closed (Re: bug#79324: 30.2;
 Cannot narrow news to a specific version more than once.)
Date: Wed, 03 Sep 2025 05:33:19 +0300
> From: tpeplt <tpeplt <at> gmail.com>
> Date: Tue, 02 Sep 2025 19:15:25 -0400
> 
> help-debbugs <at> gnu.org (GNU bug Tracking System) writes:
> 
> >
> > Your bug report
> >
> > #79324: 30.2; Cannot narrow news to a specific version more than once.
> >
> > 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 79324 <at> debbugs.gnu.org.
> >
> >
> > Thanks, should be fixed now on the master branch.
> >
> 
> Thank you.  Generally speaking, was the fix a change to the
> documentation or a change to the behavior of the code?

The latter, of course.  It was a single forgotten call to 'widen',
because the implementation didn't consider the situation where the
NEWS file is already visited in Emacs and is narrowed.




This bug report was last modified 6 days ago.

Previous Next


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