bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20441: 24.5; Auto revert mode does not work


From: Michael Albinus
Subject: bug#20441: 24.5; Auto revert mode does not work
Date: Wed, 29 Apr 2015 21:26:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hi,

first of all, it might be interesting to know whether file notifications
do work at all on your system. What is the value of `file-notify--library'?
I suppose it is 'gfilenotify.

Could you, please, perform the following forms then:

(require 'filenotify)
(defun my-notify-callback (event)
  (message "Event %S" event))
(file-notify-add-watch
  "/tmp" '(change attribute-change) 'my-notify-callback)
(write-region "foo" nil "/tmp/foo")
(write-region "bla" nil "/tmp/foo")
(set-file-modes "/tmp/foo" (default-file-modes))

Tell, whether you see related messages in the *Messages* buffer.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]