From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.bugs Subject: bug#2652: 23.0.91; wacky behavior of "v" command in *vc-dir* buffer Date: Fri, 13 Mar 2009 10:05:15 +0900 Message-ID: References: <87iqmemgyi.fsf@catnip.gol.com> <200903130038.n2D0cuTj018433@godzilla.ics.uci.edu> Reply-To: Miles Bader , 2652@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236907447 5193 80.91.229.12 (13 Mar 2009 01:24:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2009 01:24:07 +0000 (UTC) Cc: 2652@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 13 02:25:23 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 1Lhw9G-0004ef-Ih for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Mar 2009 02:25:19 +0100 Original-Received: from localhost ([127.0.0.1]:53548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhw7u-00082F-L0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Mar 2009 21:23:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhw7q-00081H-7S for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21:23:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhw7l-0007z2-UL for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21:23:49 -0400 Original-Received: from [199.232.76.173] (port=39639 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhw7l-0007yg-Hx for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21:23:45 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36113) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lhw7k-0007zK-Ox for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 21:23:45 -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 n2D1Nf3U000649; Thu, 12 Mar 2009 18:23:41 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2D1A4vv029652; Thu, 12 Mar 2009 18:10:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Miles Bader Original-Sender: snogglethorpe@gmail.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 13 Mar 2009 01:10: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.123690632529438 (code B ref 2652); Fri, 13 Mar 2009 01:10:04 +0000 Original-Received: (at 2652) by emacsbugs.donarmstrong.com; 13 Mar 2009 01:05:25 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-ew0-f176.google.com (mail-ew0-f176.google.com [209.85.219.176]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2D15LGn029432 for <2652@emacsbugs.donarmstrong.com>; Thu, 12 Mar 2009 18:05:23 -0700 Original-Received: by ewy24 with SMTP id 24so2372597ewy.1 for <2652@emacsbugs.donarmstrong.com>; Thu, 12 Mar 2009 18:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=yK3kjBQBxN0LcborLkuCewZtTJ1MrjUcd3naIR8JJGI=; b=BBwOM3J7QdJo6rpRvzcLxHIY/5oWzfB7EZ1Cd08wb7Joi+aJS7o8nXY2oA7ykGOAvL Ce70h8RfxnXMtZ4qvGJF76OpS71tWvGmlVtroof6upkciR1xNmeJykbMbCQTmShLB5Lq zwGsVJzLK44xcNOE5XRzgQAzRApTc6L0dILd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=TVZV/x74dHC/4mv2giFbI1XZJhllWB59GMuNpSHLzOZvZZhPoJZnd3DEGDJqz9OyQd 4plq3IQIAFUa9arxezSqTQLgmJU1iQcSOcY2jcRQuukiYn7blDfVy0zYIMgEoYLIungy 9Y3ENfaFtshUqotrsFLHGGLv3LKqp56q3sAfE= Original-Received: by 10.216.47.196 with SMTP id t46mr381417web.121.1236906315989; Thu, 12 Mar 2009 18:05:15 -0700 (PDT) In-Reply-To: <200903130038.n2D0cuTj018433@godzilla.ics.uci.edu> X-Google-Sender-Auth: 0a6dd1d2248c5ce6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 12 Mar 2009 21:23:49 -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:26274 Archived-At: On Fri, Mar 13, 2009 at 9:38 AM, Dan Nicolaescu wrote: > =A0> However, if "v" is used on a non-file line, the behavior is kind of > =A0> weird: =A0It pops up a *vc-log* buffer, and allows you to enter a lo= g > =A0> message, but then typing C-c C-c (`log-edit-done') in the *vc-log* > =A0> buffer to finish the commit results in an error: > > Can you please provide a way to reproduce this starting from emacs -Q? (1) cd to a source directory that uses git for source management (2) start emacs: emacs -Q -nw (3) modify any source file in that dir, e.g., add a new line "Hello" to a README or something (4) Start vc-dir: M-x vc-dir RET RET (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. (6) Without moving the cursor, try to commit: v (7) Enter a log message and submit: Oink OINK RET (8) You should get the error I mentioned > What is the output of: > M-: (vc-deduce-fileset) RET > before you press "v" ? M-: (vc-deduce-fileset) RET =3D> (Git ("/home/miles/src/snogray/snogray/") nil nil nil) The directory name there is the top-level source directory. Thanks, -Miles --=20 Do not taunt Happy Fun Ball.