From: Colin Baxter <m43cap@yandex.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: , help-gnu-emacs@gnu.org
Subject: Re: etags in tex files
Date: Sat, 17 Jul 2021 21:15:56 +0100 [thread overview]
Message-ID: <87y2a4r91f.fsf@yandex.com> (raw)
In-Reply-To: <83zguk3hvz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 17 Jul 2021 21:38:40 +0300")
>>>>> 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.
next prev parent reply other threads:[~2021-07-17 20:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-17 18:05 etags in tex files Colin Baxter
2021-07-17 18:33 ` Óscar Fuentes
2021-07-17 20:18 ` Colin Baxter
2021-07-18 6:35 ` Eli Zaretskii
2021-07-17 18:38 ` Eli Zaretskii
2021-07-17 20:15 ` Colin Baxter [this message]
2021-07-18 6:34 ` Eli Zaretskii
2021-07-21 14:20 ` Colin Baxter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2a4r91f.fsf@yandex.com \
--to=m43cap@yandex.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).