From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#12001: 24.1.50; vc-diff always talks to CVS repository Date: Sun, 19 Aug 2012 18:29:58 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1345415460 15892 80.91.229.3 (19 Aug 2012 22:31:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2012 22:31:00 +0000 (UTC) Cc: 12001@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 20 00:31:00 2012 Return-path: Envelope-to: geb-bug-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 1T3E1I-0004BA-OK for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Aug 2012 00:30:56 +0200 Original-Received: from localhost ([::1]:48371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3E1H-0006hM-Ee for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Aug 2012 18:30:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3E1F-0006h6-31 for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 18:30:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3E1E-0005zH-3U for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 18:30:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3E1D-0005z2-Vt for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 18:30:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T3E1N-000300-KA for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 18:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Aug 2012 22:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12001 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12001-submit@debbugs.gnu.org id=B12001.134541541611478 (code B ref 12001); Sun, 19 Aug 2012 22:31:01 +0000 Original-Received: (at 12001) by debbugs.gnu.org; 19 Aug 2012 22:30:16 +0000 Original-Received: from localhost ([127.0.0.1]:38960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3E0c-0002z3-2d for submit@debbugs.gnu.org; Sun, 19 Aug 2012 18:30:16 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:47606) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3E0X-0002yt-BZ for 12001@debbugs.gnu.org; Sun, 19 Aug 2012 18:30:10 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1T3E0M-0003mj-08; Sun, 19 Aug 2012 18:29:58 -0400 In-reply-to: (message from Andreas Schwab on Sat, 21 Jul 2012 10:01:06 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63306 Archived-At: > I cannot reproduce that. When the vc backup file for the current > revision exists, vc-diff uses it as the base. > What is the "vc backup file"? How can I tell whether it exists? See vc-version-backup-file-name. They are created the first time the modified file is saved. This is not happening for me when I edit the Emacs sources. The reason seems to be that (vc-call-backend backend 'make-version-backups-p file) does nothing, because it calls vc-default-make-version-backups-p which always returns nil. This is because (get 'Bzr 'vc-functions) returns the following: ((make-version-backups-p vc-default-make-version-backups-p . Bzr) (checkout-model . vc-bzr-checkout-model) (registered . vc-bzr-registered) (find-file-hook . vc-bzr-find-file-hook) (working-revision . vc-bzr-working-revision) (state-heuristic . vc-bzr-state-heuristic) (mode-line-string vc-default-mode-line-string . Bzr)) Indeed, vc-bzr-make-version-backups-p is not defined. Should it be? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call