From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#8366: wish: include vc-annotate-goto-line Date: Tue, 29 Mar 2011 10:47:35 +0200 Message-ID: <4D919CA7.5060108@gmx.at> References: <8762r3nus5.fsf@gilgamesch.quim.ucm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301391450 30986 80.91.229.12 (29 Mar 2011 09:37:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 09:37:30 +0000 (UTC) Cc: Uwe Brauer , 8366@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 11:37:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Q4VMa-00013k-Bl for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 11:37:24 +0200 Original-Received: from localhost ([127.0.0.1]:50959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4VMZ-0000uj-JU for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 05:37:23 -0400 Original-Received: from [140.186.70.92] (port=53883 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4VMN-0000sz-5E for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 05:37:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4VMM-0000vo-2m for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 05:37:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4VML-0000vk-Ur for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 05:37:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q4V2t-00011l-Hw; Tue, 29 Mar 2011 05:17:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2011 09:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8366 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8366-submit@debbugs.gnu.org id=B8366.13013901873885 (code B ref 8366); Tue, 29 Mar 2011 09:17:03 +0000 Original-Received: (at 8366) by debbugs.gnu.org; 29 Mar 2011 09:16:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4V2J-00010c-9u for submit@debbugs.gnu.org; Tue, 29 Mar 2011 05:16:27 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Q4V2G-00010P-Rl for 8366@debbugs.gnu.org; Tue, 29 Mar 2011 05:16:25 -0400 Original-Received: (qmail invoked by alias); 29 Mar 2011 09:16:18 -0000 Original-Received: from 62-47-60-40.adsl.highway.telekom.at (EHLO [62.47.60.40]) [62.47.60.40] by mail.gmx.net (mp009) with SMTP; 29 Mar 2011 11:16:18 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/SlWNpKaTSOUQk1iv+/uvts1pfI7r26gWf4g1SA8 qtDTeaZJLNvFk5 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 29 Mar 2011 05:17:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45462 Archived-At: > Annotate buffer may display a different version that the one of the > checked out file. E.g. because you have local uncommitted changes, or > because you asked for the annotations of an older revision. So line > numbers may not fully match. In general, there's no much we can do > about it, but we should probably try a bit harder than the above, > e.g. by looking for the closest line with the same text as the line > we're looking for. Better would be to ask for a diff between the > annotated revision and the current file and use it to find out the > line-offset to use (for those cases where this method works). I'm often in need for a general, customizable function for finding the best match of some text in two different buffers. For example, to get from a texinfo to an info buffer and vice-versa. Any advances in that direction would be very appreciated. martin