GNU bug report logs - #53207
28.0.91; create-lockfiles nil breaks file change detection

Previous Next

Package: emacs;

Reported by: "Jay Berkenbilt" <ejb <at> ql.org>

Date: Wed, 12 Jan 2022 14:31:02 UTC

Severity: normal

Found in version 28.0.91

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rgm <at> gnu.org, larsi <at> gnus.org, ejb <at> ql.org, 53207 <at> debbugs.gnu.org
Subject: Re: bug#53207: 28.0.91; create-lockfiles nil breaks file change
 detection
Date: Sat, 29 Jan 2022 11:53:55 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi everybody,

>> > Michael, could you please suggest a patch along these lines?  The
>> > changeset which moved userlock--ask-user-about-supersession-threat
>> > into Flock_file and put that under the create-lockfiles condition was
>> > your change to support locking remote files.
>>
>> Will do. How urgent is this? I'd rather work on it tomorow.
>
> Tomorrow is fine, thanks.

I've pushed ddba3c3dba to the emacs-28 branch. Tested with

--8<---------------cut here---------------start------------->8---
# make -C test files-tests filelock-tests tramp-tests SELECTOR='"lock"'
--8<---------------cut here---------------end--------------->8---

for regression. I've tested also the recipe of the OP, it works now as
expected (like in Emacs 27.2).

The recipe of the OP does not work yet for remote files. I'll continue
to fix it, but this shouldn't stall the Emacs 28 release, because the
regression tests work also for them. I'll keep the bug open, until this
remote case has been fixed, too.

Feedback, whether it works as expected, most welcome.

Best regards, Michael.




This bug report was last modified 3 years and 106 days ago.

Previous Next


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