Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's something like what I do at work. Syntax not quite correct, I'm sure. It's a C++ project, but you can probably adapt it to your situation. Making the TAGS file takes a while every now and then, so you might want to run it as a cron job.

shell:

   find rootdir1 rootdir2 ... rootdirN ".*\.[ch][ch]?" | etags > /convenient/dir/TAGS
.emacs:

   (visit-tags-table "/convenient/dir/TAGS")
need a class or function in emacs:

   (tags-apropos _regexp_)


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: