I want to index clojure files, using etags so that i can use Emacs’s tag functionality.
But etags does not recognize clojure functions. is it possible to extend etags to include clojure definitions?
I want to index clojure files, using etags so that i can use Emacs’s
Share
Based on http://nakkaya.com/2009/12/13/getting-etags-to-index-clojure-files/
the following command is all on one line
find . \! -name '.*' -name '*.clj' | xargs etags --regex='/[ \t\(]*def[a-z]* \([a-z-!]+\)/\1/' --regex='/[ \t\(]*ns \([a-z.]+\)/\1/'