From: "N. Raghavendra" <nyraghu27132@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Help with etags
Date: Tue, 05 Dec 2017 18:23:47 +0530 [thread overview]
Message-ID: <87lgih5o9w.fsf@gmail.com> (raw)
I am trying to build a tags table for some files which look like this
------------------------File: Homotopies.v ---------------------------
Require Export Paths.
Definition
homotopies
{X Y : U} (f g : X -> Y)
: U
:= prod (x : X) , (paths (f x) (g x)).
Notation
"f ~ g"
:= (homotopies f g).
Definition
function_induced_function_homotopic_identity
{X : U} (f : X -> X) (h : f ~ (Functions.identity X)) (x y : X)
(p : paths x y)
: paths ((induced_function f p) @ (h y)) ((h x) @ p).
----------------------------------------------------------------------
I want the tags table to show the identifier in every line following a
line containing `Definition', e.g., `homotopies' and
`function_induced_function_homotopic_identity'.
I tried the command
etags --language=none --regex="/^[[:space:]]*Definition[[:space:]\n]+[[:space:]]*\([[:alnum:]_]+\)[[:space:]]*\n/\1/" Homotopies.v
but am getting an empty tags table. What is the right way to generate
tags for such files?
Thanks,
Raghu.
--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
next reply other threads:[~2017-12-05 12:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 12:53 N. Raghavendra [this message]
2017-12-08 10:28 ` Help with etags Eli Zaretskii
2017-12-09 13:33 ` N. Raghavendra
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=87lgih5o9w.fsf@gmail.com \
--to=nyraghu27132@gmail.com \
--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.