looking up function's doc in emacs

X

Xah Lee

in programing elisp in emacs, i can press “Ctrl+h f†to lookup the doc
for the function under cursor.

is there such facility when coding in perl, python, php?

(i'm interested in particular python. In perl, i can work around with
“perldoc -f functionNameâ€, and in php it's php.net/functionName. Both
of which i have a elisp command with a shortcut that let me jump to
the doc)

Thanks.

Xah
∑ http://xahlee.org/

☄
 
D

Daniel Fetchinson

in programing elisp in emacs, i can press "Ctrl+h f" to lookup the doc
for the function under cursor.

is there such facility when coding in perl, python, php?

(i'm interested in particular python. In perl, i can work around with
"perldoc -f functionName", and in php it's php.net/functionName. Both
of which i have a elisp command with a shortcut that let me jump to
the doc)

Why can't you do the same with pydoc (the command line tool, ususally
installed in /usr/local/bin/pydoc or somewhere else if python shipped
with your distro).

Cheers,
Daniel
 
A

Andreas Röhler

Xah said:
in programing elisp in emacs, i can press “Ctrl+h f†to lookup the doc
for the function under cursor.

is there such facility when coding in perl, python, php?

(i'm interested in particular python. In perl, i can work around with
“perldoc -f functionNameâ€, and in php it's php.net/functionName. Both
of which i have a elisp command with a shortcut that let me jump to
the doc)

Thanks.

Xah
∑ http://xahlee.org/

☄
python help(FUNCTIONNAME)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top