From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69984: 30.0.50; missing "save-restriction" in flymake--update-eol-overlays Date: Thu, 28 Mar 2024 12:16:38 +0200 Message-ID: <86a5mihda1.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8555"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69984-done@debbugs.gnu.org To: Paul Nelson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 11:17:25 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rpmp1-00020V-Rb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 11:17:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpmoi-0007jG-Lg; Thu, 28 Mar 2024 06:17:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpmog-0007ic-SU for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:17:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpmog-0006jp-JT for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpmoh-0006j8-6J for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:17:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 69984 X-GNU-PR-Package: emacs Mail-Followup-To: 69984@debbugs.gnu.org, eliz@gnu.org, ultrono@gmail.com Original-Received: via spool by 69984-done@debbugs.gnu.org id=D69984.171162100925770 (code D ref 69984); Thu, 28 Mar 2024 10:17:02 +0000 Original-Received: (at 69984-done) by debbugs.gnu.org; 28 Mar 2024 10:16:49 +0000 Original-Received: from localhost ([127.0.0.1]:39135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpmoS-0006ha-V0 for submit@debbugs.gnu.org; Thu, 28 Mar 2024 06:16:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpmoR-0006hN-3l for 69984-done@debbugs.gnu.org; Thu, 28 Mar 2024 06:16:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpmoL-0006XR-2w; Thu, 28 Mar 2024 06:16:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2Jzvfpc2iT/IaImfBeXk4CZmILhUPifZDe3kUZ8NcEQ=; b=HYkhEDMfZE6D CAo2ueSgQjjPIWljFMxThxsLtZWCgQIOrMOlWbixU6/KYpI7fgR38HVJABHfVFxk1mmourjhE6B41 BAQ1uKkQms1sywx4fpN9BRLHaxMampEYF+lWPy8E5nOEf7GX4zdzVkI134mZGe3vddX41KwMzjsc3 tNrlNxMcMIeuWer6c0mKOmfHcJT7BdQ1jAegIyYOg7XMEaFTgf/Gbjm0VtK0BsL6apVhOxVYNShR8 QbB5NjBHRI0HmkoYzY40Q51bzVTSZh/8yXW15cBXerIEntxJ7NoDiWM3TdY4FImbqB0P3a0SaVedB UpMbr/jRPHXGcL/SUldmoA==; In-Reply-To: (message from Paul Nelson on Sun, 24 Mar 2024 18:59:48 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282206 Archived-At: > From: Paul Nelson > 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.