From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: problem of define-minor-mode while bootstrapping Date: Sun, 22 Sep 2002 17:40:32 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200209222140.g8MLeW826206@rum.cs.yale.edu> 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 1032730957 20143 127.0.0.1 (22 Sep 2002 21:42:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 22 Sep 2002 21:42:37 +0000 (UTC) Cc: Stefan Monnier , Kenichi Handa , emacs-devel@gnu.org, d.love@dl.ac.uk Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17tEUt-0005Ek-00 for ; Sun, 22 Sep 2002 23:42:35 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17tFAs-0002kk-00 for ; Mon, 23 Sep 2002 00:25:58 +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 17tEUm-0002Rv-00; Sun, 22 Sep 2002 17:42:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17tET4-0002MQ-00 for emacs-devel@gnu.org; Sun, 22 Sep 2002 17:40:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17tET1-0002M8-00 for emacs-devel@gnu.org; Sun, 22 Sep 2002 17:40:42 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tESz-0002Ls-00; Sun, 22 Sep 2002 17:40:38 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g8MLeW826206; Sun, 22 Sep 2002 17:40:32 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Miles Bader 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:8097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8097 > > 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? Many/most global minor modes did it by hand, so I added it to define-minor-mode as well. I have no need for that feature, but since people did it by hand before, I suppose there was a "good" reason for it. Stefan