From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Keyword args Date: Sun, 12 Dec 2010 09:34:16 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1292142888 31072 80.91.229.12 (12 Dec 2010 08:34:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Dec 2010 08:34:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 12 09:34:44 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 1PRhOG-0006iB-LL for ged-emacs-devel@m.gmane.org; Sun, 12 Dec 2010 09:34:44 +0100 Original-Received: from localhost ([127.0.0.1]:37226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRhOG-0003J4-1R for ged-emacs-devel@m.gmane.org; Sun, 12 Dec 2010 03:34:44 -0500 Original-Received: from [140.186.70.92] (port=43683 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRhO5-0003GY-Kb for emacs-devel@gnu.org; Sun, 12 Dec 2010 03:34:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRhO4-0005ES-Dl for emacs-devel@gnu.org; Sun, 12 Dec 2010 03:34:33 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:48205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRhO4-0005EK-4f for emacs-devel@gnu.org; Sun, 12 Dec 2010 03:34:32 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PRhO1-0006dX-Q0 for emacs-devel@gnu.org; Sun, 12 Dec 2010 09:34:29 +0100 Original-Received: from 212.46.169.137 ([212.46.169.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Dec 2010 09:34:29 +0100 Original-Received: from eller.helmut by 212.46.169.137 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Dec 2010 09:34:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 212.46.169.137 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:133623 Archived-At: * MON KEY [2010-12-12 04:49] writes: >> Since we have destructuring-bind parsing plists is not very hard. > > No, we have _some_ of dbind... > > Following is the CL specs cannonical `destructuring-bind' example: > > ,---- > | > | Examples: > | > | (defun iota (n) (loop for i from 1 to n collect i)) ;helper > | > | (destructuring-bind ((a &optional (b 'bee)) one two three) > | `((alpha) ,@(iota 3)) > | (list a b three two one)) ’ (ALPHA BEE 3 2 1) > | > `---- > > Does evaluating the above two forms in elisp land you in *Backtrace* > with something like this at beginning-of-buffer: > > Debugger entered--Lisp error: (void-variable bind-enquote) > > If so, I would argue that the current elisp's implementation fo > `destructuring-bind' isn't exactly the panacea to keyword parsing you > claim it is. This bug was fixed quite some time ago: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6408 Helmut