From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: Two new entries in menu-bar's Tools menu Date: Sun, 17 Feb 2002 11:10:14 +0100 Organization: The Church of Emacs Message-ID: References: <557-Wed13Feb2002214610+0200-eliz@is.elta.co.il> <5xeljp5aq7.fsf@kfs2.cua.dk> <200202151036.g1FAarL07333@santafe.santafe.edu> <200202162156.g1GLu0x09942@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013941512 28193 195.204.10.66 (17 Feb 2002 10:25:12 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 17 Feb 2002 10:25:12 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16cOVL-0007Kd-00 for ; Sun, 17 Feb 2002 11:25:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cOIq-0007XO-00; Sun, 17 Feb 2002 05:12:16 -0500 Original-Received: from sheridan.dina.kvl.dk ([130.225.40.227]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cOH2-0007Sm-00; Sun, 17 Feb 2002 05:10:24 -0500 Original-Received: from ssv2.dina.kvl.dk (ssv2.dina.kvl.dk [130.225.40.226]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA24997; Sun, 17 Feb 2002 11:10:14 +0100 Original-Received: from abraham by ssv2.dina.kvl.dk with local (Exim 3.12 #1 (Debian)) id 16cOGs-00035f-00; Sun, 17 Feb 2002 11:10:14 +0100 Original-To: rms@gnu.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: <200202162156.g1GLu0x09942@aztec.santafe.edu> (Richard Stallman's message of "Sat, 16 Feb 2002 14:56:00 -0700 (MST)") Original-Lines: 37 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1247 Richard Stallman writes: > turn-on-auto-fill is a function, not an option, so I am confused > and not sure what you meant to say. I was refering to this: (defcustom text-mode-hook nil "Normal hook run when entering Text mode and many related modes." :type 'hook :options '(turn-on-auto-fill flyspell-mode) :group 'data) When you customize text-mode-hook, turn-on-auto-fill and flyspell-mode will be listed as checkbox options. > So I think the Options menu should probably have an item that controls > use of Flyspell mode in Text derivatives, just as it has one that > controls use of Auto Full in Text derivatives. Stefan suggestion of using define-minor-mode sound good. Will you do it Stefan? > Hmm.. Should toggle-text-mode-auto-fill be made a customize option? > And maybe rename it to global-auto-fill-mode? It could be implemented > with custom :get and :set methods. > > Maybe, but I wonder: is it possible to provide a more general > customization facility for controlling minor mode enablement > in various major modes? That might provide a very clean way > to customize where you do or don't want Auto Fill, or Flyspell, > or whatever. Maybe. The :options above give us a "for each major mode, select which minor modes to turn on. The opposite "for each minor mode, select which major modes to turn it on" might be useful too. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel