From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [drew.adams@oracle.com: Customize value menu doesn't recognizemouse-2] Date: Tue, 01 Aug 2006 03:10:41 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1154416266 15621 80.91.229.2 (1 Aug 2006 07:11:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 07:11:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 09:11:05 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 1G7oP4-0008M0-CB for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 09:10:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7oP3-0007bs-Hl for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 03:10:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7oOp-0007ZE-E3 for emacs-devel@gnu.org; Tue, 01 Aug 2006 03:10:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7oOo-0007Yu-MI for emacs-devel@gnu.org; Tue, 01 Aug 2006 03:10:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7oOo-0007Yr-Cf for emacs-devel@gnu.org; Tue, 01 Aug 2006 03:10:42 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7oRe-0006SM-8U for emacs-devel@gnu.org; Tue, 01 Aug 2006 03:13:38 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.34) id 1G7oOn-0003oI-Bf; Tue, 01 Aug 2006 03:10:41 -0400 Original-To: "Drew Adams" In-reply-to: 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:57920 Archived-At: > From: "Drew Adams" > Date: Mon, 31 Jul 2006 20:33:41 -0700 > > > 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. > > What Richard described for the other platforms is exactly the behavior I > requested when I filed this bug. I'm not sure you interpret what Richard wrote correctly: I think he was talking about the value menu dropped when one presses on a button inside a Customize buffer, whereas you seem to interpret that as a more general statement about menus in general. See below about the latter. > 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. Actually, what happens when you click mouse-2 in a menu on X depends on the toolkit, AFAICS. Xt and GTK indeed behave like you say, but Motif behaves like MS-Windows: mouse-2 is ignored in menus, and you need to use mouse-1. I looked in a couple of other GUI applications on Windows, and it looks like they ignore mouse-2 in menus. With buttons in Customize, it's different: there all toolkits I could try behave as Richard described, probably because Emacs itself handles the click. So, at least for menus in general, this doesn't sound like a behavior aspect that is consistent across platforms. > IOW, "Please leave things alone" ... "Done" sounds like a quick cop-out, to > me. Richard asked to do nothing, so I complied. > 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. Even though other GUI programs behave on Windows like we do now?