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

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

bug#14140: 24.3.50; auto-revert-mode does not revert upon invocation


From: Michael Albinus
Subject: bug#14140: 24.3.50; auto-revert-mode does not revert upon invocation
Date: Thu, 04 Apr 2013 20:45:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Óscar Fuentes <oscarfv@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.





reply via email to

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