From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: `key-binding' and XEmacs-style events Date: Sat, 3 Mar 2007 22:27:40 -0800 (PST) Message-ID: <45277.128.165.0.81.1172989660.squirrel@webmail.lanl.gov> References: <36817.128.165.123.18.1172703473.squirrel@webmail.lanl.gov> <38667.128.165.123.18.1172788075.squirrel@webmail.lanl.gov> <85irdk9gnp.fsf@lola.goethe.zz> <85wt1y3hcv.fsf@lola.goethe.zz> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1172989685 27532 80.91.229.12 (4 Mar 2007 06:28:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2007 06:28:05 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Richard Stallman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 04 07:27:58 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 1HNkCM-0002es-GK for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 07:27:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNkCL-0003M8-Rt for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 01:27:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNkC9-0003LY-N7 for emacs-devel@gnu.org; Sun, 04 Mar 2007 01:27:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNkC8-0003LA-7e for emacs-devel@gnu.org; Sun, 04 Mar 2007 01:27:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNkC8-0003L7-3p for emacs-devel@gnu.org; Sun, 04 Mar 2007 01:27:44 -0500 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HNkC6-0006CX-1z; Sun, 04 Mar 2007 01:27:42 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l246RffS021980; Sat, 3 Mar 2007 23:27:41 -0700 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l246ReqP015923; Sat, 3 Mar 2007 23:27:41 -0700 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l246ReCH003892; Sat, 3 Mar 2007 23:27:40 -0700 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l246ReAd003890; Sat, 3 Mar 2007 22:27:40 -0800 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.0.81 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Sat, 3 Mar 2007 22:27:40 -0800 (PST) In-Reply-To: User-Agent: SquirrelMail/1.4.8-2.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 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:67285 Archived-At: > > A list as a member of a key sequence has no meaning except > > in terms of XEmacs compatibility, so I think confusion is not > > possible. > > key-binding can be called with a mouse event inside of a key sequence > vector. That was what the problem report was about in the first > place. > > I stand corrected -- but the original problem report was not about a > mouse event, it was about using a character inside a list. > > The car of a mouse event list is a symbol. If the recent fix > does not alter what is done when the car is a symbol, it should not > alter treatment of mouse events. Isn't that so? Unless I made a mistake, the fix I made does nothing at all except avoiding an error when the car of a list is not a symbol: the rest of the code proceeds as it did before and (since the modifier lists are in general handled correctly) does the right thing. If it is a symbol, exactly the same code is executed, merely with certain side-effect-free expressions evaluated in a slightly different order. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.