all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Kaushal <kaushal.modi@gmail.com>
Cc: 20441@debbugs.gnu.org
Subject: bug#20441: 24.5; Auto revert mode does not work
Date: Wed, 29 Apr 2015 21:26:17 +0200	[thread overview]
Message-ID: <87wq0u4tye.fsf@gmx.de> (raw)
In-Reply-To: <CAFyQvY0SwF9mcP=QjJ7LvuqZkO8MsPrX7E_JDtc6apY8L4dc2A@mail.gmail.com> (Kaushal's message of "Mon, 27 Apr 2015 21:01:19 +0000")

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	other threads:[~2015-04-29 19:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 18:18 bug#20441: 24.5; Auto revert mode does not work Kaushal
2015-04-27 20:48 ` Kaushal
2015-04-27 21:01   ` Kaushal
2015-04-29 19:26     ` Michael Albinus [this message]
2015-04-29 19:47       ` Kaushal
2015-04-29 20:54         ` Kaushal
2015-04-29 21:43           ` Michael Albinus
2015-04-30  0:08             ` Kaushal
2015-04-30  0:39               ` Kaushal
2015-05-01 14:11                 ` Kaushal
2015-05-01 16:33                   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wq0u4tye.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=20441@debbugs.gnu.org \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.