On Wed, Apr 8, 2009 at 10:30 AM, Lucius Fox <lucius.fox08@gmail.com> wrote:
Hi,

i am trying to following the steps here
http://frodo.syminet.com/~deep/emacside.html to build etags for emacs.

Assuming CODEDIR to be the top-level source directory, first update
your ~/.bashrc like so:
alias mktags='cd $CODEDIR && etags `find $CODEDIR -name "*.[h|c]"` && cd -'
Then run:

source ~/.bashrc
mktags

but when i try that on MacOS, I get this error:

$  mktags
-bash: /usr/bin/etags: Argument list too long


Can you please tell me how to get it to work?



I use

find . -type f -name \"*.java\" | etags -

to create tags for java files on OS X.

--
Nurullah Akkaya
http://nakkaya.com