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

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

bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-m


From: Paul Eggert
Subject: bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled
Date: Sun, 28 May 2017 11:21:33 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

Andreas Politz wrote:
For that I used the posted function, added a watch to the /tmp directory
and noticed that the problematic behavior occured, if any one of those
flags (open/close/access) were added.

I couldn't reproduce the problem with the current master (commit 288b3ca). That is, I ran src/emacs -Q with this:

M-x load-file RET sfp-test.el RET
M-x global-auto-revert-mode RET
M-x start-file-process-test RET
(inotify-add-watch "/tmp" 'open (lambda (event) (message "event %s" event))) 
C-x C-e
M-x start-file-process-test RET

Both instances of start-file-process-test did "process done!" before "sleeping done!", which I gather is what is wanted.





reply via email to

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