From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andre Spiegel Newsgroups: gmane.emacs.devel Subject: Re: 4 minor suggestions for files.el Date: 18 Apr 2003 15:24:20 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1050672259.633.14.camel@localhost> References: <200304142022.h3EKMHRu026814@rum.cs.yale.edu> <200304172139.h3HLdBvK009948@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050672372 23119 80.91.224.249 (18 Apr 2003 13:26:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2003 13:26:12 +0000 (UTC) Cc: Stefan Monnier Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 18 15:26:11 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 196VsZ-00060d-00 for ; Fri, 18 Apr 2003 15:26:11 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 196Vvt-0003s9-00 for ; Fri, 18 Apr 2003 15:29:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196VrM-0003kG-0B for emacs-devel@quimby.gnus.org; Fri, 18 Apr 2003 09:24:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 196Vqv-0003Ld-00 for emacs-devel@gnu.org; Fri, 18 Apr 2003 09:24:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196Vqq-00037L-00 for emacs-devel@gnu.org; Fri, 18 Apr 2003 09:24:26 -0400 Original-Received: from [194.73.242.5] (helo=wmpmta03-app.mail-store.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196Vqq-000329-00; Fri, 18 Apr 2003 09:24:24 -0400 Original-Received: from [10.0.1.2] ([217.235.31.191]) by wmpmta03-app.mail-store.com with ESMTP <20030418132421.CCSR14488.wmpmta03-app.mail-store.com@[10.0.1.2]>; Fri, 18 Apr 2003 14:24:21 +0100 Original-To: emacs-devel@gnu.org In-Reply-To: X-Mailer: Ximian Evolution 1.2.4 Original-cc: rms@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13283 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13283 On Fri, 2003-04-18 at 13:28, Richard Stallman wrote: > I think I understand now--it treats the insert-file operation as an > ordinary undoable buffer change. > > Spiegel, is that really the right thing to do in VC? VC does a revert-buffer after each version control operation, so that changes in version headers are picked up. If I understand correctly, the revert-buffer would be undoable. This may be confusing because the actual version control operation would not be undone. After undoing the revert-buffer, the version headers would no longer correspond to the version control state of the file. If the feature is perceived generally useful, I think VC ought to clear the undo list by itself in each version control operation.