From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: [drew.adams@oracle.com: Customize value menu doesn't recognizemouse-2] Date: Mon, 31 Jul 2006 20:33:41 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154403305 19487 80.91.229.2 (1 Aug 2006 03:35:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 03:35:05 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 05:35:03 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G7l1y-0003v0-R9 for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 05:34:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7l1x-0003nS-5D for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 23:34:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7l1m-0003kv-6D for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:34:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7l1i-0003cc-1Q for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:34:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7l1h-0003c5-Rv for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:34:37 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G7l4V-0002FQ-2p for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:37:31 -0400 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k6VAD7dh024996 for ; Mon, 31 Jul 2006 22:34:35 -0500 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-80-1.vpn.oracle.com by rcsmt250.oracle.com with ESMTP id 1678053441154403222; Mon, 31 Jul 2006 21:33:42 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Whitelist: TRUE 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:57904 Archived-At: > From: Richard Stallman > > On GNU/Linux, probably with Lucid menus, I can select from > the menu using any of the three mouse buttons. > > (The latter part happens only on MS-Windows.) > > It sounds like a bug in the way menus work in Emacs on Windows. Actually, the code in w32menu.c is written to explicitly ignore clicks on any button but mouse-1 as long as a menu is open. This was done to solve a much more annoying bug on Windows, whereby, if you click mouse-2 while browsing a menu, Emacs would yank killed text after the menu pops down. > Please leave things alone. Done. What Richard described for the other platforms is exactly the behavior I requested when I filed this bug. It sounds to me like the fix for the more annoying bug (which I also reported, I believe) was not the right fix. Wouldn't the right fix have been to make mouse-2 select a menu item, just like on GNU/Linux? That would take care of both bugs, and bring Windows into line with the other platforms. IOW, "Please leave things alone" ... "Done" sounds like a quick cop-out, to me. I can't speak to hard it might be to fix this properly, so that Windows will DTRT, like GNU/Linux, but I can speak to what TRT would be for the user: exactly what Richard described.