GNU bug report logs - #22557
25.0.90; Saving a buffer under auto-revert turns off file notifications

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Thu, 4 Feb 2016 18:35:01 UTC

Severity: normal

Found in version 25.0.90

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

Bug is archived. No further changes may be made.

Full log


Message #25 received at 22557-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 22557-done <at> debbugs.gnu.org
Subject: Re: bug#22557: 25.0.90;
 Saving a buffer under auto-revert turns off file notifications
Date: Sun, 07 Feb 2016 20:56:37 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> I've committed a patch to the emacs-25 branch, which shall fix
>> this.
>
> It does, thanks.

So I'm closing the bug.

>> There is also a new test file-notify-test07-backup for this
>> problems. W/o the fix in filenotify.el, this test failed. Now it
>> succeeds for me.
>
> It fails for me on w32, I need 2 changed events, not one.  If this is
> surprising, I can investigate more.

As said, there are good chances that I'll have access to an MS Windows
machine next week; I'll run all tests there.

I have seen with inotify that I'll get a changed and then an
attribute-changed event; the attribute-changed event is suppressed in
the test.

On MS Windows, there are no attribute-changed events IIUC; they are sent
also as changed events. Therefore, you see two changed events. This is
also the case in other tests, see the comments in
file-notify-test02-events. I'll try to verify this, and adjust the
expected events for file-notify-test07-backup on MS Windows.

Best regards, Michael.




This bug report was last modified 9 years and 165 days ago.

Previous Next


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