From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.devel Subject: Re: [patch] add interactive browse of revisions from vc *Annotate* buffers Date: Tue, 20 Jan 2004 15:10:51 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <1073937837.2822.180.camel@localhost> <1074519239.10692.24.camel@localhost> <87u12rbrlf.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074638572 26527 80.91.224.253 (20 Jan 2004 22:42:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2004 22:42:52 +0000 (UTC) Cc: Kai Grossjohann , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jan 20 23:42:38 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 1Aj4Zy-0002il-00 for ; Tue, 20 Jan 2004 23:42:38 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aj4Zx-0005KL-01 for ; Tue, 20 Jan 2004 23:42:38 +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 1Aj2g8-0000L5-3M for emacs-devel@quimby.gnus.org; Tue, 20 Jan 2004 15:40:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aj2fx-0000Jx-Pl for emacs-devel@gnu.org; Tue, 20 Jan 2004 15:40:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Aj2UN-0006ds-P4 for emacs-devel@gnu.org; Tue, 20 Jan 2004 15:29:15 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Aj2EP-0002ob-PI for emacs-devel@gnu.org; Tue, 20 Jan 2004 15:12:13 -0500 Original-Received: from [164.107.123.5] (helo=cis.ohio-state.edu) by mx20.gnu.org with esmtp (Exim 4.24) id 1Aj2DC-000061-Rk for emacs-devel@gnu.org; Tue, 20 Jan 2004 15:10:59 -0500 Original-Received: from mu.cis.ohio-state.edu (daemon@mu.cis.ohio-state.edu [164.107.112.41]) by cis.ohio-state.edu (8.11.6p2-20030924/8.11.6) with ESMTP id i0KKApP08856; Tue, 20 Jan 2004 15:10:51 -0500 (EST) Original-Received: (from rutt@localhost) by mu.cis.ohio-state.edu (8.11.6p2-20030924/8.11.6) id i0KKApI06359; Tue, 20 Jan 2004 15:10:51 -0500 (EST) X-Authentication-Warning: mu.cis.ohio-state.edu: rutt set sender to rutt.4@osu.edu using -f Original-To: Stefan Monnier Mail-Followup-To: Stefan Monnier , Kai Grossjohann , emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "20 Jan 2004 13:26:14 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) 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:19366 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19366 Stefan Monnier writes: > Another thing you might want to do is to look at the context rather > than just buffer positions. This works as long as the text around > point hasn't changed much. Or to go a step further do a diff > between the old buffer and the new, so that if point was in a part > of the tex that's unchanged, you can find the exact same spot and > other wise, you can estimate where to go. But maybe this is way > overkill ;-) ? Wow, I guess that would be superior, but I don't feel it's worth all the time spent debugging it and looking at the pathological cases for me to do it...if someone else wants to, though, please do. > Maybe you're lucky to work on small files whose RCS archive is > stored locally, but at least in my situation `vc-annotate' is a > command that only use when nothing else works because it takes ages > to show up, so I don't see the point in having short keybindings for > revision-navigation and don't see the point either is saving you > from hitting C-e to display the other half of the buffer. Do you mind if I implement column preservation? (In other words, do you need a variable `vc-annotate-warp-preserve-column' so you can set it to nil?) I believe column preservation is useful, and will save me time since I plan on using the annotate browse often. (Most of my files are of average size, I guess, but I often develop using CVS over ssh where the remote host is one network hop away, so it's still quite fast in that case). -- Benjamin