GNU bug report logs -
#78712
31.0.50; definition is void in file-notify
Previous Next
Reported by: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Date: Fri, 6 Jun 2025 10:21:02 UTC
Severity: normal
Tags: patch
Found in version 31.0.50
Fixed in version 31.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Full log
Message #20 received at 78712 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Al Haji-Ali <abdo.haji.ali <at> gmail.com> writes:
Hi,
> I got this.
>
> file-notify-handle-event (file-notify (61 (rename attrib delete) "[redacted-dir]/[redacted-filename]") file-notify--callback-kqueue)
> file-notify-callback 61 deleted "[redacted-dir]/[redacted-filename]" nil #s(file-notify--watch "[redacted-dir]" "[redacted-filename]" auto-revert-notify-handler) "[redacted-dir]/[redacted-filename]" "[redacted-dir]"
> file-notify-handle-event (file-notify (61 stopped "[redacted-dir]/[redacted-filename]") auto-revert-notify-handler) [2 times]
> file-notify-callback 61 attribute-changed "[redacted-dir]/[redacted-filename]" nil #s(file-notify--watch "[redacted-dir]" "[redacted-filename]" nil) "[redacted-dir]/[redacted-filename]" "[redacted-dir]"
> file-notify--call-handler: Symbol’s function definition is void: nil
>
> Note that while I tested my artificial code on 31.0.50, showing the error being thrown, the log above is reported from my daily Emacs 29.1.
> For various reasons I cannot update to the latest version for my daily Emacs and as I mentioned the error happens somewhat randomly, so my only real chance to catch it is in this emacsen.
Well, I haven't seen an action list (rename attrib delete) yet, but it
seems to be legitimate use.
I suppose the appended patch should fix it. It is assembled on top of
Emacs 31, but it should also apply on Emacs 29. Do you have a chance to
test it?
Best regards, Michael.
[Message part 2 (text/x-patch, attachment)]
This bug report was last modified 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.