From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Anthony Newsgroups: gmane.emacs.devel Subject: Re: Text Mode Menu Date: Mon, 7 Oct 2013 23:41:13 +0400 Message-ID: <20131007194113.GA809@jo.hnanthony.com> References: <20131005021456.GA22666@jo.hnanthony.com> <71dde3f7-c8ae-4aa8-904f-f72ce90e3d33@default> <20131007154710.GA32758@jo.hnanthony.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1381174952 12115 80.91.229.3 (7 Oct 2013 19:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 19:42:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 07 21:42:34 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTGhM-0006VT-Vy for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2013 21:42:33 +0200 Original-Received: from localhost ([::1]:33192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTGhM-0004Va-LS for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2013 15:42:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTGhE-0004UX-Kw for emacs-devel@gnu.org; Mon, 07 Oct 2013 15:42:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTGh8-0007vg-KV for emacs-devel@gnu.org; Mon, 07 Oct 2013 15:42:24 -0400 Original-Received: from [198.46.132.138] (port=42187 helo=jo.hnanthony.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTGh8-0007vQ-Fp for emacs-devel@gnu.org; Mon, 07 Oct 2013 15:42:18 -0400 Original-Received: from jo.hnanthony.com (localhost.localdomain [127.0.0.1]) by jo.hnanthony.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id r97JfD1R000837; Mon, 7 Oct 2013 23:41:14 +0400 Original-Received: (from john@localhost) by jo.hnanthony.com (8.14.3/8.14.3/Submit) id r97JfDq2000836; Mon, 7 Oct 2013 23:41:13 +0400 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 198.46.132.138 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163966 Archived-At: 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