emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug Report (Feature request?) etags (GNU Emacs 21.1)


From: Sven Utcke
Subject: Re: Bug Report (Feature request?) etags (GNU Emacs 21.1)
Date: Fri, 22 Feb 2002 12:37:35 +0100 (CET)

Hello Richard, hello all,

>     It has been mentioned before to put dual references into TAGS:
>     one for the actual file, and one for the file from the #line
>     directive.  This is simple.
> 
> Having both files in the TAGS table is what we want to AVOID.
> It is wasteful.

Not in the case to which the sentence above was alluding.  There you
would have a line

FUNC f::x(a,b) { a /?/ b }

in the .ylag file, but a line

_YLfunc_x__f_(_YLp *a, _YLp *b)

in the generated .c file.  I believe the only way to reasonably handle
this would be _four_ references altogether:  One for each file, and
one for each functionname.  So looking up f::a would get you to the
*.ylag file first, and to the *.c file next (Ok, this would probably
be hard to implement :-), while looking up _YLfunc_x__f_ (why would
anybody want to do that?) would get you to the *.c file first and to
the *.ylag next.  

I guess.  But then, I have no clue about ylag, only web.  And for the
latter _one_ reference (to the *.web) would certainly be enough...

Sven
-- 
 _  __                     The Cognitive Systems Group
| |/ /___  __ _ ___                                       University of Hamburg
| ' </ _ \/ _` (_-<  phone:    +49 (0)40 42883-2576      Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/  fax  :    +49 (0)40 42883-2572             D-22527 Hamburg
          |___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]