bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35497: [PATCH] Don't rewrite buffer contents after saving by rename


From: Jonathan Tomer
Subject: bug#35497: [PATCH] Don't rewrite buffer contents after saving by rename
Date: Wed, 1 May 2019 12:56:35 -0700

On Wed, May 1, 2019 at 12:55 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Jonathan Tomer <jktomer@google.com>
> Date: Wed, 1 May 2019 12:29:42 -0700
> Cc: Michael Albinus <michael.albinus@gmx.de>, 35497@debbugs.gnu.org
>
> It's true that notifications are imperfect, but IMO they are the only possible way to test that particular invariant,

I'm not sure.  You could instead advise or hook write-region, and see
that it is not being called to write to the file, for example.
Wouldn't that be easier and more reliable?

Oh, of course -- that's quite a bit better. Thanks, will send a new patch in a moment. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]