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

Um. I thought I was inefficient at browsing Emacs and this sucks more. Here's what I do.

1. Generate a file index, every now and then(read cron).

  > find . > fileList
2. Write a script(can also do this in emacs) in bash that takes two arguments viz., filename and search string. The script does a two level grep(regex), first on filenames and then in each of those files for the search string

3. If the previous routine was written in bash written a elisp function that calls the bash script.

That's mostly it.

I could use cscope but it sucks donkey balls with java. When I ask for definition it finds a declaration.



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

Search: