unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: etags in tex files
Date: Sat, 17 Jul 2021 20:33:55 +0200	[thread overview]
Message-ID: <87mtqkeqng.fsf@telefonica.net> (raw)
In-Reply-To: 8735scstms.fsf@yandex.com

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.




  reply	other threads:[~2021-07-17 18:33 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 [this message]
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
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=87mtqkeqng.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --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).