all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: "Óscar Fuentes" <oscarfv@telefonica.net>
Cc: 14140@debbugs.gnu.org
Subject: bug#14140: 24.3.50; auto-revert-mode does not revert upon invocation
Date: Thu, 04 Apr 2013 20:45:03 +0200	[thread overview]
Message-ID: <87txnmnnio.fsf@gmx.de> (raw)
In-Reply-To: <87a9peqidb.fsf@telefonica.net> ("Óscar Fuentes"'s message of "Thu, 04 Apr 2013 20:08:00 +0200")

Ó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	other threads:[~2013-04-04 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 18:08 bug#14140: 24.3.50; auto-revert-mode does not revert upon invocation Óscar Fuentes
2013-04-04 18:45 ` Michael Albinus [this message]
2013-04-04 18:45 ` Eli Zaretskii
2013-04-04 19:10   ` Óscar Fuentes
2013-04-04 19:22     ` Michael Albinus
2013-04-05 10:22     ` Michael Albinus
2013-04-05 10:37       ` Óscar Fuentes
2013-04-05 10:48         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txnmnnio.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=14140@debbugs.gnu.org \
    --cc=oscarfv@telefonica.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.