|
From: Doug E. <dj...@sc...> - 2008-05-15 00:16:24
|
Does anyone already have some scripts to generate usable TAGS files for emacs? There's nothing apparent in the makefiles or in README_DEVELOPERS. One needs to invoke etags with something like this: etags --regex '/^[a-zA-Z].*VG_\([^)]*\)/\1/' ... or some such, suitably augmented for each function name wrapper macro. Depending on frequency of collisions (e.g., VG_(foo) vs MC_(foo)), one may also need to do some emacs hacking to have M-. also pick out the macro name in addition to the symbol and not remove it when invoking etags (like the above does). |