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

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

Re: etags in tex files


From: Colin Baxter
Subject: Re: etags in tex files
Date: Sat, 17 Jul 2021 21:15:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

    >> From: Colin Baxter <m43cap@yandex.com> Date: Sat, 17 Jul 2021
    >> 19:05:47 +0100
    >> 
    >> I like to use etags in tex files in order to search for
    >> occurrences of equation labels. This works well if the label is a
    >> string of only digits and/or letters, say
    >> \label{123abc}. However, if there's a colon in the label, say
    >> \label{123:abc} then etags will only search for the portion of
    >> the string before the colon, i.e. 123.

    > Is the problem in the TAGS file, or is the problem in etags.el
    > functions that search for the tags?  I think it's the latter, but
    > if so, then...

    >> Is there any way in which I can configure etags to recognise
    >> everything with the curly brackets of a \label?

    > ...which "etags" do you want to configure and how?

I don't really know at this stage, but I think part of the problem lies
with 

defun find-tag-tag (string)

which seems to reserve a significant use for the colon. I'll have to
invest time in trying to understand at least a little of what etags.el
does, but as that file's commentary puts it, "The namespacing of this
package is a mess:". I agree.  

Colin Baxter.



reply via email to

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