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: Mode line menus Date: Sat, 07 Nov 2009 21:42:08 +0200 Message-ID: <83ocne9l67.fsf@gnu.org> References: <87hbt6m9xw.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1257623084 26291 80.91.229.12 (7 Nov 2009 19:44:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Nov 2009 19:44:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 07 20:44:37 2009 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 1N6rD7-0002sF-6D for ged-emacs-devel@m.gmane.org; Sat, 07 Nov 2009 20:44:33 +0100 Original-Received: from localhost ([127.0.0.1]:40436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6rD6-0005em-MB for ged-emacs-devel@m.gmane.org; Sat, 07 Nov 2009 14:44:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6rD0-0005ck-Np for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:44:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6rCw-0005Zh-2h for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:44:26 -0500 Original-Received: from [199.232.76.173] (port=49549 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6rCv-0005Ze-TB for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:44:21 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:36329) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6rCv-0000sI-Fw for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:44:21 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KSR0090080XE600@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 07 Nov 2009 21:44:11 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.37.193]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KSR0088Q85M6M30@a-mtaout20.012.net.il>; Sat, 07 Nov 2009 21:44:11 +0200 (IST) In-reply-to: <87hbt6m9xw.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:116707 Archived-At: > From: Chong Yidong > Date: Sat, 07 Nov 2009 14:06:19 -0500 > > Currently, the menus accessible from the mode-line (e.g. by clicking on > the major mode name) are bound to down-mouse-1. Therefore, you have to > hold down the mouse button after clicking the menus. Releasing the > mouse button immediately dismisses the menu, selecting the item the > cursor was on (if any). This is toolkit-dependent, I think. At least, on MS-Windows it doesn't happen (i.e. the menu stays on even after you release mouse-1). The same happens on MS-DOS and I think with native non-toolkit menus (on X without a toolkit) as well. > I'd like to switch to the standard behavior. Which is what? that you can release the button without the menu popping down? I won't mind that, but please make sure your code works in a non-toolkit build.