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: mode-line menu for minor modes Date: Tue, 19 Feb 2008 00:09:12 -0800 Message-ID: <200802190809.m1J89C74001353@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203408630 13868 80.91.229.12 (19 Feb 2008 08:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2008 08:10:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 19 09:10:53 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 1JRNYz-0004st-8w for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2008 09:10:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRNYU-0007GD-Ct for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2008 03:10:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRNYR-0007G8-3I for emacs-devel@gnu.org; Tue, 19 Feb 2008 03:10:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRNYP-0007Fw-HZ for emacs-devel@gnu.org; Tue, 19 Feb 2008 03:10:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRNYP-0007Ft-B4 for emacs-devel@gnu.org; Tue, 19 Feb 2008 03:10:17 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JRNYO-0002NH-TC for emacs-devel@gnu.org; Tue, 19 Feb 2008 03:10:17 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRNYN-00021a-Au for emacs-devel@gnu.org; Tue, 19 Feb 2008 03:10:15 -0500 X-ICS-MailScanner-Watermark: 1204013353.15703@5otag/TVBAJVIJY/jWCOeA 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 m1J89C74001353 for ; Tue, 19 Feb 2008 00:09:12 -0800 (PST) Original-Lines: 14 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 mx20.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:89548 Archived-At: 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.