From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Reverting but keeping undo Date: Fri, 31 May 2013 14:08:38 -0400 Organization: A noiseless patient Spider Message-ID: References: <87mwrwede7.fsf@wanadoo.es> <878v2w8g3t.fsf@web.de> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370024041 27105 80.91.229.3 (31 May 2013 18:14:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 May 2013 18:14:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 31 20:14:02 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UiTpy-0005eL-2s for geh-help-gnu-emacs@m.gmane.org; Fri, 31 May 2013 20:14:02 +0200 Original-Received: from localhost ([::1]:34452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiTpx-0002z4-LH for geh-help-gnu-emacs@m.gmane.org; Fri, 31 May 2013 14:14:01 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="2668"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jLlOLiVk6kfw1o0caqpId" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:71m8bnDZ0UUYox7q7oIX5q3wgqo= Original-Xref: usenet.stanford.edu gnu.emacs.help:198942 X-Mailman-Approved-At: Fri, 31 May 2013 14:13:25 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91209 Archived-At: In article , Dan Espen wrote: > Michael Heerdegen writes: > > I wonder why this prompt for confirmation was implemented. I mean, you > > seldom will type M-x revert-buffer RET by accident... If it's of no use > > and everybody hates it, we should indeed consider to remove it, at least > > for the interactive case. > > I always assumed it was because you were losing your undo history > making the action one that could not be reversed (undone). That seems likely. Hence, with revert now undoable, there's not as much reason for the prompt. Removing the prompt could potentially mess up saved keyboard macros. But it seems to me that revert-buffer is an extremely unlikely command to appear in a macro. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***