From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: ELisp function prototypes and local function name Date: Wed, 06 Apr 2011 17:19:49 +0200 Organization: not if I can help it Message-ID: References: <87ei5fqz6h.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302103284 9437 80.91.229.12 (6 Apr 2011 15:21:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2011 15:21:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 06 17:21:20 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7UXm-0007pO-NO for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2011 17:21:18 +0200 Original-Received: from localhost ([127.0.0.1]:36811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7UXm-0005Hl-2o for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2011 11:21:18 -0400 Original-Received: from [140.186.70.92] (port=58385 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7UWg-0004gU-Os for emacs-devel@gnu.org; Wed, 06 Apr 2011 11:20:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7UWe-00030x-Ue for emacs-devel@gnu.org; Wed, 06 Apr 2011 11:20:10 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7UWe-0002zy-KY for emacs-devel@gnu.org; Wed, 06 Apr 2011 11:20:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q7UWc-0006u5-2m for emacs-devel@gnu.org; Wed, 06 Apr 2011 17:20:06 +0200 Original-Received: from lns-bzn-49f-81-56-191-143.adsl.proxad.net ([81.56.191.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Apr 2011 17:20:06 +0200 Original-Received: from rpluim by lns-bzn-49f-81-56-191-143.adsl.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Apr 2011 17:20:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lns-bzn-49f-81-56-191-143.adsl.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (cygwin) Cancel-Lock: sha1:qpXWlP3GAHgK/+16vjzqk0Jhz2M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138244 Archived-At: Ted Zlatanov writes: > I often find myself needing to know the prototype of a function I'm > calling dynamically. Is there a way to get that? The ELisp reference > manual doesn't have the info AFAICT. > You mean like eldoc-mode? eldoc-mode is an interactive compiled Lisp function in `eldoc.el'. (eldoc-mode &optional ARG) Toggle ElDoc mode on or off. In ElDoc mode, the echo area displays information about a function or variable in the text where point is. If point is on a documented variable, it displays the first line of that variable's doc string. Otherwise it displays the argument list of the function called in the expression point is on. Robert