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: Thu, 12 Mar 2009 18:34:12 -0700 (PDT) Message-ID: <200903130134.n2D1YCFF018782@godzilla.ics.uci.edu> References: <87iqmemgyi.fsf@catnip.gol.com> <200903130038.n2D0cuTj018433@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=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236908642 7529 80.91.229.12 (13 Mar 2009 01:44:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2009 01: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 02: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 1LhwSb-0000fr-CC for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Mar 2009 02:45:17 +0100 Original-Received: from localhost ([127.0.0.1]:44769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhwRF-0006wU-IC for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Mar 2009 21:43:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhwRB-0006w1-39 for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21:43:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhwR6-0006v1-Lk for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21:43:48 -0400 Original-Received: from [199.232.76.173] (port=43822 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhwR6-0006uw-CP for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21:43:44 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40904) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhwR5-0004qi-RY for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21: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 n2D1hfKS005617; Thu, 12 Mar 2009 18:43:41 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2D1e4gg004550; Thu, 12 Mar 2009 18:40:04 -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 01:40:04 +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.12369080653189 (code B ref 2652); Fri, 13 Mar 2009 01:40:04 +0000 Original-Received: (at 2652) by emacsbugs.donarmstrong.com; 13 Mar 2009 01:34:25 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2D1YN2k003176 for <2652@emacsbugs.donarmstrong.com>; Thu, 12 Mar 2009 18:34:24 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n2D1YCj5016157; Thu, 12 Mar 2009 18:34:12 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n2D1YCFF018782; Thu, 12 Mar 2009 18:34:12 -0700 (PDT) In-Reply-To: (Miles Bader's message of "Fri, 13 Mar 2009 10:05:15 +0900") Original-Lines: 40 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n2D1YCj5016157 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: Thu, 12 Mar 2009 21: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:26276 Archived-At: Miles Bader writes: > On Fri, Mar 13, 2009 at 9:38 AM, Dan Nicolaescu wrot= e: > > =C2=A0> However, if "v" is used on a non-file line, the behavior is k= ind of > > =C2=A0> weird: =C2=A0It pops up a *vc-log* buffer, and allows you to = enter a log > > =C2=A0> message, but then typing C-c C-c (`log-edit-done') in the *vc= -log* > > =C2=A0> buffer to finish the commit results in an error: > > > > Can you please provide a way to reproduce this starting from emacs -Q? >=20 > (1) cd to a source directory that uses git for source management >=20 > (2) start emacs: emacs -Q -nw >=20 > (3) modify any source file in that dir, e.g., add a new line "Hello" > to a README or something >=20 > (4) Start vc-dir: M-x vc-dir RET RET >=20 > (5) In the *vc-dir* buffer, you'll see the file you modified listed; > the cursor should be initially positioned on the first line of the > buffer, i.e., not on any source file. >=20 > (6) Without moving the cursor, try to commit: v >=20 > (7) Enter a log message and submit: Oink OINK RET >=20 > (8) You should get the error I mentioned >=20 > > What is the output of: > > M-: (vc-deduce-fileset) RET > > before you press "v" ? >=20 > M-: (vc-deduce-fileset) RET > =3D> (Git ("/home/miles/src/snogray/snogray/") nil nil nil) Ah, git. Then is probably the same as bug#1589. vc-git.el has problems with working with subdirectories.=20 Do you get this error when you run vc-dir at the top of the git tree?