unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: rms@gnu.org
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Remove toggling behavior of minor modes when called from elisp
Date: Sun, 06 Jan 2008 09:53:57 +0100	[thread overview]
Message-ID: <v9ve67pc62.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <E1JBQZ7-0001V7-7w@fencepost.gnu.org> (Richard Stallman's message of "Sun, 06 Jan 2008 03:09:05 -0500")

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 <rms@gnu.org>
| Subject: Re: turn-on-*-mode
| To: Stefan Monnier <monnier@iro.umontreal.ca>
| Cc: emacs-devel@gnu.org, miles@gnu.org
| Date: Thu, 18 May 2006 22:03:24 -0400
| Message-ID: <E1FguKq-0001O1-1Z@fencepost.gnu.org>
| 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/

  reply	other threads:[~2008-01-06  8:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09 18:53 Remove toggling behavior of minor modes when called from elisp Reiner Steib
2008-01-05 13:40 ` Reiner Steib
2008-01-06  8:09   ` Richard Stallman
2008-01-06  8:53     ` Reiner Steib [this message]
2008-01-06 18:09       ` Richard Stallman
2008-01-06 18:21         ` Reiner Steib
2008-01-06 20:22         ` Stefan Monnier
2008-01-07 11:31           ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9ve67pc62.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).