GNU bug report logs - #72696
Track-changes errors out when file is overwritten using Node.js's fs.writeFile (at least on macOS)

Previous Next

Package: emacs;

Reported by: Dario Gjorgjevski <dario.gjorgjevski <at> gmail.com>

Date: Sun, 18 Aug 2024 11:00:01 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 72696 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72696 <at> debbugs.gnu.org, dario.gjorgjevski <at> gmail.com,
 João Távora <joaotavora <at> gmail.com>
Subject: Re: bug#72696: Track-changes errors out when file is overwritten
 using Node.js's fs.writeFile (at least on macOS)
Date: Fri, 20 Sep 2024 14:46:43 -0400
>> You can go ahead and merge it.  I dont' know what it does
>> but i trust Stefan.
> Thanks.  Stefan, please install on the emacs-30 branch.

Thanks, done.

> I agree with your general feeling, and I think this case might belong
> to those pre-existing failures which track-changes uncovers.

FWIW, I think this bug was one that I introduced when changing Eglot to
use track-changes (basically, because track-changes does its own
"buffering" in addition to the one Eglot does in
`eglot--recent-changes`, and I forgot to flush that buffer when
`eglot--recent-changes` is flushed).


        Stefan





This bug report was last modified 299 days ago.

Previous Next


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