all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Anthony <john@jo.hnanthony.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: Text Mode Menu
Date: Mon, 7 Oct 2013 23:41:13 +0400	[thread overview]
Message-ID: <20131007194113.GA809@jo.hnanthony.com> (raw)
In-Reply-To: <ad5ebca2-fa83-4095-b203-174c90c1e337@default>

On Mon, Oct 07, 2013 at 10:22:21AM -0700, Drew Adams wrote:
> 
> > > 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. ;-))

Yes, I can see what you mean now. I'll be honest; I find the menu
implementations of all the major and minor modes to be frankly
horribly inconsistant. I suspect this is something I should get used
to.

--
John Anthony



  parent reply	other threads:[~2013-10-07 19:41 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
2013-10-07 17:41       ` Davis Herring
2013-10-07 17:49         ` Drew Adams
2013-10-07 19:41       ` John Anthony [this message]
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

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

  git send-email \
    --in-reply-to=20131007194113.GA809@jo.hnanthony.com \
    --to=john@jo.hnanthony.com \
    --cc=drew.adams@oracle.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.