[Zope] Emacs advice

Thomas Guettler zopestoller@thomas-guettler.de
Wed, 06 Mar 2002 12:49:37 +0100


seb bacon wrote:

>A quickie for you emacs gurus (sorry, not very zope):
>
>When I'm editing python code in emacs, is there a way of jumping to the
>definition of the function currently under the point?
>

No, at least I don't now how this could be done. But you can use grep:

cd $ZOPE_HOME/lib/python; grep -rsi "def fooFunction" | less

grep and less are in cygwin (www.cygwin.com)

By the way, the ctrl-c ctrl-u solution only jump to the beginng of the 
function you are in.

thomas