From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: andlind@gmail.com Newsgroups: gmane.emacs.help Subject: Re: No query at autorevert Date: 24 May 2006 10:44:16 -0700 Organization: http://groups.google.com Message-ID: <1148492656.752536.42900@u72g2000cwu.googlegroups.com> References: <1148473426.007540.101090@i40g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1148496035 13317 80.91.229.2 (24 May 2006 18:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 May 2006 18:40:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 24 20:40:34 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FiyHU-0001pf-Da for geh-help-gnu-emacs@m.gmane.org; Wed, 24 May 2006 20:40:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiyHT-000393-Vz for geh-help-gnu-emacs@m.gmane.org; Wed, 24 May 2006 14:40:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 83.226.135.230 Original-X-Trace: posting.google.com 1148492662 10113 127.0.0.1 (24 May 2006 17:44:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 24 May 2006 17:44:22 +0000 (UTC) In-Reply-To: <1148473426.007540.101090@i40g2000cwc.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: u72g2000cwu.googlegroups.com; posting-host=83.226.135.230; posting-account=uOQc6g0AAACCJWjPRj2ClLPk-xr8Fazb Original-Xref: shelby.stanford.edu gnu.emacs.help:139608 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35231 Archived-At: 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.