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.

Full log


View this message in rfc822 format

From: Paul Nelson <ultrono <at> gmail.com>
To: 69984 <at> debbugs.gnu.org
Subject: bug#69984: 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




This bug report was last modified 1 year and 58 days ago.

Previous Next


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