Tom Lane <tgl@sss.pgh.pa.us> writes:
> Here's my single biggest tip for newcomers to the Postgres source:
> if you don't use ctags, glimpse, or some other tool that can quickly
> show you all references to a given identifier, go out and get one.
> It's one of the easiest ways to learn about things.
I've been using cscope (out of advice from Joshua Tolley), and even
better its integration into Emacs which is called xcscope.el --- I
wouldn't have been able to come up with the extension patch series
without that.
http://cscope.sourceforge.net/
And as a quick teaser, the keys I mostly use:
C-c s d cscope-find-global-definition C-c s s cscope-find-this-symbol C-c s f
cscope-find-this-fileC-c s I cscope-index-files
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support