From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: turning on minor modes from hooks Date: Tue, 01 Sep 2009 08:16:42 -0400 Message-ID: References: <200908292125.n7TLPCdp005058@godzilla.ics.uci.edu> <87eiqui4yx.fsf@catnip.gol.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1251808231 25492 80.91.229.12 (1 Sep 2009 12:30:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2009 12:30:31 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org, miles@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 01 14:30:24 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 1MiSVD-0001ig-C3 for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 14:30:23 +0200 Original-Received: from localhost ([127.0.0.1]:52984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiSVB-000606-4f for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 08:30:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiSI4-0001K9-TN for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiSHz-0001Hp-Ru for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:48 -0400 Original-Received: from [199.232.76.173] (port=48465 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiSHz-0001HW-6K for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:43 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40998) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiSHz-0008DB-0E for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:43 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MiSHy-0002qz-0B; Tue, 01 Sep 2009 08:16:42 -0400 In-reply-to: (message from Stefan Monnier on Mon, 31 Aug 2009 10:36:51 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114946 Archived-At: > A call with no arguments, as in (auto-save-mode), naturally ought to > toggle the mode or turn it on. Cae 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.