From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: tags with subdirectories?
Date: Fri, 16 Sep 2005 13:05:34 +0300 [thread overview]
Message-ID: <uoe6tmioh.fsf@gnu.org> (raw)
In-Reply-To: <u64t28e96.fsf@gnu.org> (message from Sam Steingold on Thu, 15 Sep 2005 12:52:37 -0400)
> From: Sam Steingold <sds@gnu.org>
> Date: Thu, 15 Sep 2005 12:52:37 -0400
>
> what if I have a _huge_ project with many many directories each sporting
> its own TAGS file.
> how do I tell emacs to search all subdirectories for TAGS files?
> I could, of course run call-process on "find . -name TAGS", but this
> strikes me as ugly.
>
> suggestions?
I take it that doing a "M-x visit-tag-table" for each TAGS file is not
an option, and neither is to create another TAGS file which would just
include the real TAGS files (using the --include option to `etags'),
right?
In that case, I'd suggest to customize the value of `tags-table-list'
to include the names of all the directories where you have your TAGS
files. This could be done with, e.g., `shell-command-to-string' that
runs the command "find . -type d", followed by processing the
resulting string into a list.
Yet another solution is to stop having TAGS file in each subdirectory
of your project (why is that a good idea, anyway?), and instead have
only one ;-)
prev parent reply other threads:[~2005-09-16 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-15 16:52 tags with subdirectories? Sam Steingold
2005-09-16 10:05 ` Eli Zaretskii [this message]
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=uoe6tmioh.fsf@gnu.org \
--to=eliz@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.