help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to define xref-find-definitions for a new mode?


From: Marcin Borkowski
Subject: Re: How to define xref-find-definitions for a new mode?
Date: Fri, 15 Jun 2018 10:59:58 +0200
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2018-06-15, at 09:41, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Marcin Borkowski <mbork@mbork.pl>
>> Cc: help-gnu-emacs@gnu.org
>> Date: Fri, 15 Jun 2018 06:49:43 +0200
>> 
>> >> > Are you sure it doesn't work already?  E.g., if \label is tagged, then
>> >> > "M-." on the tag's name at \ref should go to the label's definition.
>> >>
>> >> Well, apparently it doesn't without the TAGS file.  And even with it,
>> >> I couldn't make it to work.  Also, amsrefs is not suppported.
>> >
>> > Then my suggestion would be to extend etags to support that.  That way
>> > you won't be starting from scratch.
>> 
>> Well, in that case I'll pass for now.  Etags is written in C, which
>> I don't speak very well.  (Learning it better would be great, but
>> I don't have enough time for that now.)
>
> You could instead file bug reports with reproducible recipes and with
> requests for what should 'etags' the program add to TAGS to support
> your features.  Then someone else could implement these changes in
> 'etags'.  It's known to have happened, including fairly recently.

Thanks, this gives some hope!

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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