all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 2652@emacsbugs.donarmstrong.com
Subject: bug#2652: 23.0.91; wacky behavior of "v" command in *vc-dir*  buffer
Date: Fri, 13 Mar 2009 10:05:15 +0900	[thread overview]
Message-ID: <fc339e4a0903121805w2f43323elc118cff4338d34d6@mail.gmail.com> (raw)
In-Reply-To: <200903130038.n2D0cuTj018433@godzilla.ics.uci.edu>

On Fri, Mar 13, 2009 at 9:38 AM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
>  > However, if "v" is used on a non-file line, the behavior is kind of
>  > weird:  It pops up a *vc-log* buffer, and allows you to enter a log
>  > message, but then typing C-c C-c (`log-edit-done') in the *vc-log*
>  > 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
     => (Git ("/home/miles/src/snogray/snogray/") nil nil nil)

The directory name there is the top-level source directory.

Thanks,

-Miles

-- 
Do not taunt Happy Fun Ball.






  reply	other threads:[~2009-03-13  1:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 23:58 bug#2652: 23.0.91; wacky behavior of "v" command in *vc-dir* buffer Miles Bader
2009-03-13  0:38 ` Dan Nicolaescu
2009-03-13  1:05   ` Miles Bader [this message]
2009-03-13  1:06     ` Miles Bader
2009-03-13  1:34     ` Dan Nicolaescu
2009-03-13  1:50       ` Miles Bader
2009-03-13  2:49         ` Miles Bader
2009-03-13  2:59           ` Miles Bader
2009-03-13  7:27             ` Dan Nicolaescu
2009-03-13  7:49               ` Miles Bader
2009-03-13 15:31                 ` Dan Nicolaescu
2009-03-13 16:22                 ` Dan Nicolaescu
2009-03-14 16:03                   ` Dan Nicolaescu
2009-03-15  2:09                     ` Stefan Monnier
2009-03-15  9:07                       ` Dan Nicolaescu
2009-03-23 16:37                       ` Dan Nicolaescu
2009-03-23 17:34                         ` Stefan Monnier
2009-04-13 17:02                       ` Dan Nicolaescu
2009-04-13 18:03                         ` Stefan Monnier
2009-03-15  2:30                     ` Miles Bader
2009-03-15  9:05                 ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc339e4a0903121805w2f43323elc118cff4338d34d6@mail.gmail.com \
    --to=miles@gnu.org \
    --cc=2652@emacsbugs.donarmstrong.com \
    --cc=dann@ics.uci.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.