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: Finding the source of Change Log entries Date: Sun, 27 Jul 2008 14:47:14 -0700 Message-ID: <200807272147.m6RLlFV8026089@sallyv1.ics.uci.edu> References: <48787A1F.1080105@gmx.at> <200807141400.m6EE0xmj015645@sallyv1.ics.uci.edu> <487E2D58.1030304@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217195314 22421 80.91.229.12 (27 Jul 2008 21:48:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2008 21:48:34 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 27 23:49:23 2008 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.50) id 1KNE7G-0001Y4-N8 for ged-emacs-devel@m.gmane.org; Sun, 27 Jul 2008 23:49:23 +0200 Original-Received: from localhost ([127.0.0.1]:52402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNE6L-0002uH-CE for ged-emacs-devel@m.gmane.org; Sun, 27 Jul 2008 17:48:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNE6F-0002t7-JW for emacs-devel@gnu.org; Sun, 27 Jul 2008 17:48:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNE6D-0002sv-RR for emacs-devel@gnu.org; Sun, 27 Jul 2008 17:48:19 -0400 Original-Received: from [199.232.76.173] (port=41660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNE6D-0002ss-ML for emacs-devel@gnu.org; Sun, 27 Jul 2008 17:48:17 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]:36133) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KNE6C-0006c5-Ig for emacs-devel@gnu.org; Sun, 27 Jul 2008 17:48:17 -0400 X-ICS-MailScanner-Watermark: 1217800036.35059@FMWH2KZl/j+na4o8C7ST3A Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m6RLlFV8026089; Sun, 27 Jul 2008 14:47:15 -0700 (PDT) Original-Lines: 19 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:101603 Archived-At: martin rudalics writes: > > When using "C-x 4 a", maybe an overlay with a property pointing to the > > source file/linenumber can be inserted over the ChangeLog text. Then > > C-c C-c could be more precise in finding the exact location from where > > "C-x 4 a" was initially called. > > I do not understand well why you want to do that. If C-c C-c can't find > the position it's either a bug in `add-change-log-entry-other-window' or > in my code. If the bug is with the latter I have to fix it. If the bug > is with the former, you have to write your entry manually and creating > the overlay can hardly be done automatically. Can you give me a more or > less practical scenario where such overlays would be useful? Sorry, for the late reply. Sure, C-c C-c will find the beginning of a function. If the function is long, it would be better to go directly to the point of the change. Not sure that it would make enough of a difference to make it worth it, but it might...