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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 55810 <at> debbugs.gnu.org
Subject: bug#55810: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp
Date: Sun, 05 Jun 2022 22:04:50 +0200
Jim Porter <jporterbugs <at> gmail.com> writes:

> 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.

I can reproduce this in Emacs 28.1, but not on the emacs-28 branch
(i.e., what will become Emacs 28.2).  Would it be possible for you to
test with that branch?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.