From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: when to bind *down-mouse* vs *mouse*? Date: Sat, 4 Dec 2004 22:42:16 +0100 Message-ID: <5E007C96-463D-11D9-BA85-000D93505B76@swipnet.se> References: <874qj23pxi.fsf@confusibombus.emacswiki.org> <002501c4da35$1591b910$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1102196575 19882 80.91.229.6 (4 Dec 2004 21:42:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2004 21:42:55 +0000 (UTC) Cc: emacs-devel@gnu.org, Luc Teirlinck , Drew Adams , Alex Schroeder Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 04 22:42:48 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cahg0-0005G1-00 for ; Sat, 04 Dec 2004 22:42:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cahpf-0002hf-Oh for ged-emacs-devel@m.gmane.org; Sat, 04 Dec 2004 16:52:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CahpN-0002hQ-L9 for emacs-devel@gnu.org; Sat, 04 Dec 2004 16:52:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CahpN-0002hD-2M for emacs-devel@gnu.org; Sat, 04 Dec 2004 16:52:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CahpM-0002hA-Vr for emacs-devel@gnu.org; Sat, 04 Dec 2004 16:52:29 -0500 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cahfc-0008D1-P3 for emacs-devel@gnu.org; Sat, 04 Dec 2004 16:42:25 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep01.bredband.com with ESMTP id <20041204214223.EWI18879.mxfep01.bredband.com@coolsville.localdomain>; Sat, 4 Dec 2004 22:42:23 +0100 In-Reply-To: <002501c4da35$1591b910$0200a8c0@sedrcw11488> Original-To: "Lennart Borgman" X-Mailer: Apple Mail (2.619) 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: main.gmane.org gmane.emacs.devel:30677 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30677 > >> When the action creates a popup menu, I think we want to bind it to >> the mouse-down event. I seem to situations where the menu would >> disappear as soon as you released the mouse. If you released the >> mouse on a menu item, that menu item has been "chosen" by the user. > > I do not agree on this. The reason we do not agree is perhaps that I am > using MS Windows and you are not (I do not know what you are using)? > On MS > Windows I believe it is standard that CLICKING mouse 2 brings up a > popup > menu (if there is any). You can then use the keyboard or the mouse to > choose > from this menu. > > My impression of this "standard" is that it is good because you do not > have > to use the mouse very much, which can be difficult for some people and > for > some other is an unnecessary burden and a hazard. I believe that this > could > be a reason for the choice MS has made here. FWIW, the standard behaviour for X toolkits is that if the mouse down, mouse up happens within a certain time, the menu stays up and you can navigate it with keys and/or mouse. That way you get the best of both behaviours. Jan D.