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: Thu, 03 Sep 2009 09:47:57 -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 1251985700 19669 80.91.229.12 (3 Sep 2009 13:48:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2009 13:48:20 +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 Thu Sep 03 15:48:13 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 1MjCfZ-0008EC-Ow for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2009 15:48:10 +0200 Original-Received: from localhost ([127.0.0.1]:45399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjCfY-0005DH-Hg for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2009 09:48:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjCfU-0005D8-Ou for emacs-devel@gnu.org; Thu, 03 Sep 2009 09:48:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjCfP-0005CD-88 for emacs-devel@gnu.org; Thu, 03 Sep 2009 09:48:03 -0400 Original-Received: from [199.232.76.173] (port=53960 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjCfP-0005C8-1p for emacs-devel@gnu.org; Thu, 03 Sep 2009 09:47:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34422) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjCfO-0007GC-VC for emacs-devel@gnu.org; Thu, 03 Sep 2009 09:47:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MjCfN-0006ez-Pq; Thu, 03 Sep 2009 09:47:57 -0400 In-reply-to: (message from Stefan Monnier on Tue, 01 Sep 2009 19:23:56 -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:115002 Archived-At: (foo-mode 'toggle) toggles it. That seems fine to me. I'm not necessarily opposed to (foo-mode (not foo-mode)) but it can't be used in the interactive spec, because we want the command-history to say "toogle" rather than "turn on" or "turn off", in case the user wants to repeat it. That is a good point.