From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: vc-diff vs cvs-mode-diff Date: Fri, 12 Mar 2004 13:14:41 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1079121016 25902 80.91.224.253 (12 Mar 2004 19:50:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Mar 2004 19:50:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 12 20:50:07 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1sfW-0007xe-00 for ; Fri, 12 Mar 2004 20:50:06 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1sfW-0007qZ-00 for ; Fri, 12 Mar 2004 20:50:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1rCF-0000sS-60 for emacs-devel@quimby.gnus.org; Fri, 12 Mar 2004 13:15:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B1rC8-0000rA-3u for emacs-devel@gnu.org; Fri, 12 Mar 2004 13:15:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B1rBb-0000kh-JB for emacs-devel@gnu.org; Fri, 12 Mar 2004 13:15:38 -0500 Original-Received: from [198.112.236.6] (helo=alphatech.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1rBb-0000kQ-50; Fri, 12 Mar 2004 13:15:07 -0500 Original-Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2CIEf8i021822; Fri, 12 Mar 2004 13:14:42 -0500 (EST) Original-To: Stefan Monnier X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never In-Reply-To: (Stefan Monnier's message of "12 Mar 2004 08:46:22 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20360 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20360 > * Stefan Monnier [2004-03-12 08:46:22 -0500]: > >> vc-diff (C-x v =) uses the foo.~ver~ backup file >> (vc-version-backup-file) to avoid network >> diffing when the file is available. >> cvs-mode-diff (= in *cvs* buffer) does not use this cache. >> why? > > Because it's two distinct pieces of code. The PCL-CVS code just blindly > runs `cvs diff '. Nobody has bothered to write the necessary code > to try and use the foo.~ver~ files when available. > > Patches accepted (so long as they aren't too ugly). how about moving vc-version-backup-file to vc-common.el and loading it into both pcvs and vc? (but then it gets hairy because pcvs operates on several files at a time) BTW, msvc build fails with this message: image.c(7468) : error C2065: 'PATH_BITMAPS' : undeclared identifier -- Sam Steingold (http://www.podval.org/~sds) running w2k My inferiority complex is not as good as yours.