emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Text Mode Menu


From: Drew Adams
Subject: RE: Text Mode Menu
Date: Mon, 7 Oct 2013 10:22:21 -0700 (PDT)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]