[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: looking up function's doc in emacs
From: |
Matthias |
Subject: |
Re: looking up function's doc in emacs |
Date: |
Thu, 11 Dec 2008 14:56:58 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) |
Xah Lee <xahlee@gmail.com> writes:
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?
Yes, try C-h S (or similarly <f1> S):
(info-lookup-symbol SYMBOL &optional MODE) Display the
definition of SYMBOL, as found in the relevant manual. When this
command is called interactively, it reads SYMBOL from the
minibuffer.
Note that `the relevant manual' means an info file. With recent
emacsen on an Ubuntu distro, python arrives with info files and
everything is well configured. It also works with bash, latex, perl,
scheme, elisp, awk, texinfo, makefile, libc, or any info file with an
index.
--
Matthias