all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* why 4 inotfy events when saving a file?
@ 2013-03-10 21:44 Gregor Zattler
  2013-03-10 22:09 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Gregor Zattler @ 2013-03-10 21:44 UTC (permalink / raw)
  To: help-gnu-emacs

Dear Emacs users and developers,

saving a file from Emacs gives 4 inotify events:

how to reproduce:

   on first terminal do:
      emacs-snapshot -nw -Q /tmp/inotify.test
      modify file
   
   
   on second terminal do
      inotifywait -m  -q --format '%e %w%f' /tmp/inotify.test
   
   
   on first terminal do 
      ^x^s (safe buffer)
   
   result on second terminal is:
      MODIFY /tmp/inotify.test
      OPEN /tmp/inotify.test
      MODIFY /tmp/inotify.test
      CLOSE_WRITE,CLOSE /tmp/inotify.test


why are there so many events?



This is with 
GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of
2013-03-04 on dex, modified by Debian



Thanx for your attention, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-12  3:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.21821.1362951956.855.help-gnu-emacs@gnu.org>
2013-03-11  0:59 ` why 4 inotfy events when saving a file? Barry Margolin
2013-03-10 21:44 Gregor Zattler
2013-03-10 22:09 ` Eli Zaretskii
2013-03-11 23:14   ` Gregor Zattler
2013-03-12  3:07     ` William Gardella
     [not found]   ` <mailman.21890.1363043748.855.help-gnu-emacs@gnu.org>
2013-03-12  2:21     ` B. T. Raven

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.