From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: `key-binding' and XEmacs-style events Date: Fri, 02 Mar 2007 03:26:17 -0500 Message-ID: References: <36817.128.165.123.18.1172703473.squirrel@webmail.lanl.gov> <38667.128.165.123.18.1172788075.squirrel@webmail.lanl.gov> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1172824164 6585 80.91.229.12 (2 Mar 2007 08:29:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2007 08:29:24 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 02 09:29:17 2007 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.50) id 1HN38d-0004lY-Un for ged-emacs-devel@m.gmane.org; Fri, 02 Mar 2007 09:29:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HN38d-0006ZD-DE for ged-emacs-devel@m.gmane.org; Fri, 02 Mar 2007 03:29:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HN37O-0005h9-9n for emacs-devel@gnu.org; Fri, 02 Mar 2007 03:27:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HN37N-0005ge-J0 for emacs-devel@gnu.org; Fri, 02 Mar 2007 03:27:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HN37N-0005gY-8C for emacs-devel@gnu.org; Fri, 02 Mar 2007 03:27:57 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HN37M-0004lU-VJ for emacs-devel@gnu.org; Fri, 02 Mar 2007 03:27:57 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HN35l-0004Ir-44; Fri, 02 Mar 2007 03:26:17 -0500 In-reply-to: <38667.128.165.123.18.1172788075.squirrel@webmail.lanl.gov> (herring@lanl.gov) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:67204 Archived-At: We're talking about going the other way -- supporting (key-binding [(?a)]) in Emacs (I don't know what XEmacs thinks of event-lists with no modifiers). The simplest fix seems to be to move the check that the list is at least two long before the code that uses its first element as a symbol: Would someone please install your patch?