From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Updating *vc-dir* marks from *VC-log* Date: Sat, 20 Nov 2010 23:46:40 -0500 Message-ID: References: <19688.28312.768696.349949@rgr.rgrjr.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1290314815 12744 80.91.229.12 (21 Nov 2010 04:46:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 04:46:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bob Rogers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 21 05:46:51 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PK1pC-0003n8-OV for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 05:46:50 +0100 Original-Received: from localhost ([127.0.0.1]:55848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PK1pC-0002iK-7I for ged-emacs-devel@m.gmane.org; Sat, 20 Nov 2010 23:46:50 -0500 Original-Received: from [140.186.70.92] (port=45889 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PK1p6-0002hy-23 for emacs-devel@gnu.org; Sat, 20 Nov 2010 23:46:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PK1p4-00013R-Od for emacs-devel@gnu.org; Sat, 20 Nov 2010 23:46:43 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PK1p4-00013N-M2 for emacs-devel@gnu.org; Sat, 20 Nov 2010 23:46:42 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PK1p2-0000Ot-Mc; Sat, 20 Nov 2010 23:46:40 -0500 In-Reply-To: <19688.28312.768696.349949@rgr.rgrjr.com> (Bob Rogers's message of "Sat\, 20 Nov 2010 19\:58\:00 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132943 Archived-At: Bob Rogers 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?