6 Mar
2002
6 Mar
'02
12:23 p.m.
Thomas Guettler wrote:
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)
sorry, it is grep -rsi "def fooFunction" * | less (note the asterisk) r: recursive s: silent (don't show warnings) i: case insensitiv grep is fun. It gives you more power than any developerstudio can give you. -E (regularexpressions) is very interesting, too thomas