GNU bug report logs - #69984
30.0.50; missing "save-restriction" in flymake--update-eol-overlays

Previous Next

Package: emacs;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Sun, 24 Mar 2024 18:01:01 UTC

Severity: normal

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69984 in the body.
You can then email your comments to 69984 AT debbugs.gnu.org in the normal way.

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#69984; Package emacs. (Sun, 24 Mar 2024 18:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Nelson <ultrono <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 24 Mar 2024 18:01:02 GMT) Full text and rfc822 format available.

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

From: Paul Nelson <ultrono <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; missing "save-restriction" in flymake--update-eol-overlays
Date: Sun, 24 Mar 2024 18:59:48 +0100
Hi,

This seems like an obvious "one-word" bug ("save-excursion" should be
"save-restriction"), so I'll be brief, but please let me know if more
details would be helpful.

Steps to reproduce: when using flymake with
flymake-show-diagnostics-at-end-of-line set to t in a narrowed buffer,
the narrowing goes away after a couple updates.

I traced this down to the function noted in the subject.  Changing
save-restriction to save-excursion fixed the bug for me.

Thanks, best,

Paul




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 28 Mar 2024 10:17:03 GMT) Full text and rfc822 format available.

Notification sent to Paul Nelson <ultrono <at> gmail.com>:
bug acknowledged by developer. (Thu, 28 Mar 2024 10:17:03 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Nelson <ultrono <at> gmail.com>
Cc: 69984-done <at> debbugs.gnu.org
Subject: Re: bug#69984: 30.0.50;
 missing "save-restriction" in flymake--update-eol-overlays
Date: Thu, 28 Mar 2024 12:16:38 +0200
> From: Paul Nelson <ultrono <at> gmail.com>
> Date: Sun, 24 Mar 2024 18:59:48 +0100
> 
> Hi,
> 
> This seems like an obvious "one-word" bug ("save-excursion" should be
> "save-restriction"), so I'll be brief, but please let me know if more
> details would be helpful.
> 
> Steps to reproduce: when using flymake with
> flymake-show-diagnostics-at-end-of-line set to t in a narrowed buffer,
> the narrowing goes away after a couple updates.
> 
> I traced this down to the function noted in the subject.  Changing
> save-restriction to save-excursion fixed the bug for me.

Thanks, I've changed that to save-restriction on the master branch,
and I'm therefore closing this bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Apr 2024 11:25:58 GMT) Full text and rfc822 format available.

This bug report was last modified 8 days ago.

Previous Next


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