[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove toggling behavior of minor modes when called from elisp

From: Reiner Steib
Subject: Re: Remove toggling behavior of minor modes when called from elisp
Date: Sun, 06 Jan 2008 09:53:57 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

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 <address@hidden>
| Subject: Re: turn-on-*-mode
| To: Stefan Monnier <address@hidden>
| Cc: address@hidden, address@hidden
| Date: Thu, 18 May 2006 22:03:24 -0400
| Message-ID: <address@hidden>
| Reply-To: address@hidden
|     > 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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]