From: Drew Adams <drew.adams@oracle.com>
To: John Anthony <john@jo.hnanthony.com>
Cc: emacs-devel@gnu.org
Subject: RE: Text Mode Menu
Date: Mon, 7 Oct 2013 10:22:21 -0700 (PDT) [thread overview]
Message-ID: <ad5ebca2-fa83-4095-b203-174c90c1e337@default> (raw)
In-Reply-To: <20131007154710.GA32758@jo.hnanthony.com>
> > Two minor suggestions -
> >
> > > + '(menu-item "Text Mode Auto Fill"
> >
> > `Auto Fill' - toggle button shows that it is modal
> >
> > > + '(menu-item "Paragraph Indent Minor Mode"
> >
> > `Indent Paragraphs' - toggle button shows that it is modal
>
> Could you clarify this at all? Do you just mean clearer labels or
> could you give an example of a menu item that shows that the option is
> modal?
Yes, suggestions for the labels.
Your code (which I did not try) indicates that you use toggle buttons:
:button (:toggle . (memq 'turn-on-auto-fill text-mode-hook))
They should thus appear similar to what we see in the Options menu.
You can tell by looking at the menu item and its checkmark (or lack
thereof) that the item represents something with two states ("modes"),
and you can tell what the current state is.
This means that you need not add words in the menu item label to say
that the thing is modal: "... Minor Mode". (Yes, one cannot tell from
the toggle button alone that the mode is minor, but that is only minor
info. ;-))
next prev parent reply other threads:[~2013-10-07 17:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-05 2:14 Text Mode Menu John Anthony
2013-10-05 14:24 ` Drew Adams
2013-10-07 15:47 ` John Anthony
2013-10-07 17:22 ` Drew Adams [this message]
2013-10-07 17:41 ` Davis Herring
2013-10-07 17:49 ` Drew Adams
2013-10-07 19:41 ` John Anthony
2013-10-07 20:44 ` Drew Adams
2013-10-07 21:52 ` John Anthony
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=ad5ebca2-fa83-4095-b203-174c90c1e337@default \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=john@jo.hnanthony.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).