From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Sven Utcke Newsgroups: gmane.emacs.devel Subject: Re: Bug Report (Feature request?) etags (GNU Emacs 21.1) Date: Fri, 22 Feb 2002 12:48:49 +0100 (CET) Message-ID: <200202221148.g1MBmnw02682@kogs46.informatik.uni-hamburg.de> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: quimby2.netfonds.no 1014378765 26070 195.204.10.66 (22 Feb 2002 11:52:45 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 22 Feb 2002 11:52:45 GMT Cc: storm@cua.dk, pot@gnu.org, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16eEFp-0006mO-00 for ; Fri, 22 Feb 2002 12:52:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16eEEL-0006ed-00; Fri, 22 Feb 2002 06:51:13 -0500 Original-Received: from rzdspc1.informatik.uni-hamburg.de ([134.100.9.61]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16eEC8-0006ZH-00; Fri, 22 Feb 2002 06:48:56 -0500 Original-Received: from kogs1.informatik.uni-hamburg.de (kogs1.informatik.uni-hamburg.de [134.100.12.111]) by rzdspc1.informatik.uni-hamburg.de (8.12.2/8.12.2) with ESMTP id g1MBmot5009531; Fri, 22 Feb 2002 12:48:50 +0100 (CET) Original-Received: from kogs46.informatik.uni-hamburg.de (kogs46.informatik.uni-hamburg.de [134.100.12.146]) by kogs1.informatik.uni-hamburg.de (8.12.2/8.12.2) with ESMTP id g1MBmoWd026059; Fri, 22 Feb 2002 12:48:50 +0100 (CET) Original-Received: (from utcke@localhost) by kogs46.informatik.uni-hamburg.de (8.10.1/8.10.1) id g1MBmnw02682; Fri, 22 Feb 2002 12:48:49 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: <200202220433.g1M4XAt14047@aztec.santafe.edu> from "Richard Stallman" at Feb 21, 2002 09:33:10 PM X-Mailer: ELM [version 2.5 PL2] X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1411 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1411 > However, this will often NOT be the case when #line directives are > found in files generated by other programs (there may be a 1:100 or a > 100:1 correspondance) -- but you don't know. So etags will have to > put the #line directive's line number directly into TAGS. > > That is doing things the hard way. Wouldn't it be easier to handle > #line in Lisp inside find-tag? Well, you would then need to load the .c file first (which I never load, and which just might confuse people if it showed up among the buffers), only to parse that and load the referenced *.web file. And the TAGS file does save a line-number anyway, or am I missing something? And what about other tools using the TAGS-file --- are there other tolls using it? Sven -- _ __ The Cognitive Systems Group | |/ /___ __ _ ___ University of Hamburg | '