unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Nelson <ultrono@gmail.com>
Cc: 69984-done@debbugs.gnu.org
Subject: bug#69984: 30.0.50; missing "save-restriction" in flymake--update-eol-overlays
Date: Thu, 28 Mar 2024 12:16:38 +0200	[thread overview]
Message-ID: <86a5mihda1.fsf@gnu.org> (raw)
In-Reply-To: <CAOA-32Mnt7FMOLND_8wbZ-_6_VDS=Fn95efuMxEtnUhSO3xY0A@mail.gmail.com> (message from Paul Nelson on Sun, 24 Mar 2024 18:59:48 +0100)

> From: Paul Nelson <ultrono@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.





      reply	other threads:[~2024-03-28 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24 17:59 bug#69984: 30.0.50; missing "save-restriction" in flymake--update-eol-overlays Paul Nelson
2024-03-28 10:16 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a5mihda1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=69984-done@debbugs.gnu.org \
    --cc=ultrono@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).