From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: `key-binding' and XEmacs-style events Date: Fri, 02 Mar 2007 09:46:34 +0100 Message-ID: <85irdk9gnp.fsf@lola.goethe.zz> References: <36817.128.165.123.18.1172703473.squirrel@webmail.lanl.gov> <38667.128.165.123.18.1172788075.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172825257 9973 80.91.229.12 (2 Mar 2007 08:47:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2007 08:47:37 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 02 09:47:31 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 1HN3QI-00056C-Qr for ged-emacs-devel@m.gmane.org; Fri, 02 Mar 2007 09:47:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HN3QI-0002I2-CR for ged-emacs-devel@m.gmane.org; Fri, 02 Mar 2007 03:47:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HN3PU-0001Pu-M5 for emacs-devel@gnu.org; Fri, 02 Mar 2007 03:46:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HN3PS-0001Nd-Bb for emacs-devel@gnu.org; Fri, 02 Mar 2007 03:46:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HN3PR-0001NQ-T3 for emacs-devel@gnu.org; Fri, 02 Mar 2007 03:46:37 -0500 Original-Received: from mail-in-04.arcor-online.net ([151.189.21.44]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HN3PQ-0007ft-Ih; Fri, 02 Mar 2007 03:46:36 -0500 Original-Received: from mail-in-01-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id ED1E117FA02; Fri, 2 Mar 2007 09:46:34 +0100 (CET) Original-Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id DAD832C6E19; Fri, 2 Mar 2007 09:46:34 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-009-095.pools.arcor-ip.net [84.61.9.95]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id 9419A8C465; Fri, 2 Mar 2007 09:46:34 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 180BD1C4D3B2; Fri, 2 Mar 2007 09:46:34 +0100 (CET) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:67209 Archived-At: Richard Stallman writes: > 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? Done, but I am not sure that we have all the documentation in place that would have made it possible to avoid programming this bug in the first place. And I am utterly unsure that this will cover all cases of some XEmacs-style sequences possibly being confused with events. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum