From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: ELisp function prototypes and local function name Date: Thu, 07 Apr 2011 12:27:52 +0900 Message-ID: <871v1erb9j.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87ei5fqz6h.fsf@lifelogs.com> <87k4f7pe2f.fsf@lifelogs.com> <874o6arjpz.fsf@uwakimon.sk.tsukuba.ac.jp> <87mxk27q3d.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302147082 20637 80.91.229.12 (7 Apr 2011 03:31:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2011 03:31:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 07 05:31:17 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 1Q7fwB-0002RM-EZ for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2011 05:31:15 +0200 Original-Received: from localhost ([127.0.0.1]:34044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7fnj-0002qs-Sj for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2011 23:22:31 -0400 Original-Received: from [140.186.70.92] (port=45615 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7fnd-0002nr-UJ for emacs-devel@gnu.org; Wed, 06 Apr 2011 23:22:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7fnc-0003jW-Sv for emacs-devel@gnu.org; Wed, 06 Apr 2011 23:22:25 -0400 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:45403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7fnc-0003i7-KO for emacs-devel@gnu.org; Wed, 06 Apr 2011 23:22:24 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 535D19706B6; Thu, 7 Apr 2011 12:22:22 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 6332D1A27A8; Thu, 7 Apr 2011 12:27:52 +0900 (JST) In-Reply-To: <87mxk27q3d.fsf@lifelogs.com> X-Mailer: VM 8.1.93a under 21.5 (beta29) "garbanzo" eac2e6bd5b2c+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.224 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:138274 Archived-At: Ted Zlatanov writes: > But it doesn't correspond to the advertised prototype > "(mapc FUNCTION SEQUENCE)" and loses the argument names. Oh well. (function-arglist 'mapc) => (mapc FUNCTION SEQUENCE &rest SEQUENCES) where I live. I think Aidan Kehoe knows most about that code currently, but I don't know what the assignment status is. BTW, (flet ((foo (bar &optional baz))) (function-arglist 'foo)) => (foo BAR &optional BAZ) works as expected too (not too surprising, I suppose).