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'trecognizemouse-2] Date: Wed, 02 Aug 2006 01:34:41 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1154496907 30508 80.91.229.2 (2 Aug 2006 05:35:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2006 05:35:07 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 02 07:35: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 1G89Nn-000254-V2 for ged-emacs-devel@m.gmane.org; Wed, 02 Aug 2006 07:35:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G89Nn-0005CK-Dw for ged-emacs-devel@m.gmane.org; Wed, 02 Aug 2006 01:35:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G89Nb-00058j-Jp for emacs-devel@gnu.org; Wed, 02 Aug 2006 01:34:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G89Na-00058T-5T for emacs-devel@gnu.org; Wed, 02 Aug 2006 01:34:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G89Na-00058M-2a for emacs-devel@gnu.org; Wed, 02 Aug 2006 01:34:50 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G89Qc-0006lq-SI for emacs-devel@gnu.org; Wed, 02 Aug 2006 01:37:59 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.34) id 1G89NR-0002jO-1S; Wed, 02 Aug 2006 01:34:41 -0400 Original-To: rms@gnu.org In-reply-to: (rms@gnu.org) 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:57981 Archived-At: > From: > Date: Tue, 01 Aug 2006 23:38:08 -0400 > Cc: emacs-devel@gnu.org > > Is it really true that different menus inside Emacs handle mouse > clicks differently on Windows? No, the menus behave the same. The problem is _not_ with the menu, it's with how one _activates_ the menu. In the menu bar, we don't bind mouse buttons to actions; rather, the window manager returns us events that cause us to activate the menu; the MS-Windows window manager does that only for mouse-1 clicks. By contrast, in a Customize buffer _we_ bind mouse-1 and mouse-2 on the "Value Menu" button to drop down a menu, so mouse-2 also works there. > That is surprising -- isn't it the same code handling all of them? Once the menu is activated, it is the same code, yes.