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

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

Re: No query at autorevert


From: andlind
Subject: Re: No query at autorevert
Date: 24 May 2006 10:44:16 -0700
User-agent: G2/0.2

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.



reply via email to

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