all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Aaron Zeng" <z@bcc32.com>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: 71424@debbugs.gnu.org
Subject: bug#71424: 29.3; auto-revert-use-notify buggy interaction with indirect buffers
Date: Sat, 08 Jun 2024 11:30:08 -0400	[thread overview]
Message-ID: <01d36245-763b-43e8-93f8-679f176fedd0@app.fastmail.com> (raw)
In-Reply-To: <86h6e3ex13.fsf@gnu.org>

On Sat, Jun 8, 2024, at 03:03, Eli Zaretskii wrote:

> To see that at least the basic functionality works in Emacs, I did the
> following:
>
>   emacs -Q
>   C-x C-f SOME-FILE RET
>   M-x global-auto-revert-mode RET
>   M-x clone-indirect-buffer RET
>
> Then, outside Emacs, typed from the shell prompt
>
>   $ cat OTHER-FILE >> SOME-FILE
>
> where OTHER-FILE is some other existing file.  After that, I saw both
> the base buffer's text and that of its indirect clone change to
> reflect the appended text.

Indeed, while the indirect buffer is live, everything works fine.  However, after you kill the indirect buffer, then the buffer no longer gets auto-reverted when you modify SOME-FILE outside Emacs.

> So my conclusion is that the Subject of your bug report is not
> accurate: the auto-revert feature does work with indirect buffers as
> expected.  Which is why I think this might be an Org specific issue,
> since org-tree-to-indirect-buffer does more than just create an
> indirect buffer.

Good point.  I didn't know about M-x clone-indirect-buffer ("If I had more time, I would have written a shorter letter", etc.).

Thanks for your quick reply.





  reply	other threads:[~2024-06-08 15:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-08  4:44 bug#71424: 29.3; auto-revert-use-notify buggy interaction with indirect buffers z
2024-06-08  4:46 ` bug#71424: Aaron Zeng
2024-06-08  7:03 ` bug#71424: 29.3; auto-revert-use-notify buggy interaction with indirect buffers Eli Zaretskii
2024-06-08 15:30   ` Aaron Zeng [this message]
2024-06-08 16:27     ` Eli Zaretskii
2024-06-08 16:57       ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-08 17:44         ` Eli Zaretskii
2024-06-10 11:15           ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-08 17:06       ` Aaron Zeng
2024-06-08 17:45         ` Eli Zaretskii

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=01d36245-763b-43e8-93f8-679f176fedd0@app.fastmail.com \
    --to=z@bcc32.com \
    --cc=71424@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.