From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: patch: add-log.el: changelog find file under point Date: Sat, 23 Feb 2008 23:32:42 +0100 Message-ID: <47C09F0A.2040906@gmx.at> References: <1194211092.13041.13.camel@peder.flower> <200801222310.m0MN9cZq011601@sallyv1.ics.uci.edu> <8763xl492o.fsf@jurta.org> <200801230225.m0N2Ptmx012952@sallyv1.ics.uci.edu> <200801271954.m0RJsmBm003714@sallyv1.ics.uci.edu> <479DAC55.8070302@gmx.at> <200801300258.m0U2w9rr005169@sallyv1.ics.uci.edu> <47B9E0B1.1090908@gmx.at> <87skzpoqke.fsf@jurta.org> <47BA788E.7090406@gmx.at> <87mypv49oe.fsf@jurta.org> <47BD27B0.4060006@gmx.at> <47BF21CE.10607@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203806294 27679 80.91.229.12 (23 Feb 2008 22:38:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2008 22:38:14 +0000 (UTC) Cc: juri@jurta.org, bug-cc-mode@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Sat Feb 23 23:38:38 2008 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by lo.gmane.org with esmtp (Exim 4.50) id 1JT30v-0007Pw-WE for sf-cc-mode-help@m.gmane.org; Sat, 23 Feb 2008 23:38:38 +0100 Original-Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 4EAE0FD7E; Sat, 23 Feb 2008 14:38:06 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1JT30M-0003sT-MN for cc-mode-help@lists.sourceforge.net; Sat, 23 Feb 2008 14:38:03 -0800 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1JT30K-0005bk-Sl for cc-mode-help@lists.sourceforge.net; Sat, 23 Feb 2008 14:38:02 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JT30D-0004fW-Rh for bug-cc-mode@gnu.org; Sat, 23 Feb 2008 17:37:53 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JT30A-00025d-ML for bug-cc-mode@gnu.org; Sat, 23 Feb 2008 17:37:53 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JT309-00024K-Vx for bug-cc-mode@gnu.org; Sat, 23 Feb 2008 17:37:50 -0500 Original-Received: (qmail invoked by alias); 23 Feb 2008 22:37:45 -0000 Original-Received: from N797P014.adsl.highway.telekom.at (EHLO [62.47.43.142]) [62.47.43.142] by mail.gmx.net (mp006) with SMTP; 23 Feb 2008 23:37:45 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+0S7EuLEy0k/g2SxAUCO/hbenkkVJKt64KVaQOzW McaMRJw73HssI5 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: cc-mode-help-bounces@lists.sourceforge.net Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:5088 gmane.emacs.devel:90172 Archived-At: > Now the problem is clear: > Imenu for C does not understand the special macros used in Emacs sources. The fact that imenu doesn't understand special macros is one out of three aspects I listed (BTW, etags also handles SYSCALL, ENTRY, PSEUDO). Why did you ignore the remaining ones? > I am sure this can be fixed with a certain amount of special programming. Probably. But the problem of matches within comments and strings is more difficult to handle and much more annoying for other sources. The most serious problem with using imenu for change-log entries, on the other hand, is its inability to cleanly report variable and macro definitions. With other words: What `add-log-current-defun' gets me is usually a subset of what etags finds. It considerably differs from what imenu reports. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/