From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: mode-line menu for minor modes Date: Tue, 19 Feb 2008 22:29:18 -0800 Message-ID: <200802200629.m1K6TIoH027637@sallyv1.ics.uci.edu> References: <200802190809.m1J89C74001353@sallyv1.ics.uci.edu> <008201c87372$3d5b2ab0$0600a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203489090 23762 80.91.229.12 (20 Feb 2008 06:31:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2008 06:31:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 20 07:31:54 2008 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 1JRiUj-0002OR-04 for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2008 07:31:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRiUD-0000RS-VF for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2008 01:31:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRiU9-0000RN-KM for emacs-devel@gnu.org; Wed, 20 Feb 2008 01:31:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRiU6-0000RB-Gn for emacs-devel@gnu.org; Wed, 20 Feb 2008 01:31:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRiU6-0000R8-CH for emacs-devel@gnu.org; Wed, 20 Feb 2008 01:31:14 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JRiU5-0001sP-U8 for emacs-devel@gnu.org; Wed, 20 Feb 2008 01:31:14 -0500 X-ICS-MailScanner-Watermark: 1204093762.6121@qC5XU0copDr6ytNug1NQjg Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1K6TIoH027637; Tue, 19 Feb 2008 22:29:18 -0800 (PST) In-Reply-To: <008201c87372$3d5b2ab0$0600a8c0@us.oracle.com> (Drew Adams's message of "Tue, 19 Feb 2008 19:39:46 -0800") Original-Lines: 22 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: 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:89656 Archived-At: "Drew Adams" writes: > > The new feature to pop a menu when clicking on the mode-line > > :lighter for > > minor modes is great. > > > > But for minor modes that don't provide a menu, just an error > > message is > > displayed: "No menu for minor mode `BLAH'". This is not very helpful > > for the user, it would be nicer to pop up a menu that has (at least) 2 > > entries: - one to turn off the minor mode > > - one to show the help for that minor mode. > > > > Yes, these are available elsewhere, but it's better to > > provide something > > useful and consistent for mouse-1 instead of just complaining that a > > menu is not available. > > Good idea. Given that you wrote the rest of the minor mode menu popup code, do you want to implement this too?