From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Text Mode Menu Date: Mon, 7 Oct 2013 10:22:21 -0700 (PDT) Message-ID: 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 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381166585 12315 80.91.229.3 (7 Oct 2013 17:23:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 17:23:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: John Anthony Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 07 19:23:06 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 1VTEWC-00074S-8s for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2013 19:22:52 +0200 Original-Received: from localhost ([::1]:60946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTEWB-0003A6-RE for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2013 13:22:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTEW0-0002yh-U9 for emacs-devel@gnu.org; Mon, 07 Oct 2013 13:22:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTEVs-0001bz-7V for emacs-devel@gnu.org; Mon, 07 Oct 2013 13:22:40 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:51503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTEVs-0001b8-0R for emacs-devel@gnu.org; Mon, 07 Oct 2013 13:22:32 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r97HMN63009289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Oct 2013 17:22:24 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r97HMLLD029342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Oct 2013 17:22:23 GMT Original-Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r97HMLkZ013711; Mon, 7 Oct 2013 17:22:21 GMT In-Reply-To: <20131007154710.GA32758@jo.hnanthony.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:163955 Archived-At: > > 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 >=20 > 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:=20 :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. ;-))