all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: andlind@gmail.com
Subject: Re: No query at autorevert
Date: 24 May 2006 10:44:16 -0700	[thread overview]
Message-ID: <1148492656.752536.42900@u72g2000cwu.googlegroups.com> (raw)
In-Reply-To: <1148473426.007540.101090@i40g2000cwc.googlegroups.com>

Hi Flo!

Unfortunately, auto-revert mode always reverts without asking the user.

The problem with that kind of question is that a buffer can be reverted
at any time. This means that the user could be typing something when
the question would pop up (so that the question would be accidentally
answered), or that the minibuffer would be occupied so that the
question could not be asked.

A simpler solution for you would be to bind, say, F5 (the classical
reload key) to a function that would do revert on all buffers, with the
query enabled. (It should take only a few lines of lisp -- a good
beginners excercise.)

    -- Anders, the author of auto-revert mode.

      parent reply	other threads:[~2006-05-24 17:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24 12:23 No query at autorevert Florian Kaufmann
2006-05-24 15:39 ` Kevin Rodgers
2006-05-24 17:44 ` andlind [this message]

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=1148492656.752536.42900@u72g2000cwu.googlegroups.com \
    --to=andlind@gmail.com \
    /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.