GNU bug report logs - #65904
29.1.50; autorevert can't revert files in a symlink directory

Previous Next

Package: emacs;

Reported by: Zhang Haijun <ccsmile2008 <at> outlook.com>

Date: Wed, 13 Sep 2023 04:01:02 UTC

Severity: wishlist

Merged with 16113, 18883, 64061

Found in versions 24.3.50, 24.4, 29.1.50, 30.0.50

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: zhanghj <ccsmile2008 <at> outlook.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 65904 <at> debbugs.gnu.org
Subject: Re: bug#65904: 29.1.50; autorevert can't revert files in a symlink
 directory
Date: Tue, 19 Sep 2023 09:18:58 +0200
zhanghj <ccsmile2008 <at> outlook.com> writes:

Hi,

> I tried your patch on GNU/Linux. It works as you said(the same as in
> Emacs 26/27 now). I will try it on macOS later.

Thanks for the check. On macOS, inotify isn't used, so the change
wouldn't work.

> I have added some debug message and see that without this patch, the
> `filenotiy' also watch the file but `autorevert.el` can't receives
> events for the test file. After applying the patch, it can receive
> events for the test file. It seems that the patch is not harmful. Can
> you apply it in Emacs 29?

As said, there is the idea to support symlinked files/directories in
general. Once this is implemented, the proposed change for inotify will
be installed.

> Thanks.

Best regards, Michael.




This bug report was last modified 1 year and 268 days ago.

Previous Next


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