unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lennart Borgman'" <lennart.borgman@gmail.com>, <7303@debbugs.gnu.org>
Subject: bug#7303: Suggestion: Move minor mode menus to one common top-levelsubmenu
Date: Fri, 29 Oct 2010 14:20:37 -0700	[thread overview]
Message-ID: <2ACD2D1AF0004AD38E4A3C9C6CD4815A@us.oracle.com> (raw)
In-Reply-To: <AANLkTinAKV63cN6AUcKfyefv0Fnf=gw=w1+f841seH1D@mail.gmail.com>

> 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.







  reply	other threads:[~2010-10-29 21:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29 19:54 bug#7303: Suggestion: Move minor mode menus to one common top-level submenu Lennart Borgman
2010-10-29 21:20 ` Drew Adams [this message]
2010-10-29 21:53   ` bug#7303: Suggestion: Move minor mode menus to one common top-levelsubmenu Lennart Borgman
2020-11-19  4:36   ` Stefan Kangas
2020-11-24  6:41     ` Lars Ingebrigtsen
2020-11-24 16:19       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ACD2D1AF0004AD38E4A3C9C6CD4815A@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=7303@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).