From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Keyword args Date: Tue, 14 Dec 2010 14:03:59 +0900 Message-ID: References: <87mxojwu15.fsf@uwakimon.sk.tsukuba.ac.jp> <87k4jnweng.fsf@uwakimon.sk.tsukuba.ac.jp> <87d3pdwt1x.fsf@uwakimon.sk.tsukuba.ac.jp> <87bp4x37ey.fsf@lola.goethe.zz> <874oapwnon.fsf@uwakimon.sk.tsukuba.ac.jp> <4D01D9D8.5040400@gmail.com> <4D0580A6.7090307@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292303062 23023 80.91.229.12 (14 Dec 2010 05:04:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 05:04:22 +0000 (UTC) Cc: Helmut Eller , Daniel Colascione , emacs-devel@gnu.org To: Andy Wingo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 14 06:04:18 2010 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 1PSN3h-0004le-BD for ged-emacs-devel@m.gmane.org; Tue, 14 Dec 2010 06:04:17 +0100 Original-Received: from localhost ([127.0.0.1]:56887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSN3g-0001nD-61 for ged-emacs-devel@m.gmane.org; Tue, 14 Dec 2010 00:04:16 -0500 Original-Received: from [140.186.70.92] (port=36963 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSN3a-0001kY-TF for emacs-devel@gnu.org; Tue, 14 Dec 2010 00:04:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSN3Z-0003e4-AD for emacs-devel@gnu.org; Tue, 14 Dec 2010 00:04:10 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:41216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSN3X-0003cg-8O; Tue, 14 Dec 2010 00:04:07 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.184]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id oBE542P6022198; Tue, 14 Dec 2010 14:04:02 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id oBE541J03132; Tue, 14 Dec 2010 14:04:01 +0900 (JST) Original-Received: from relay41.aps.necel.com ([10.29.19.9]) by vgate01.nec.co.jp (8.14.4/8.14.4) with ESMTP id oBE52sNh019139; Tue, 14 Dec 2010 14:04:00 +0900 (JST) Original-Received: from relay41.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay41.aps.necel.com with ESMTP; Tue, 14 Dec 2010 14:04:00 +0900 Original-Received: from dhlpc061 ([10.114.96.89] [10.114.96.89]) by relay41.aps.necel.com with ESMTP; Tue, 14 Dec 2010 14:03:59 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 4FC8052E1E9; Tue, 14 Dec 2010 14:03:59 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Andy Wingo's message of "Mon, 13 Dec 2010 21:00:47 +0100") Original-Lines: 18 X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) 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:133676 Archived-At: Andy Wingo writes: > Anyway, I would like to discourage complicated implementations in > "user-space" for keyword arguments. They should be a core language > feature, for all the reasons I gave in my first article. well... I agree, mostly (though that doesn't mean I agree that many primitives in elisp should _use_ keywords, e.g. to the extent that CL does). Another perhaps-useful concept is alternate function entry points for an "already handled" argument form (my vague memory is that CMUCL does this). In many cases the compiler could then do argument parsing at compile time and generate a call to the "simple" entry point. -Miles -- Consult, v.i. To seek another's disapproval of a course already decided on.