GNU bug report logs - #55810
28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Sun, 5 Jun 2022 18:45:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Porter <jporterbugs <at> gmail.com>
Subject: bug#55810: closed (Re: bug#55810: 28.1; No "really edit the
 buffer?" prompt when editing a changed file over Tramp)
Date: Tue, 07 Jun 2022 04:24:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#55810: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp

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 55810 <at> debbugs.gnu.org.

-- 
55810: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55810
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Porter <jporterbugs <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 55810-done <at> debbugs.gnu.org
Subject: Re: bug#55810: 28.1; No "really edit the buffer?" prompt when editing
 a changed file over Tramp
Date: Mon, 6 Jun 2022 21:23:46 -0700
On 6/6/2022 1:15 AM, Michael Albinus wrote:
>> CC'ing Michael here. Maybe the easy solution is just to bump the GNU
>> ELPA version of Tramp to 2.5.3 or something, and then package.el will
>> recognize it as newer than what ships with 28.1.
> 
> Tramp 2.5.3 is scheduled for release later this month. Whether it will
> go to GNU ELPA, or Tramp 2.6.0 (also to be released) is not decided yet.

Sounds good. That should resolve this issue then. Closing.

[Message part 3 (message/rfc822, inline)]
From: Jim Porter <jporterbugs <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.1; No "really edit the buffer?" prompt when editing a changed file
 over Tramp
Date: Sun, 5 Jun 2022 11:43:44 -0700
To see this in action:

  $ cat file.txt
  hi

  $ emacs -Q
  C-x C-f /ssh:localhost:~/file.txt

  $ echo bye >> file.txt

Back in Emacs, type anything into the buffer. It should ask, "file.txt 
changed on disk; really edit the buffer?" However, it doesn't. (It does 
still provide a warning you when you save though.)

Note: this used to work in Emacs 27, and works again in Emacs 29, but 
Emacs 28 fails.

Strangely, I updated Tramp from GNU ELPA and the bug went away, but only 
until I restarted Emacs; then it returned. I haven't had time to try and 
reliably reproduce this part though, so that might just be a coincidence.



This bug report was last modified 2 years and 348 days ago.

Previous Next


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