From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [patch] add interactive browse of revisions from vc *Annotate* buffers Date: 12 Jan 2004 12:06:28 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073902269 15630 80.91.224.253 (12 Jan 2004 10:11:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2004 10:11:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jan 12 11:11:01 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Afz2D-0006XS-00 for ; Mon, 12 Jan 2004 11:11:01 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Afz2C-0002Di-00 for ; Mon, 12 Jan 2004 11:11:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Afzy0-0000Ca-G6 for emacs-devel@quimby.gnus.org; Mon, 12 Jan 2004 06:10:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AfzwA-0007Zs-Rv for emacs-devel@gnu.org; Mon, 12 Jan 2004 06:08:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AfzvU-00073y-N8 for emacs-devel@gnu.org; Mon, 12 Jan 2004 06:08:40 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.24) id 1AfzvR-0006wI-Lb for emacs-devel@gnu.org; Mon, 12 Jan 2004 06:08:05 -0500 Original-Received: (qmail 26648 invoked from network); 12 Jan 2004 10:06:28 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 12 Jan 2004 10:06:28 -0000 Original-To: Benjamin Rutt In-Reply-To: Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19141 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19141 Benjamin Rutt writes: > I wrote this patch because I wanted to be able to browse forward and > backwards to prev and next revisions from vc.el *Annotate* buffers. > That way, I can see which member of my work group is responsible for > entering a particular line of a CVS-controlled file (it's sometimes > not enough to just vc-annotate a buffer, since sometimes users > reformat or reindent lines of source code that they didn't originally > write). This patch allows you, from a vc-annotate-mode buffer, to > press C-c C-p to go to the previous revision and C-c C-n to go to the > next revision. It's currently only implemented for CVS, since > vc-annotate is only implemented for CVS anyway. That is a very good feature indeed. Thanks! However, I would like an extension to this feature so that C-u C-c C-p would pick up the revision from the current line of the annotate buffer and annotate the previous revision to that revision, rather than the revision of the work file as such. This would make it easier to backtrack a specific change in case there are many (unrelated) revision in the file. -- Kim F. Storm http://www.cua.dk