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

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

why 4 inotfy events when saving a file?


From: Gregor Zattler
Subject: why 4 inotfy events when saving a file?
Date: Sun, 10 Mar 2013 22:44:42 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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
-- 
 -... --- .-. . -.. ..--.. ...-.-



reply via email to

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