emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating *vc-dir* marks from *VC-log*


From: Dan Nicolaescu
Subject: Re: Updating *vc-dir* marks from *VC-log*
Date: Sat, 20 Nov 2010 23:46:40 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Bob Rogers <address@hidden> writes:

>    Perhaps I'm slow, but I only just noticed that it is possible to work
> on multiple VC commits for the same working copy in parallel, just by
> renaming *VC-log* buffers.  This is cool; it perfectly suits my working
> style.  I would like to write it up for the Emacs manual so that others
> can find it.
>
>    But it lacks something.  I often start a commit, then realize that
> I've left out a file or two, or maybe included one that ought to be
> committed separately.  When doing one commit at a time, this is a simple
> matter of returning to vc-dir, updating the set, and doing "C-x v v"
> again.  With multiple pending commits, what is needed is a way to return
> to vc-dir and "swap in" the log buffer fileset.  The patch below adds a
> new log-edit-visit-files-in-vc-dir command to do this.  I have
> tentatively bound it to "C-c @" in log-edit-mode, which I hope is
> sufficiently mnemonic for "mark".

I am not sure what you are trying to do here...
In the *VC log* buffer the vc-parent-buffer buffer-local variable
points to the *vc dir* buffer that was used to create it.
Doesn't this simplify what you are trying to do?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]