From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: etags in tex files Date: Sat, 17 Jul 2021 21:18:49 +0100 Message-ID: <87tuksr8wm.fsf@yandex.com> References: <8735scstms.fsf@yandex.com> <87mtqkeqng.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30434"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: , help-gnu-emacs@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 17 22:19:17 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4qmL-0007mq-18 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Jul 2021 22:19:17 +0200 Original-Received: from localhost ([::1]:35502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4qmK-0006QH-2m for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Jul 2021 16:19:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4qlz-0006Q9-Mp for help-gnu-emacs@gnu.org; Sat, 17 Jul 2021 16:18:55 -0400 Original-Received: from forward101p.mail.yandex.net ([77.88.28.101]:52140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4qlx-0005bk-Un for help-gnu-emacs@gnu.org; Sat, 17 Jul 2021 16:18:55 -0400 Original-Received: from myt5-18f51d724ab0.qloud-c.yandex.net (myt5-18f51d724ab0.qloud-c.yandex.net [IPv6:2a02:6b8:c12:5726:0:640:18f5:1d72]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 47E8832811B5; Sat, 17 Jul 2021 23:18:51 +0300 (MSK) Original-Received: from myt6-9bdf92ffd111.qloud-c.yandex.net (myt6-9bdf92ffd111.qloud-c.yandex.net [2a02:6b8:c12:468a:0:640:9bdf:92ff]) by myt5-18f51d724ab0.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 7yJMN2BJy6-IpHKq2f6; Sat, 17 Jul 2021 23:18:51 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1626553131; bh=7Cgo0x5NWDDg8A//ns3YOlw70e28WEvEIFcfPDeujfQ=; h=In-Reply-To:Subject:Date:References:To:From:Message-ID:Cc:Cc; b=K0b07pu2RBiyiF5sJyHLBCy/nVbJfbqEplvEy7jJPJOgw/Y519saTzPaoUxn1a2a4 juY0ylvbGnKjhRcK+kZGbplRcWGrIDg8G1GW/JVAsrTMSpYzJkGy2/xNUjj2CCe/5m QLFj9WZOmF0pAhB/yyMePoe8q4tUR4YkaKQy03iw= Authentication-Results: myt5-18f51d724ab0.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by myt6-9bdf92ffd111.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id oQiHD79ZzH-Io2CCTk5; Sat, 17 Jul 2021 23:18:50 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <87mtqkeqng.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sat, 17 Jul 2021 20:33:55 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=77.88.28.101; envelope-from=m43cap@yandex.com; helo=forward101p.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131804 Archived-At: >>>>> =C3=93scar Fuentes writes: > Colin Baxter writes: >> Hello, >>=20 >> 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. >>=20 >> 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.