From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Newsgroups: gmane.emacs.help Subject: Re: looking up function's doc in emacs Date: Thu, 11 Dec 2008 14:56:58 +0100 Organization: Universite de Versailles Saint-Quentin-en-Yvelines Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1229012908 32243 80.91.229.12 (11 Dec 2008 16:28:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2008 16:28:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 17:29:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAoPS-0002du-8Y for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 17:29:06 +0100 Original-Received: from localhost ([127.0.0.1]:58543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAoOG-0000zm-S1 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 11:27:52 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: fermat.math.uvsq.fr Original-X-Trace: io.uvsq.fr 1229003818 7336 193.51.32.1 (11 Dec 2008 13:56:58 GMT) Original-X-Complaints-To: Newsmaster@uvsq.fr Original-NNTP-Posting-Date: Thu, 11 Dec 2008 13:56:58 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) Cancel-Lock: sha1:lsHTcKn++BSLCsUW7olB52Tlj40= Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!uvsq.fr!not-for-mail Original-Xref: news.stanford.edu gnu.emacs.help:165226 X-Mailman-Approved-At: Thu, 11 Dec 2008 11:25:17 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60558 Archived-At: Xah Lee 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 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