GNU bug report logs -
#22859
25.0.91; Errors in auto-revert-notify-handler
Previous Next
Reported by: John Wiegley <johnw <at> gnu.org>
Date: Mon, 29 Feb 2016 20:34:01 UTC
Severity: normal
Found in version 25.0.91
Fixed in version 25.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
John Wiegley <jwiegley <at> gmail.com> writes:
Hi John,
> However, I'm not performing any file renames. Perhaps this is due to the
> renaming of files used when creating backups?
Yes.
> What code might be raising a rename enough without a rename target?
> From a cursory inspection, it looks like it might be the file
> notification logic?
Yes, it is file notification. The kqueue backend is inferior compared to
the other backends. In case of a file rename, it reports only the source
file name. The other backends report also the target file name.
I've fixed this by propagating a `deleted' event upwards in such
cases. autorevert falls back to the polling mode, as it should. If you
want to avoid this effect, you might set `backup-by-copying' to t.
Could you, pls, check whether the patch works for you? I've pushed it to
the emacs-25 branch.
Best regards, Michael.
This bug report was last modified 9 years and 126 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.