From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: problem of define-minor-mode while bootstrapping Date: 25 Sep 2002 23:50:57 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200209191320.WAA03733@etlken.m17n.org> <200209191346.g8JDkdq07175@rum.cs.yale.edu> <200209200006.JAA04300@etlken.m17n.org> <200209201838.g8KIc8t13414@rum.cs.yale.edu> <20020921020041.GA1545@gnu.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032994539 6703 127.0.0.1 (25 Sep 2002 22:55:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2002 22:55:39 +0000 (UTC) Cc: miles@gnu.org, monnier+gnu/emacs@rum.cs.yale.edu, handa@m17n.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17uL4E-0001jz-00 for ; Thu, 26 Sep 2002 00:55:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17uLlf-0007zb-00 for ; Thu, 26 Sep 2002 01:40:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uL4D-0002EX-00; Wed, 25 Sep 2002 18:55:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17uKzo-0001gN-00 for emacs-devel@gnu.org; Wed, 25 Sep 2002 18:51:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17uKzm-0001fj-00 for emacs-devel@gnu.org; Wed, 25 Sep 2002 18:51:03 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uKzi-0001eb-00; Wed, 25 Sep 2002 18:50:58 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 17uKzi-0004Wr-00; Wed, 25 Sep 2002 23:50:58 +0100 Original-To: rms@gnu.org In-Reply-To: Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8168 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8168 Richard Stallman writes: > > The reason for this little piece of code is so as to call (foo-mode 1) when > > people do (setq foo-mode t) in their .emacs and then load foo-mode.el. > > But people shouldn't use (setq foo-mode t), they should use (foo-mode 1) > > instead anyway. > > So I'd rather use that code less often rather than more often. > > CAn we just get rid of it? > > I'd rather not do that. > It would be an incompatible change, and I don't see > enough reason for one. The fact that you can't currently DTRT seems good enough. I don't see a serious problem with such a change since I, for one, wasn't aware there was such code and the minor mode doc explicitly says that setting the variable doesn't take effect. It's also meant to be a requirement that just loading a library doesn't change Emacs's state, particularly for the sake of Custom; I think that's documented, but if not, it should be.