all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tags with subdirectories?
@ 2005-09-15 16:52 Sam Steingold
  2005-09-16 10:05 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Steingold @ 2005-09-15 16:52 UTC (permalink / raw)


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?

Thanks!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://ffii.org/> <http://www.openvotingconsortium.org/>
<http://www.iris.org.il> <http://www.dhimmi.com/> <http://www.jihadwatch.org/>
There's always free cheese in a mouse trap.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tags with subdirectories?
  2005-09-15 16:52 tags with subdirectories? Sam Steingold
@ 2005-09-16 10:05 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2005-09-16 10:05 UTC (permalink / raw)


> 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 ;-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-16 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 16:52 tags with subdirectories? Sam Steingold
2005-09-16 10:05 ` Eli Zaretskii

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.