From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#7303: Suggestion: Move minor mode menus to one common top-levelsubmenu Date: Fri, 29 Oct 2010 14:20:37 -0700 Message-ID: <2ACD2D1AF0004AD38E4A3C9C6CD4815A@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288388600 13021 80.91.229.12 (29 Oct 2010 21:43:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2010 21:43:20 +0000 (UTC) To: "'Lennart Borgman'" , <7303@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 29 23:43:19 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PBwjG-0007rV-AL for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 23:43:18 +0200 Original-Received: from localhost ([127.0.0.1]:50834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBwjF-00007R-Ry for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 17:43:17 -0400 Original-Received: from [140.186.70.92] (port=56935 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBwj9-00007I-JN for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 17:43:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBwj8-0004Uc-Be for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 17:43:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBwj8-0004UL-9x for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 17:43:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBwKn-00071q-Q8; Fri, 29 Oct 2010 17:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Oct 2010 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7303 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7303-submit@debbugs.gnu.org id=B7303.128838702727010 (code B ref 7303); Fri, 29 Oct 2010 21:18:01 +0000 Original-Received: (at 7303) by debbugs.gnu.org; 29 Oct 2010 21:17:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBwJu-00071b-PV for submit@debbugs.gnu.org; Fri, 29 Oct 2010 17:17:07 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBwJt-00071C-QA for 7303@debbugs.gnu.org; Fri, 29 Oct 2010 17:17:06 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o9TLLFua011082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Oct 2010 21:21:16 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o9SIUmwZ008691; Fri, 29 Oct 2010 21:21:14 GMT Original-Received: from abhmt003.oracle.com by acsmt353.oracle.com with ESMTP id 732002821288387238; Fri, 29 Oct 2010 14:20:38 -0700 Original-Received: from dradamslap1 (/10.159.237.112) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 29 Oct 2010 14:20:37 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Act3pdIyJef7HzS4QuCmcR2phdWPxgAAOG7A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 29 Oct 2010 17:18:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41255 Archived-At: > I suggest we move all minor mode to one common top-level submenu for > two reasons: > > - It takes less space in the menu bar. > - The distinction between minor and major modes becomes more clear. > > This submenu could also preferably be ordered by local and > global minor modes. IMO, that's not the right solution. We should leave it up to users and libraries to decide where to put menus. This kind of choice depends on the context, and sometimes on user preference. The devil is in the details. However, some general mechanism to deal with an overly wide menu bar or mode line could be useful, especially if optional. Currently, the menu bar and mode line are treated differently when their content is too wide for the frame and window, respectively. The menu bar content is wrapped. The mode line content is truncated at the right. * This might be useful for the mode line: Whenever stuff cannot be displayed and will be truncated, gather it and make it all accessible by a link in the mode line. Obviously, the link itself takes some space, but it could be short (e.g. `...'). * Something similar would be helpful for the menu bar: Have a user option that specifies a max width. If nil, then the current behavior would be followed (just wrap). Otherwise, if the menu-bar content is wider than the option value, then the behavior would be similar to the mode-line behavior suggested above: Gather all menus that would be wrapped into a final menu `...' instead.