GNU bug report logs -
#44303
28.0.50; json-pretty-print-buffer creates spurious lock file
Previous Next
Reported by: Simen Heggestøyl <simenheg <at> runbox.com>
Date: Thu, 29 Oct 2020 10:01:02 UTC
Severity: normal
Found in version 28.0.50
Done: Simen Heggestøyl <simenheg <at> runbox.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>
> Cc: simenheg <at> runbox.com, 44303 <at> debbugs.gnu.org
> Date: Sun, 01 Nov 2020 13:06:00 +0100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > But we then have this:
> >
> > if (modification_hooks_inhibited)
> > {
> > signal_after_change (BEGV, size_a, ZV - BEGV);
> > update_compositions (BEGV, ZV, CHECK_INSIDE);
> > }
> >
> > Does this not work, or fail to unlock the file?
>
> This does not unlock the file in the test case.
Should be fixed now on master.
I wonder whether we should actually cherry-pick this to the release
branch. The original recipe doesn't trigger the problem there, but
that's because json-pretty-print-buffer does modify the buffer on
emacs-27. If it didn't, we'd probably have the same problem in Emacs
27.
Thoughts?
This bug report was last modified 4 years and 188 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.