GNU bug report logs -
#14140
24.3.50; auto-revert-mode does not revert upon invocation
Previous Next
Reported by: Óscar Fuentes <oscarfv <at> telefonica.net>
Date: Thu, 4 Apr 2013 18:37: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
View this message in rfc822 format
Óscar Fuentes <oscarfv <at> telefonica.net> writes:
Hi Óscar,
> In a shell:
> $ echo hello > foo
> $ emacs -Q foo &
> $ echo bye > foo
>
> In Emacs:
> M-x auto-revert-mode
>
> <the buffer keeps showing "hello">
>
> In the past, after executing auto-revert-mode the buffer was reverted to
> the file's current contents. Nowadays, the buffer keeps showing the
> file's old contents until the file is modified again.
>
> This is obviously a bug because an unmodified buffer with
> auto-revert-mode enabled is supposed to show the current contents of its
> associated buffer.
auto-revert-mode uses file notifications now. In your scenario, no
notification reaches Emacs.
Likely, when *enabling* auto-revert-mode, it shall be checked whether
something has to be reverted initially. Will see (but not tonight,
rather tomorrow or over the weekend).
Best regards, Michael.
This bug report was last modified 12 years and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.