GNU bug report logs - #13540
24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 24 Jan 2013 08:56:01 UTC

Severity: normal

Found in version 24.3.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #89 received at 13540 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: michael.albinus <at> gmx.de, 13540 <at> debbugs.gnu.org
Subject: Re: 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 <at> gmail.com>
> Cc: michael.albinus <at> gmx.de, 13540 <at> 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.




This bug report was last modified 12 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.