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

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

bug#22454: 24.5; win32 file-notify, input events caused by updates to ot


From: Eli Zaretskii
Subject: bug#22454: 24.5; win32 file-notify, input events caused by updates to other (non-watched) files
Date: Sun, 24 Jan 2016 19:13:51 +0200

> Date: Sun, 24 Jan 2016 11:46:14 -0500
> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Cc: 22454-done@debbugs.gnu.org
> 
> On Sun, Jan 24, 2016 at 10:20 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > When you ask to watch a file, file-notify-add-watch actually watches
> > the entire directory of that file
> 
> Oh.  In this case I thought it was only files beneath .git/ that were
> being changed (while we we are watching a file in the working copy),
> but (trace-function 'file-notify-callback) tells me that Emacs is
> receiving events about the .git/ directory.

Adding or deleting files inside .git/ modifies that directory on
MS-Windows, so I think that's what you see.

> Ok, sounds like there is nothing to fix on the Emacs side, so I'm closing 
> this.

Thanks.





reply via email to

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