* produce tags-file for several directories with etags
@ 2004-10-05 6:38 Fabian Braennstroem
2004-10-05 11:45 ` Benjamin Rutt
0 siblings, 1 reply; 5+ messages in thread
From: Fabian Braennstroem @ 2004-10-05 6:38 UTC (permalink / raw)
Hello,
I want to produce a tags-file for a code which is spread over several
directories. I am not able to find any option for etags to handle this. Just
with the simple 'etags *' I get following for all directories:
'directory': it is not a regular file.
Does anybody have an idea?
Greetings!
--
Fabian Braennstroem
Duesseldorf/Berlin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: produce tags-file for several directories with etags
2004-10-05 6:38 produce tags-file for several directories with etags Fabian Braennstroem
@ 2004-10-05 11:45 ` Benjamin Rutt
2004-10-05 16:07 ` Micha Feigin
2004-10-05 20:15 ` Edgar Denny
0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Rutt @ 2004-10-05 11:45 UTC (permalink / raw)
Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> Hello,
>
> I want to produce a tags-file for a code which is spread over several
> directories. I am not able to find any option for etags to handle this. Just
> with the simple 'etags *' I get following for all directories:
>
> 'directory': it is not a regular file.
>
> Does anybody have an idea?
I see from the headers that you are on linux. Then you certainly have
the 'find' command. Try the following command from the root directory
of your source tree:
etags `find . -type f`
--
Benjamin Rutt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: produce tags-file for several directories with etags
2004-10-05 11:45 ` Benjamin Rutt
@ 2004-10-05 16:07 ` Micha Feigin
2004-10-05 20:15 ` Edgar Denny
1 sibling, 0 replies; 5+ messages in thread
From: Micha Feigin @ 2004-10-05 16:07 UTC (permalink / raw)
On Tue, Oct 05, 2004 at 07:45:00AM -0400, Benjamin Rutt wrote:
> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
>
> > Hello,
> >
> > I want to produce a tags-file for a code which is spread over several
> > directories. I am not able to find any option for etags to handle this. Just
> > with the simple 'etags *' I get following for all directories:
> >
> > 'directory': it is not a regular file.
> >
> > Does anybody have an idea?
>
> I see from the headers that you are on linux. Then you certainly have
> the 'find' command. Try the following command from the root directory
> of your source tree:
>
> etags `find . -type f`
Or use ctags -e -R (at least with exuberant-ctags)
> --
> Benjamin Rutt
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: produce tags-file for several directories with etags
2004-10-05 11:45 ` Benjamin Rutt
2004-10-05 16:07 ` Micha Feigin
@ 2004-10-05 20:15 ` Edgar Denny
2004-10-06 5:42 ` Fabian Braennstroem
1 sibling, 1 reply; 5+ messages in thread
From: Edgar Denny @ 2004-10-05 20:15 UTC (permalink / raw)
Benjamin Rutt <rutt.4+news@osu.edu> wrote in message news:<87ekkdtmmb.fsf@penguin.brutt.org>...
> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
>
> > Hello,
> >
> > I want to produce a tags-file for a code which is spread over several
> > directories. I am not able to find any option for etags to handle this. Just
> > with the simple 'etags *' I get following for all directories:
> >
> > 'directory': it is not a regular file.
> >
> > Does anybody have an idea?
>
> I see from the headers that you are on linux. Then you certainly have
> the 'find' command. Try the following command from the root directory
> of your source tree:
>
> etags `find . -type f`
This is a function that I use to create a tags file for all files in
the current directory and all its sub-directories:
(defun create-tags-here ()
"Create tags file with current directory as root."
(interactive)
(shell-command "find . -type f -name *.[hC] | etags -"))
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: produce tags-file for several directories with etags
2004-10-05 20:15 ` Edgar Denny
@ 2004-10-06 5:42 ` Fabian Braennstroem
0 siblings, 0 replies; 5+ messages in thread
From: Fabian Braennstroem @ 2004-10-06 5:42 UTC (permalink / raw)
Hello,
edgardenny@comcast.net (Edgar Denny) writes:
> Benjamin Rutt <rutt.4+news@osu.edu> wrote in message news:<87ekkdtmmb.fsf@penguin.brutt.org>...
>> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
>>
>> > Hello,
>> >
>> > I want to produce a tags-file for a code which is spread over several
>> > directories. I am not able to find any option for etags to handle this. Just
>> > with the simple 'etags *' I get following for all directories:
>> >
>> > 'directory': it is not a regular file.
>> >
>> > Does anybody have an idea?
>>
>> I see from the headers that you are on linux. Then you certainly have
>> the 'find' command. Try the following command from the root directory
>> of your source tree:
>>
>> etags `find . -type f`
>
> This is a function that I use to create a tags file for all files in
> the current directory and all its sub-directories:
>
> (defun create-tags-here ()
> "Create tags file with current directory as root."
> (interactive)
> (shell-command "find . -type f -name *.[hC] | etags -"))
Thanks to all!
I used the last 'find. -type f ...' in the shell... works fine :-)
Greetings!
--
Fabian Braennstroem
Duesseldorf/Berlin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-06 5:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-05 6:38 produce tags-file for several directories with etags Fabian Braennstroem
2004-10-05 11:45 ` Benjamin Rutt
2004-10-05 16:07 ` Micha Feigin
2004-10-05 20:15 ` Edgar Denny
2004-10-06 5:42 ` Fabian Braennstroem
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.