From unknown Sat Aug 16 22:48:01 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3647: 23.1.50; defun* generates incorrect code for handling arglist keyword lookup Reply-To: Miles Bader , 3647@debbugs.gnu.org Resent-From: Miles Bader Original-Sender: miles.bader@necel.com Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 22 Jun 2009 06:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3647 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124565314721162 (code B ref -1); Mon, 22 Jun 2009 06:50:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jun 2009 06:45:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M6jeSY021119 for ; Sun, 21 Jun 2009 23:45:42 -0700 Received: from mail.gnu.org ([199.232.76.166]:43194 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MIdHf-0003J5-Lw for emacs-pretest-bug@gnu.org; Mon, 22 Jun 2009 02:45:39 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MIdHd-00022R-5n for emacs-pretest-bug@gnu.org; Mon, 22 Jun 2009 02:45:39 -0400 Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:47375) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIdHc-00021Z-9G; Mon, 22 Jun 2009 02:45:37 -0400 Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n5M6jUs8014828; Mon, 22 Jun 2009 15:45:30 +0900 (JST) Received: from relay31.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay31.aps.necel.com with ESMTP; Mon, 22 Jun 2009 15:45:30 +0900 Received: from dhlpc061 ([10.114.113.45] [10.114.113.45]) by relay31.aps.necel.com with ESMTP; Mon, 22 Jun 2009 15:45:30 +0900 Received: by dhlpc061 (Postfix, from userid 31295) id 6428952E1E2; Mon, 22 Jun 2009 15:45:30 +0900 (JST) From: Miles Bader To: emacs-pretest-bug@gnu.org System-Type: x86_64-unknown-linux-gnu Blat: Foop Date: Mon, 22 Jun 2009 15:45:29 +0900 Message-ID: Lines: 117 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: miles.bader@necel.com X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Given the following code: (require 'cl) (defun* oink (&key a b) (list a b)) then evaluating: (oink :b :a :a 42) => (:a :a) ... which is incorrect. The correct answer is (42 :A). Looking at the macro-expansion of the above defun* form, the reason is obvious: the generated code uses (car (cdr (memq KEYWORD ARGLIST))) to look up keyword argument values, which is obviously bogus if a preceding argument value is the same as a keyword. It would be more correct to use (plist-get ARGUMENT KEYWORD), and that's what common-lisp systems I tested return for this test. However, the code in cl.el that generates keyword handling code is so confusing, I'm not really sure how to fix this; presumably something in `cl-do-arglist'? Thanks, -Miles If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.2) of 2009-06-22 on dhlpc061 Windowing system distributor `The X.Org Foundation', version 11.0.10601901 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t recentf-mode: t rcirc-track-minor-mode: t minibuffer-electric-default-mode: t display-time-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-p C-n C-u C-p C-u C-p n i n n n n n n n n n n n n n n SPC n n n n n c y M-v C-u C-u C-p C-u C-p C-u C-p C-u C-p C-u C-p C-u C-p C-n C-n C-n C-n C-n C-n C-n = C-e C-a C-x C-v C-g C-g C-g C-x C-v $ % e l s e / m a s t e r / l i s p / e m a c s - l i e m c l - m a C-s C-s m e C-a C-s m e m q C-s C-s C-s C-s C-s C-s C-s C-a C-s k e y w o C-s C-a C-s m e m q C-s C-s C-s C-s C-s C-s C-M-u C-M-u C-M-u C-M-a C-s ( c d r SPC ( C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-s k e y w o r d C-s C-s C-s C-s C-s C-x 2 C-x b * s c SPC ( > ( r e q u i r e SPC ' c l ) C-j C-y C-a C-M-f C-a M-f * C-e C-j C-p C-e C-j C-x n C-a C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e C-b C-b C-b C-b C-a C-s ' e m e m C-a C-v C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-s l o o k C-s C-s C-a C-x 1 C-x b x r e p o r t - e m SPC Recent messages: Quit x*DING* [2 times] Mark saved where search started [3 times] Mark set x*DING* Mark saved where search started [2 times] Mark set [3 times] Mark saved where search started x*DING* Mark saved where search started [2 times] -- Pray, v. To ask that the laws of the universe be annulled in behalf of a single petitioner confessedly unworthy. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 17 02:27:41 2011 Received: (at control) by debbugs.gnu.org; 17 Sep 2011 06:27:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4oNJ-0004pg-Al for submit@debbugs.gnu.org; Sat, 17 Sep 2011 02:27:41 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4oNH-0004pZ-1m for control@debbugs.gnu.org; Sat, 17 Sep 2011 02:27:39 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R4oIX-0002y9-51 for control@debbugs.gnu.org; Sat, 17 Sep 2011 08:22:45 +0200 Date: Sat, 17 Sep 2011 08:19:26 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #3647 X-MailScanner-ID: 1R4oIX-0002y9-51 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1316845365.22422@93fDp3lm+qCkswI5HQPydg X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 3647 confirmed From unknown Sat Aug 16 22:48:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#3647: 23.1.50; defun* generates incorrect code for handling arglist keyword lookup Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2011 06:43:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Miles Bader Cc: 3647@debbugs.gnu.org Received: via spool by 3647-submit@debbugs.gnu.org id=B3647.131624177923251 (code B ref 3647); Sat, 17 Sep 2011 06:43:06 +0000 Received: (at 3647) by debbugs.gnu.org; 17 Sep 2011 06:42:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4obs-00062e-5Y for submit@debbugs.gnu.org; Sat, 17 Sep 2011 02:42:52 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4obi-00061z-Fr for 3647@debbugs.gnu.org; Sat, 17 Sep 2011 02:42:36 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R4oWx-0003OA-HP; Sat, 17 Sep 2011 08:37:39 +0200 From: Lars Magne Ingebrigtsen In-Reply-To: (Miles Bader's message of "Mon, 22 Jun 2009 15:45:29 +0900") Date: Sat, 17 Sep 2011 08:19:24 +0200 Message-ID: References: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Laura Jean's _Tour EP, 2009_: "When I See You" MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1R4oWx-0003OA-HP X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1316846259.64574@cDYfZOrDB2hTeKD9AanSMg X-Spam-Status: No X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Miles Bader writes: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > Given the following code: > > (require 'cl) > (defun* oink (&key a b) (list a b)) > > then evaluating: > > (oink :b :a :a 42) > => (:a :a) > > ... which is incorrect. The correct answer is (42 :A). I can confirm that this bug is still present in Emacs 24. > Looking at the macro-expansion of the above defun* form, the reason is > obvious: the generated code uses (car (cdr (memq KEYWORD ARGLIST))) to > look up keyword argument values, which is obviously bogus if a preceding > argument value is the same as a keyword. It would be more correct to > use (plist-get ARGUMENT KEYWORD), and that's what common-lisp systems I > tested return for this test. > > However, the code in cl.el that generates keyword handling code is so > confusing, I'm not really sure how to fix this; presumably something in > `cl-do-arglist'? Hm. I think that function could do with some well-placed comments. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From unknown Sat Aug 16 22:48:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Miles Bader Subject: bug#3647: closed (Done) Message-ID: References: <532E7D39.4060402@dancol.org> X-Gnu-PR-Message: they-closed 3647 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: confirmed Reply-To: 3647@debbugs.gnu.org Date: Sun, 23 Mar 2014 06:21:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1395555663-2900-1" This is a multi-part message in MIME format... ------------=_1395555663-2900-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #3647: 23.1.50; defun* generates incorrect code for handling arglist keywor= d lookup which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 3647@debbugs.gnu.org. --=20 3647: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3647 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1395555663-2900-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3647-done) by debbugs.gnu.org; 23 Mar 2014 06:20:47 +0000 Received: from localhost ([127.0.0.1]:45331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRbm2-0000k4-IN for submit@debbugs.gnu.org; Sun, 23 Mar 2014 02:20:46 -0400 Received: from dancol.org ([96.126.100.184]:58481) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRbm0-0000jv-2R for 3647-done@debbugs.gnu.org; Sun, 23 Mar 2014 02:20:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=WDTij1M0LapQjY//c5YiSmay8rlfXaDVgr/4dKgwN0E=; b=fXwCLNMuak6Tn/nJGll/htRiVqIaT2SAzmkAvKoGD1jx6P/EGivcfXSc/XzXoFVnVU4sEunWNUYP7ZkV1WN0OKKf8HeWoAeQH/4X9wqlJCev2LndfDWwuyl+JKgc383R4z8Fjunb4yO8p0JjZ2EAz96gZ7dt4Ke0rQCJsqSd48sK7Z+meoc9BTo5P7Q4mw8AU4Bm5Wv2BQuXrc+mWnV0IU9Ob4tn+iHCLktvTPJcaWVIodjkQl4luJPB0gRlN5dld2RfjR1tCPBB55rONavMy06+XujE8+UyLZQTYTmY7Ngd42V5Oo7b63eAMLiHxjWq+VYZH/jf59p7/r4uESpeOA==; Received: from [2601:8:b200:551::2b1] by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1WRbly-0000l3-Vo for 3647-done@debbugs.gnu.org; Sat, 22 Mar 2014 23:20:43 -0700 Message-ID: <532E7D39.4060402@dancol.org> Date: Sat, 22 Mar 2014 23:20:41 -0700 From: Daniel Colascione User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: 3647-done@debbugs.gnu.org Subject: Done X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E5wPUErIPBFtNRsGwqIMSa3ensP2BUbPk" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 3647-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --E5wPUErIPBFtNRsGwqIMSa3ensP2BUbPk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Done --E5wPUErIPBFtNRsGwqIMSa3ensP2BUbPk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTLn05AAoJEMAaIROpHW7IofMQAMW81KSY2diZImrokV4rvUIi YsJqEm4mWpLFFrF9d41ZWr0POcFMbxWV7nefR/mv4OJIBsvFkcP3evPbHHYo/KfH PHqyK98P6+SdhAiyee2IFwNShzB48no9+BP6wtabrSXastKExbpbE3KcsAvlNj1w SMGcP1gcT+AJhqK4PSs6w6aL/t75wZkwiNpMn6kd1nvZN9oj/d0FZ+xmxwVxn3r9 f1V0Em1kATDkvgzD7K1+dvSyjZJH17Qt/Ful3/wy+Ygn4qGKusrsCwAHKjZ1mxDv cpsMpyX+XhQcXwnfHf2cqQT4JnVAxxJFU9PPSzArqVZeagLvds9jYpZYYjBT0xFz yIqmXTX9QZgUJOBl5f6Sq/JydbNIQDQK9dYaSf06Nad4S7TXjhAG08namIdOnQfW CzFmE9EWeEl4eF/+AeCUir6IF18ZpMaKL2WIGy2lvK2yW9HN0CCmIIYCUHy6+6ZK M6+rUA8a0DX7nd69RO/E6ZZCURdPZ3Ci1Dz7AJklOLUpWjcy2Xr5wqv+/oSV6Et4 s3kuHGAeMZW8Q3UIGzQf4NWBPQYIx8uqxTg/sY105ulhfbHANsoKp5nlLoZGo+J5 CyNJ7Zqom8jVES4RhmkcDhUPluQWpJ2s5UIbE7sp7mM0IAJVUSEfUa5e8XPJWn1k JLOtKE7jaq/F8JPWMw15 =ecJI -----END PGP SIGNATURE----- --E5wPUErIPBFtNRsGwqIMSa3ensP2BUbPk-- ------------=_1395555663-2900-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jun 2009 06:45:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M6jeSY021119 for ; Sun, 21 Jun 2009 23:45:42 -0700 Received: from mail.gnu.org ([199.232.76.166]:43194 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MIdHf-0003J5-Lw for emacs-pretest-bug@gnu.org; Mon, 22 Jun 2009 02:45:39 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MIdHd-00022R-5n for emacs-pretest-bug@gnu.org; Mon, 22 Jun 2009 02:45:39 -0400 Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:47375) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIdHc-00021Z-9G; Mon, 22 Jun 2009 02:45:37 -0400 Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n5M6jUs8014828; Mon, 22 Jun 2009 15:45:30 +0900 (JST) Received: from relay31.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay31.aps.necel.com with ESMTP; Mon, 22 Jun 2009 15:45:30 +0900 Received: from dhlpc061 ([10.114.113.45] [10.114.113.45]) by relay31.aps.necel.com with ESMTP; Mon, 22 Jun 2009 15:45:30 +0900 Received: by dhlpc061 (Postfix, from userid 31295) id 6428952E1E2; Mon, 22 Jun 2009 15:45:30 +0900 (JST) From: Miles Bader To: emacs-pretest-bug@gnu.org Subject: 23.1.50; defun* generates incorrect code for handling arglist keyword lookup Reply-To: Miles Bader System-Type: x86_64-unknown-linux-gnu Blat: Foop Date: Mon, 22 Jun 2009 15:45:29 +0900 Message-ID: Lines: 117 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: miles.bader@necel.com X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Given the following code: (require 'cl) (defun* oink (&key a b) (list a b)) then evaluating: (oink :b :a :a 42) => (:a :a) ... which is incorrect. The correct answer is (42 :A). Looking at the macro-expansion of the above defun* form, the reason is obvious: the generated code uses (car (cdr (memq KEYWORD ARGLIST))) to look up keyword argument values, which is obviously bogus if a preceding argument value is the same as a keyword. It would be more correct to use (plist-get ARGUMENT KEYWORD), and that's what common-lisp systems I tested return for this test. However, the code in cl.el that generates keyword handling code is so confusing, I'm not really sure how to fix this; presumably something in `cl-do-arglist'? Thanks, -Miles If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.2) of 2009-06-22 on dhlpc061 Windowing system distributor `The X.Org Foundation', version 11.0.10601901 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t recentf-mode: t rcirc-track-minor-mode: t minibuffer-electric-default-mode: t display-time-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-p C-n C-u C-p C-u C-p n i n n n n n n n n n n n n n n SPC n n n n n c y M-v C-u C-u C-p C-u C-p C-u C-p C-u C-p C-u C-p C-u C-p C-n C-n C-n C-n C-n C-n C-n = C-e C-a C-x C-v C-g C-g C-g C-x C-v $ % e l s e / m a s t e r / l i s p / e m a c s - l i e m c l - m a C-s C-s m e C-a C-s m e m q C-s C-s C-s C-s C-s C-s C-s C-a C-s k e y w o C-s C-a C-s m e m q C-s C-s C-s C-s C-s C-s C-M-u C-M-u C-M-u C-M-a C-s ( c d r SPC ( C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-s k e y w o r d C-s C-s C-s C-s C-s C-x 2 C-x b * s c SPC ( > ( r e q u i r e SPC ' c l ) C-j C-y C-a C-M-f C-a M-f * C-e C-j C-p C-e C-j C-x n C-a C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e C-b C-b C-b C-b C-a C-s ' e m e m C-a C-v C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-s l o o k C-s C-s C-a C-x 1 C-x b x r e p o r t - e m SPC Recent messages: Quit x*DING* [2 times] Mark saved where search started [3 times] Mark set x*DING* Mark saved where search started [2 times] Mark set [3 times] Mark saved where search started x*DING* Mark saved where search started [2 times] -- Pray, v. To ask that the laws of the universe be annulled in behalf of a single petitioner confessedly unworthy. ------------=_1395555663-2900-1--