all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: <miha@kamnitnik.top>
Cc: 55578@debbugs.gnu.org
Subject: bug#55578: 29.0.50; auto-revert-use-notify vs 'git checkout -- <file>'
Date: Tue, 24 May 2022 20:09:46 +0200	[thread overview]
Message-ID: <877d6aol91.fsf@gmx.de> (raw)
In-Reply-To: <87bkvmom1m.fsf@gmx.de> (Michael Albinus's message of "Tue, 24 May 2022 19:52:37 +0200")

Michael Albinus <michael.albinus@gmx.de> writes:

Hi,

> What we could implement is a mechanism, which checks while polling,
> whether file notifications could be instantiated instead. This does not
> need to be restricted to the case, that the file was deleted and then
> created, again. It could be activated for any auto-revert polling
> activitiy, and it must be an opt-in to be configured by the user. Or at
> least restricted to use cases where it would make sense, like monitoring
> a git repository. For example a minor mode `auto-revert-restart-notify-mode'.

Oops, I've just retested. Looks like we have already this. While
polling, auto-revert-buffer checks already whether it could
(re-)activate file notification for that file.

So there's nothing left to do, right?

Best regards, Michael.





  reply	other threads:[~2022-05-24 18:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-22 17:18 bug#55578: 29.0.50; auto-revert-use-notify vs 'git checkout -- <file>' miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-24 12:02 ` Michael Albinus
2022-05-24 15:58   ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-24 17:52     ` Michael Albinus
2022-05-24 18:09       ` Michael Albinus [this message]
2022-06-29 13:38         ` 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=877d6aol91.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=55578@debbugs.gnu.org \
    --cc=miha@kamnitnik.top \
    /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.