From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Xah Lee" Newsgroups: gmane.emacs.bugs Subject: bug#4102: 23.1.50; recentf-mode nil but toggles Date: Mon, 10 Aug 2009 19:01:37 -0700 Message-ID: <2F116E10862F449E8FE250395BB55937@xahPC> References: <04855577A772452A99C5FBCB8078CE4D@xahPC> Reply-To: Xah Lee , 4102@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249962355 6999 80.91.229.12 (11 Aug 2009 03:45:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 03:45:55 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 4102@emacsbugs.donarmstrong.com To: "Stefan Monnier" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 11 05:45:48 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MaiIy-0007yh-Vx for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 05:45:45 +0200 Original-Received: from localhost ([127.0.0.1]:59254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaiIx-0004Ab-QX for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 23:45:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mah4j-00081y-CB for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 22:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mah4e-00081T-IV for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 22:26:56 -0400 Original-Received: from [199.232.76.173] (port=51821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mah4e-00081Q-DK for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 22:26:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34344) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mah4d-0003Y6-Pe for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 22:26:52 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7B2QmjG002647; Mon, 10 Aug 2009 19:26:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7B2A721001070; Mon, 10 Aug 2009 19:10:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Xah Lee" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 11 Aug 2009 02:10:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4102 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4102-submit@emacsbugs.donarmstrong.com id=B4102.124995611132181 (code B ref 4102); Tue, 11 Aug 2009 02:10:07 +0000 Original-Received: (at 4102) by emacsbugs.donarmstrong.com; 11 Aug 2009 02:01:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7B21ouQ032178 for <4102@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 19:01:51 -0700 Original-Received: from xahPC (c-76-102-12-87.hsd1.ca.comcast.net [76.102.12.87]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1MaggK3x6l-0001G1; Mon, 10 Aug 2009 22:01:48 -0400 In-Reply-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Provags-ID: V01U2FsdGVkX19C9mAyiSqJRdInyjPgWrwcNWkLigyWPY5cMej EIjtiD5aAE8uFfycJmIvd0GHLyUx2sfaefJVSbX2vqKIHzDqkd NXPDPs492bFuIowj95fxg== X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n7B2QmjG002647 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 10 Aug 2009 22:26:56 -0400 X-Mailman-Approved-At: Mon, 10 Aug 2009 23:45:02 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30085 Archived-At: >> With prefix argument arg, turn on if positive, otherwise off. > > It's not clear whether nil is positive or negative. Thanks. That's interesting. Can the doc adds a warning like: The argument should be a integer. Do not use t or nil. ? Xah =E2=88=91 http://xahlee.org/ =E2=98=84 ----- Original Message -----=20 From: "Stefan Monnier" To: "Xah Lee" Cc: <4102@emacsbugs.donarmstrong.com>; Sent: Monday, August 10, 2009 9:40 AM Subject: Re: bug#4102: 23.1.50; recentf-mode nil but toggles >> 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.