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

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

bug#21435: 25.0.50; file-notify has problems after renames


From: Eli Zaretskii
Subject: bug#21435: 25.0.50; file-notify has problems after renames
Date: Mon, 21 Sep 2015 10:54:18 +0300

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: tsdh@gnu.org,  21435@debbugs.gnu.org
> Date: Mon, 21 Sep 2015 08:25:58 +0200
> 
> However, as said I have extended the test case a little bit. There are
> now set-file-times and set-file-modes calls, which shall result in
> attribute-changed events. And those events shall be suppressed, because
> we start file notifications with (file-notify-add-watch ... '(change) ...)
> 
> How does w32notify report attribute changes?

As documented: it returns 'modified'.

> Could you, please, call (trace-output 'file-notify-handle-event) and
> rerun file-notify-test02-events?

The trace for one run is below:

======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 added ".#-emacsa05544") 
file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
".#-emacsa05544") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-from 
".#-emacsa05544") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-to 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 added 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 removed 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 removed 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 added ".#-emacsa05544") 
file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
".#-emacsa05544") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-from 
".#-emacsa05544") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-to 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 added 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 removed 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 added 
"file-notify-test35884xN") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test35884xN") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test35884xN") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test35884xN") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 removed 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 removed 
"file-notify-test35884xN") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 added ".#-emacsa05544") 
file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
".#-emacsa05544") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-from 
".#-emacsa05544") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-to 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 added 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 removed 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-from 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 renamed-to 
"file-notify-test35884xN") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 removed 
"file-notify-test35884xN") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
".#-emacsa05544") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
".#file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil
======================================================================
1 -> (file-notify-handle-event (file-notify (100268128 modified 
"file-notify-test3588rnH") file-notify-callback))
1 <- file-notify-handle-event: nil





reply via email to

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