unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: mode-line major and minor mode help text and bindings
Date: Sat, 29 Apr 2006 23:04:24 -0400	[thread overview]
Message-ID: <E1Fa2ES-0003oy-Bj@fencepost.gnu.org> (raw)
In-Reply-To: <MEEKKIABFKKDFJMPIOEBEEANDBAA.drew.adams@oracle.com>

    1. "major-mode-menu": This should be "major-mode menu" (or "major mode
    menu", depending on the hyphenation convention used by Emacs).

    2. "minor mode menu": This looks just like the major-mode case, but in this
    case it is not a menu for the indicated minor mode but a menu to turn on/off
    *any* minor modes. This should be called something like "menu to change
    minor modes" or "menu of minor modes".

    3. Why is the menu for the major mode on mouse-1 and the menu for the minor
    modes on mouse-3? Why not put them both on mouse-3 (but see #6, below, for a
    better suggestion).

Mouse-3 does minor modes in both places.  This is necessary so that
there is a way to turn on minor modes even when none are on.

    4. "help for minor modes" (with an `s') is apparently not correct. The
    mouse-3 minor-modes menu shows that these minor modes are all turned on:
    font lock, line number, and outline. However, mouse-2 over the minor-mode
    lighter gives only the help for outline-minor-mode (perhaps since that is
    the only lighter?); it does not give "help for [all] minor modes". If only
    one mode is described then this should be called "help for this minor mode".

I took action on these four.  Thanks.

    5. Enhancement suggestion: Have mouse-1 toggle the minor mode (of that
    lighter). This is a shortcut for using the minor-modes menu and choosing the
    corresponding menu item.

That would only give you a way to turn minor modes off.
I don't think it is a good idea.

    6. Enhancement suggestion: It seems a bit silly to have the same menu be on
    each of the minor-mode lighters - a waste of the mouse-3 binding.
    Suggestion: Instead, add this minor-modes menu to the major-mode menu as a
    submenu, "Choose Minor Modes". Bonus: if the minor mode (for that lighter)
    has, itself, a menu, that could be on mouse-3.

That would be less convenient, and there is nothing else natural
for mouse-3 to do here.

  parent reply	other threads:[~2006-04-30  3:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-29 18:14 mode-line major and minor mode help text and bindings Drew Adams
2006-04-29 18:18 ` Drew Adams
2006-04-30  3:04 ` Richard Stallman [this message]
2006-11-04 18:41   ` mouse-1 on minor-mode lighter in mode line could bring up the minor mode's menu Drew Adams
2006-11-05 19:23     ` Richard Stallman
2006-11-05 19:37       ` mouse-1 on minor-mode lighter in mode line could bring up the minormode's menu Drew Adams
2006-11-06 16:07         ` Richard Stallman
2006-11-06 16:27           ` mouse-1 on minor-mode lighter in mode line could bring up theminormode's menu Drew Adams
2006-11-07 16:47             ` Richard Stallman
2006-11-07 17:17               ` mouse-1 on minor-mode lighter in mode line could bring uptheminormode's menu Drew Adams
2006-11-08 16:58                 ` Richard Stallman

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=E1Fa2ES-0003oy-Bj@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).