From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: turning on minor modes from hooks Date: Tue, 01 Sep 2009 12:19:27 -0400 Message-ID: References: <200908292125.n7TLPCdp005058@godzilla.ics.uci.edu> <87eiqui4yx.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251822270 9385 80.91.229.12 (1 Sep 2009 16:24:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2009 16:24:30 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org, miles@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 01 18:24:23 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MiW9b-0007Pa-4v for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 18:24:19 +0200 Original-Received: from localhost ([127.0.0.1]:41837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiW9a-0002TB-B6 for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 12:24:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiW54-00089U-Dd for emacs-devel@gnu.org; Tue, 01 Sep 2009 12:19:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiW4z-00084P-Gj for emacs-devel@gnu.org; Tue, 01 Sep 2009 12:19:37 -0400 Original-Received: from [199.232.76.173] (port=38987 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiW4z-00084B-BN for emacs-devel@gnu.org; Tue, 01 Sep 2009 12:19:33 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:57061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiW4v-0007s2-Kn; Tue, 01 Sep 2009 12:19:29 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n81GJSXd022662; Tue, 1 Sep 2009 12:19:28 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 044073A3A5; Tue, 1 Sep 2009 12:19:28 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Tue, 01 Sep 2009 08:16:42 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3353=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114949 Archived-At: >> A call with no arguments, as in (auto-save-mode), naturally ought to >> toggle the mode or turn it on. > Care to explain why? > When you call a major mode function, it selects that mode. > So when users call a minor mode function, they will expect it > to select that mode too. So you argue for "turn it on" rather than "toggle". I fully agree. Stefan