From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: Remove toggling behavior of minor modes when called from elisp Date: Sun, 06 Jan 2008 09:53:57 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199609678 936 80.91.229.12 (6 Jan 2008 08:54:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 08:54:38 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 09:54:58 2008 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 1JBRHV-0007XF-AN for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 09:54:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBRH8-0005Kz-LS for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 03:54:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBRH4-0005IT-As for emacs-devel@gnu.org; Sun, 06 Jan 2008 03:54:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBRH2-0005FU-HJ for emacs-devel@gnu.org; Sun, 06 Jan 2008 03:54:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBRH2-0005F2-Bo for emacs-devel@gnu.org; Sun, 06 Jan 2008 03:54:28 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JBRGy-0000Uf-E9; Sun, 06 Jan 2008 03:54:24 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m068sMW8016652; Sun, 6 Jan 2008 09:54:22 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 149C812DD3; Sun, 6 Jan 2008 09:54:22 +0100 (CET) X-Face: 1; h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB; kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm; %Od (Richard Stallman's message of "Sun, 06 Jan 2008 03:09:05 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) X-DCC-INFN-TO-Metrics: poseidon 1233; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:86302 Archived-At: On Sun, Jan 06 2008, Richard Stallman wrote: > I don't think this is a good idea. I see why it would avoid a common > error, but it would also cause confusion to make the no-argument > action so different between interactive and noninteractive calls. I'm surprised to hear this, since when it was discussed on the list in 2006, you agreed to it and asked to put it into etc/TODO: ,----[ http://article.gmane.org/gmane.emacs.devel/54743 ] | From: Richard Stallman | Subject: Re: turn-on-*-mode | To: Stefan Monnier | Cc: emacs-devel@gnu.org, miles@gnu.org | Date: Thu, 18 May 2006 22:03:24 -0400 | Message-ID: | Reply-To: rms@gnu.org | | > It would mean that there is no longer an argument you could use, | > noninteractively, to toggle the mode. | | Actually there is: the symbol `toggle' does it. | | Ok. | | > Another drawback is simply that the interactive and noninteractive | > behavior of these commands will be different. | | Not really. It just means that the argument passed to the minor mode | function in the absence of a prefix-arg won't be nil but will be `toggle'. | As a matter of fact, this is already the case. | | It sounds rather clean. Would you please add it to etc/TODO? `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/