unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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
[parent not found: <mailman.21821.1362951956.855.help-gnu-emacs@gnu.org>]

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 --
2013-03-10 21:44 why 4 inotfy events when saving a file? 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
     [not found] <mailman.21821.1362951956.855.help-gnu-emacs@gnu.org>
2013-03-11  0:59 ` Barry Margolin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).