From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Finding the source of Change Log entries Date: Wed, 27 Aug 2008 13:37:08 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <868wuii9t7.fsf@lifelogs.com> References: <48787A1F.1080105@gmx.at> <873amfm9xj.fsf@stupidchicken.com> <86y7443784.fsf@lifelogs.com> <87y744jfnc.fsf@jurta.org> <6161f3180807142323w75acebb1m503d7754a5500cfa@mail.gmail.com> <87d4lf8n8h.fsf@jurta.org> <863ambxkl8.fsf@lifelogs.com> <87lk027umv.fsf@jurta.org> <86r693l2u5.fsf@lifelogs.com> <87wsi6gc37.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219861955 19899 80.91.229.12 (27 Aug 2008 18:32:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2008 18:32:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 27 20:33:29 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 1KYPpW-0002KM-R9 for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2008 20:33:19 +0200 Original-Received: from localhost ([127.0.0.1]:37991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYPoY-0000xI-JH for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2008 14:32:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYPoU-0000x8-Oj for emacs-devel@gnu.org; Wed, 27 Aug 2008 14:32:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYPoS-0000w3-Ab for emacs-devel@gnu.org; Wed, 27 Aug 2008 14:32:13 -0400 Original-Received: from [199.232.76.173] (port=57385 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYPoS-0000w0-4m for emacs-devel@gnu.org; Wed, 27 Aug 2008 14:32:12 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:55486 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYPoR-0000Oc-V8 for emacs-devel@gnu.org; Wed, 27 Aug 2008 14:32:12 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KYPoM-0006GD-SR for emacs-devel@gnu.org; Wed, 27 Aug 2008 18:32:06 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Aug 2008 18:32:06 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Aug 2008 18:32:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:MJnXiQMgLlY/WA7OZJpi3P6sd+o= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:103035 Archived-At: On Mon, 25 Aug 2008 18:43:48 +0300 Juri Linkov wrote: >>>> When change-log-find-tag is available in CVS (it's not checked in yet), >>>> I'll write this glue code if there are no other objections. >> JL> IIUC, change-log-find-tag is already in CVS, but with a different name, JL> it was renamed to change-log-goto-source for consistency with JL> diff-goto-source. >> >> change-log-mode now supports next-error. JL> I noticed one difference comparing with the standard behavior of JL> next-error. In ChangeLog files it doesn't switch to the source JL> buffer: after calling `next-error', point stays in the ChangeLog buffer JL> instead of using pop-to-buffer to switch to the source buffer. Unfortunately I think making that change would have broken `change-log-goto-source', so I run an extra `find-file' after `change-log-goto-source'. Take a look and see if it works for you. It may be more appropriate with find-file-other-window to keep the ChangeLog visible. JL> Also I think it is more useful to navigate by entries instead of file names, JL> (i.e. using change-log-start-entry-re instead of change-log-file-names-re). I had that originally, but it's very common to have multi-file commits and visiting each file proved (to me) to be useful. Remember, this is to visit the file referenced in the ChangeLog, not the ChangeLog entry itself. We can have the behavior customizable if you like to visit just entries. Ted