all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: etags in tex files
Date: Sun, 18 Jul 2021 09:35:20 +0300	[thread overview]
Message-ID: <83tuks2kpj.fsf@gnu.org> (raw)
In-Reply-To: <87tuksr8wm.fsf@yandex.com> (message from Colin Baxter on Sat, 17 Jul 2021 21:18:49 +0100)

> From: Colin Baxter <m43cap@yandex.com>
> Date: Sat, 17 Jul 2021 21:18:49 +0100
> Cc: , help-gnu-emacs@gnu.org
> 
> >>>>> Óscar Fuentes <ofv@wanadoo.es> writes:
> 
>     > Colin Baxter <m43cap@yandex.com> writes:
>     >> Hello,
>     >> 
>     >> 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 there any way in which I can configure etags to recognise
>     >> everything with the curly brackets of a \label? I could always
>     >> use grep but I like etags and would like to stick with them.
> 
>     > Dunno about (c|e)tags, but other implementations such as Universal
>     > Ctgas lets you to define your own language. It is quite simple and
>     > works fine.
> 
> Thanks. I'll have a look at your suggestion if T don't make progress
> with etags.

If the TAGS file produced by Emacs's etags includes the problematic
labels, then switching to another etags/ctags implementation will not
help, AFAIU.



  reply	other threads:[~2021-07-18  6:35 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 [this message]
2021-07-17 18:38 ` Eli Zaretskii
2021-07-17 20:15   ` Colin Baxter
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tuks2kpj.fsf@gnu.org \
    --to=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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.