From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#2652: 23.0.91; wacky behavior of "v" command in *vc-dir* buffer Date: Fri, 13 Mar 2009 00:27:17 -0700 (PDT) Message-ID: <200903130727.n2D7RHBI020896@godzilla.ics.uci.edu> References: <87iqmemgyi.fsf@catnip.gol.com> <200903130038.n2D0cuTj018433@godzilla.ics.uci.edu> <200903130134.n2D1YCFF018782@godzilla.ics.uci.edu> Reply-To: Dan Nicolaescu , 2652@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236930242 17779 80.91.229.12 (13 Mar 2009 07:44:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2009 07:44:02 +0000 (UTC) Cc: 2652@emacsbugs.donarmstrong.com To: Miles Bader Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 13 08:45:18 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Li24z-0001zf-8X for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Mar 2009 08:45:17 +0100 Original-Received: from localhost ([127.0.0.1]:34697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Li23d-0005ts-DL for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Mar 2009 03:43:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Li23Z-0005tn-UY for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 03:43:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Li23U-0005sv-Fp for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 03:43:48 -0400 Original-Received: from [199.232.76.173] (port=57271 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Li23U-0005ss-Bz for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 03:43:44 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40995) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Li23T-0004n5-Sq for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 03:43:44 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2D7hfXJ032125; Fri, 13 Mar 2009 00:43:41 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2D7Z3QI029790; Fri, 13 Mar 2009 00:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 13 Mar 2009 07:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2652 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2652-submit@emacsbugs.donarmstrong.com id=B2652.123692925428487 (code B ref 2652); Fri, 13 Mar 2009 07:35:03 +0000 Original-Received: (at 2652) by emacsbugs.donarmstrong.com; 13 Mar 2009 07:27:34 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2D7RU04028479 for <2652@emacsbugs.donarmstrong.com>; Fri, 13 Mar 2009 00:27:31 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id n2D7RIkp009632; Fri, 13 Mar 2009 00:27:18 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n2D7RHBI020896; Fri, 13 Mar 2009 00:27:17 -0700 (PDT) In-Reply-To: (Miles Bader's message of "Fri, 13 Mar 2009 11:59:31 +0900") Original-Lines: 40 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n2D7RIkp009632 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 13 Mar 2009 03:43:48 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26288 Archived-At: Miles Bader writes: > Here's a script to create an appropriate git repo for testing: > > #!/bin/sh > cd /tmp > rm -rf zonk > mkdir zonk > cd zonk > git init > echo plugh > ppling > git add . > git commit -m'Init' -a > echo Fnord >> ppling > > Put that in a file, say "/tmp/mkbugrepo" and execute it with the shell > to make the repo, e.g.: sh /tmp/mkbugrepo > > Now you can start emacs like: > > (cd /tmp/zonk; HOME=/tmp \emacs -nw -Q ) > > and continue with the rest of the bug recipe: > > M-x vc-dir RET RET > v > Blargh RET C-c C-c > Thanks. The immediate cause of the problem is that (vc-git-registered "/tmp/zonk/") returns nil. vc-git-registered is called because vc-finish-log-entry does a `vc-call'. `vc-call' tries to find the corresponding VC backend. Now, the VC backend should be know known at point when the log entry is started, so there should be no need for the vc-call, vc-call-backend could be used...