From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Finding the source of Change Log entries Date: Tue, 15 Jul 2008 00:57:51 +0300 Organization: JURTA Message-ID: <87d4lgkuig.fsf@jurta.org> References: <48787A1F.1080105@gmx.at> <873amfm9xj.fsf@stupidchicken.com> <4879BDF7.6060705@gmx.at> <87zlolv3d8.fsf@jurta.org> <487B111B.9030300@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216073107 31324 80.91.229.12 (14 Jul 2008 22:05:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jul 2008 22:05:07 +0000 (UTC) Cc: Chong Yidong , emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 15 00:05:44 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 1KIWAB-0000xI-Pb for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2008 00:04:56 +0200 Original-Received: from localhost ([127.0.0.1]:41053 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIW9J-0002cs-Ng for ged-emacs-devel@m.gmane.org; Mon, 14 Jul 2008 18:04:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIW8Y-00022m-9x for emacs-devel@gnu.org; Mon, 14 Jul 2008 18:03:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIW8W-00022G-Qg for emacs-devel@gnu.org; Mon, 14 Jul 2008 18:03:13 -0400 Original-Received: from [199.232.76.173] (port=56303 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIW8W-00022D-IW for emacs-devel@gnu.org; Mon, 14 Jul 2008 18:03:12 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:63421) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KIW8V-0008H5-Um for emacs-devel@gnu.org; Mon, 14 Jul 2008 18:03:12 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1KIW8U-0006Pm-0v; Tue, 15 Jul 2008 01:03:10 +0300 In-Reply-To: <487B111B.9030300@gmx.at> (martin rudalics's message of "Mon, 14 Jul 2008 10:40:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 308c5668300cb665e09cc4617523e4c8 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 4315 [July 15 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) 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:100699 Archived-At: >> One thing that doesn't work yet is visiting >> a file that has no tag, i.e. >> >> * filename.el: File-level changes. >> >> Instead of visiting it, `C-c C-c' visits the previous file that has >> a tag. Of course, `C-c C-f' is available to visit a file, but it is >> not convenient to switch between different keys to do the same thing, >> and also `C-c C-f' has a different behavior: it visits a file in the >> same window unlike `C-c C-c'. >> >> It seems the best thing to do would be searching backward for a tag and >> a file name at the same. This may require joining two separate functions >> that search a tag or a file name into one function. > > If I understand my code correctly I first search for a tag (backward and > forward) and as soon as I found one I search for the first file name > preceding the tag. Now if I find another file name in between the > position of the tag and `point' I could go to `point-min' in that file > instead. Is it that what you mean? I mean rather the following case: * window.el (truncated-partial-width-window-p): New function. * menu-bar.el: Remove Longlines mode from menu. Add word-wrap option. When you type `C-c C-c' on the file name `menu-bar.el' (or anywhere inside the text of its entry) it visits `truncated-partial-width-window-p' in window.el instead of visiting the file menu-bar.el as it is more expected. -- Juri Linkov http://www.jurta.org/emacs/