unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: bug-gnu-emacs@gnu.org, 4102@emacsbugs.donarmstrong.com
Subject: bug#4102: 23.1.50; recentf-mode nil but toggles
Date: Thu, 13 Aug 2009 13:36:32 -0400	[thread overview]
Message-ID: <jwvfxbv1uus.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <h5tf31$bd1$1@ger.gmane.org> (Kevin Rodgers's message of "Tue, 11 Aug 2009 22:05:52 -0600")

> Do not use `supercalifragilisticexpialidocious' either.
> How about: Use nil to toggle the mode on or off.

Actually, the docstring already says that nil toggles.  If you remember
that the docstring is written here to describe the command rather than
the function, then you'll immediately conclude that

  With prefix argument arg, turn on if positive, otherwise off.

only applies when there's a prefix argument, so when there isn't, arg is
necessarily nil and the normal behavior (described on the previous line:

   Toggle recentf mode.

) applies.


        Stefan





  reply	other threads:[~2009-08-13 17:36 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
2009-08-11  2:01   ` Xah Lee
2009-08-12  4:05     ` Kevin Rodgers
2009-08-13 17:36       ` Stefan Monnier [this message]
     [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=jwvfxbv1uus.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4102@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /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).