GNU bug report logs -
#58964
28.2; `file-notify--handle-event` setting callback function to nil
Previous Next
Reported by: Alejandro Pérez Carballo <apc <at> umass.edu>
Date: Wed, 2 Nov 2022 12:42:02 UTC
Severity: normal
Tags: notabug
Found in version 28.2
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 58964 <at> debbugs.gnu.org (full text, mbox):
Alejandro Pérez Carballo <apc <at> umass.edu> writes:
Hi Alejandro,
> The following minimal configuration can be used to trigger the bug on my
> end, replacing “~/tmp/test.el” with a path to a file of your choice:
>
> (require 'filenotify)
> (require 'autorevert)
> (require 'subr-x)
> (global-auto-revert-mode)
>
> (save-window-excursion
> (find-file "~/tmp/test.el"))
>
> Once that’s loaded, calling this:
>
> (file-notify--handle-event (car (hash-table-keys file-notify-descriptors)) '(renamed attribute-changed deleted) (expand-file-name "~/tmp/test.el") nil)
>
> gives me an error
>
> file-notify--call-handler: Symbol’s function definition is void: nil
This is not a valid call of `file-notify--handle-event', see its
docstring how it shall be applied.
Furthermore, this function is an internal one which shouldn't be called
from outside filenotify.el. What's your use case for this?
Best regards, Michael.
This bug report was last modified 2 years and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.