From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Mode line menus Date: Sat, 07 Nov 2009 14:53:23 -0500 Message-ID: <87zl6y6rik.fsf@stupidchicken.com> References: <87hbt6m9xw.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257623669 27762 80.91.229.12 (7 Nov 2009 19:54:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Nov 2009 19:54:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 07 20:54:22 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 1N6rMc-00069c-33 for ged-emacs-devel@m.gmane.org; Sat, 07 Nov 2009 20:54:22 +0100 Original-Received: from localhost ([127.0.0.1]:48978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6rMb-0002l2-M4 for ged-emacs-devel@m.gmane.org; Sat, 07 Nov 2009 14:54:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6rLm-0002GK-Vd for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:53:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6rLi-0002Ea-2V for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:53:30 -0500 Original-Received: from [199.232.76.173] (port=35240 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6rLh-0002EV-Ug for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:53:25 -0500 Original-Received: from pantheon-po27.its.yale.edu ([130.132.50.122]:41772) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N6rLh-0002Cb-Ko for emacs-devel@gnu.org; Sat, 07 Nov 2009 14:53:25 -0500 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po27.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nA7JrNUK001730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Nov 2009 14:53:23 -0500 Original-Received: by furry (Postfix, from userid 1000) id D7B76C070; Sat, 7 Nov 2009 14:53:23 -0500 (EST) In-Reply-To: (Andreas Schwab's message of "Sat, 07 Nov 2009 20:34:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:116708 Archived-At: Andreas Schwab writes: >> 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). > > I don't see that here. > >> Nowadays, clicking on a menu button is expected to pop up a menu, which >> is dismissed by clicking elsewhere or by selecting a menu item with >> another click. > > This is exactly the behaviour I get. Interesting. Maybe there's a bug. I'm running a GTK build (i686-pc-linux-gnu, GTK+ Version 2.16.1) on latest trunk. If I do a mouse-1 click-and-release on the major mode name, most of the time it does not pop up a menu. Instead, I get an echo area message "mode-line down-mouse-1-" and that's all. Once in a while, the menu seems to pop up and stay up. But this happens very occasionally.