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

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

bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files


From: Eli Zaretskii
Subject: bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba
Date: Fri, 25 Jan 2013 15:44:54 +0200

> Date: Fri, 25 Jan 2013 12:19:20 +0100
> From: Dani Moncayo <dmoncayo@gmail.com>
> Cc: michael.albinus@gmx.de, 13540@debbugs.gnu.org
> 
> >> If the file is stored locally, it breaks two times when the file being
> >> watched is updated (I have to type `c' two times).
> >
> > How did you "update the file", exactly?  I just type something like
> >
> >   echo "foo" >> FILE
> >
> > This results in only one notification, not two.  Maybe your update
> > method causes the file to be modified twice in a row.
> 
> If I update the file that way (echo "foo" >> FILE), I get a single
> break like you, but I get two breaks in these cases:
> * Doing [echo "foo" > FILE] (i.e. replacing the file entirely).
> * Updating the file using notepad.
> * Updating the file using another instance of Emacs.

That's expected: you get one notification when the file is shrunk to
zero size (this happens when the application opens the file for
writing), and then again when the new contents is written to it.





reply via email to

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