From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [rant] Should reverting a buffer really discard undo history? Date: Fri, 03 Jun 2005 18:30:38 -0400 Message-ID: References: <87ll5w5vxa.fsf@wigwam.deepwood.net> <874qck8ky7.fsf-monnier+emacs@gnu.org> <200506012319.j51NJk3i012173@amrm2.ics.uci.edu> <87ll5tpsh9.fsf-monnier+emacs@gnu.org> <200506021810.j52IApKE007655@scanner2.ics.uci.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1117838145 1893 80.91.229.2 (3 Jun 2005 22:35:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2005 22:35:45 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 04 00:35:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DeKke-0003GQ-O5 for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2005 00:34:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeKqR-0001ur-87 for ged-emacs-devel@m.gmane.org; Fri, 03 Jun 2005 18:40:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DeKoD-0000VB-HI for emacs-devel@gnu.org; Fri, 03 Jun 2005 18:38:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DeKoA-0000Sx-Pk for emacs-devel@gnu.org; Fri, 03 Jun 2005 18:38:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeKo9-0000Pa-Tl for emacs-devel@gnu.org; Fri, 03 Jun 2005 18:38:29 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeKkG-0002Tj-M6 for emacs-devel@gnu.org; Fri, 03 Jun 2005 18:34:28 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DeKgY-0003Gi-Mw; Fri, 03 Jun 2005 18:30:38 -0400 Original-To: Dan Nicolaescu In-reply-to: <200506021810.j52IApKE007655@scanner2.ics.uci.edu> (message from Dan Nicolaescu on Thu, 02 Jun 2005 11:10:47 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38088 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38088 If saving undo after revert is not implemented/accepted would it be possible to avoid the revert if it is not needed after a commit? Wouldn't a (string= (md5 FILE) (md5 BUFFER)) be enough to avoid reverting? That sounds like a good idea.