From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: Reiner Steib <Reiner.Steib@gmx.de>, emacs-devel@gnu.org
Subject: Re: Remove toggling behavior of minor modes when called from elisp
Date: Sun, 06 Jan 2008 15:22:41 -0500 [thread overview]
Message-ID: <jwv4pdqu2mm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1JBZwO-0001rp-Oz@fencepost.gnu.org> (Richard Stallman's message of "Sun, 06 Jan 2008 13:09:44 -0500")
> 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:
> I don't remember that previous discusson, so today I thought about it
> afresh, and came to a different conclusion this time. Perhaps it is
> because you explained more in the previous conversation.
> There is something in that old message that puzzles me:
> | 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.
> I am puzzled by that last sentence; what is "already the case"?
It is already the case that the "no argument" interactive case actually
passes an explicit `toggle' argument rather than not pass any argument.
> Also, if we do this, we should change all the minor modes,
> not just the ones defined by define-minor-mode.
> The minor modes should remain consistent.
Of course. I think it's the main part of the TODO item. For most minor
modes, the right thing to do is to make it use define-minor-mode.
Stefan
next prev parent reply other threads:[~2008-01-06 20:22 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
2008-01-06 18:09 ` Richard Stallman
2008-01-06 18:21 ` Reiner Steib
2008-01-06 20:22 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv4pdqu2mm.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=Reiner.Steib@gmx.de \
--cc=emacs-devel@gnu.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.