Ok, apparently etags does more than I thought it did... off to RTFM. Thanks,
Ethan On Mon, 2011-03-14 at 15:39 +0100, Jed Brown wrote: > On Mon, Mar 14, 2011 at 15:34, Ethan Coon <ecoon at lanl.gov> wrote: > Related to this, do you guys have a standard way of finding > all such > instances? I was using grep/find (and then checking the > compilation > output), but I'm sure my find was missing a few files. > > Depends on your editor, but there are "tags" for Emacs and Vim > (slightly different in each case, but basically the same). Most IDEs > have some sort of symbol-reference lookup functionality built in. You > can also use GNU Global which retains a bit more information than the > usual TAGS. I often end up using recursive grep to locate files with a > certain property and then edit them using sed or perl -pi -e (for > mechanical things). In addition to the tags searches, you can have > Emacs visit every location that matches a grep query. -- ------------------------------------ Ethan Coon Post-Doctoral Researcher Applied Mathematics - T-5 Los Alamos National Laboratory 505-665-8289 http://www.ldeo.columbia.edu/~ecoon/ ------------------------------------