From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Xah Lee <xah@xahlee.org>
Cc: bug-gnu-emacs@gnu.org, 4102@emacsbugs.donarmstrong.com
Subject: bug#4102: 23.1.50; recentf-mode nil but toggles
Date: Mon, 10 Aug 2009 12:40:34 -0400 [thread overview]
Message-ID: <jwvws5bzkqv.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <04855577A772452A99C5FBCB8078CE4D@xahPC> (Xah Lee's message of "Mon, 10 Aug 2009 01:06:19 -0700")
> in my elisp code, i have:
> (recentf-mode nil)
> this should turn it off, but actually it toggles.
That's indeed the standard behavior for all minor modes. Use integers
to avoid such surprises.
> With prefix argument arg, turn on if positive, otherwise off.
It's not clear whether nil is positive or negative.
Stefan
next prev parent reply other threads:[~2009-08-10 16:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-10 8:06 bug#4102: 23.1.50; recentf-mode nil but toggles Xah Lee
2009-08-10 16:40 ` Stefan Monnier [this message]
2009-08-11 2:01 ` Xah Lee
2009-08-12 4:05 ` Kevin Rodgers
2009-08-13 17:36 ` Stefan Monnier
[not found] ` <mailman.4441.1250051225.2239.bug-gnu-emacs@gnu.org>
2009-08-12 19:33 ` Xah Lee
2009-08-13 4:15 ` Drew Adams
2009-08-13 4:53 ` Xah Lee
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=jwvws5bzkqv.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=4102@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=xah@xahlee.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).