all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pascal Bourguignon <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Is 't' positive?
Date: Thu, 12 Apr 2007 14:11:34 +0200	[thread overview]
Message-ID: <87slb5kd1l.fsf@voyager.informatimago.com> (raw)
In-Reply-To: mailman.1989.1176377828.7795.help-gnu-emacs@gnu.org

Leo <sdl.web@gmail.com> writes:

> Quite a few commands require positive arguments such as ido-mode.
>
> ,----
> | (ido-mode &optional arg)
> | 
> | Toggle ido speed-ups on or off.
> | With arg, turn ido speed-up on if arg is positive, off otherwise.
> `----
>
> However, it seems legal to use 't' and they will behave like it is
> positive. So the question, is 't' positive? Is it safe to use 't' in
> this kind of functions?

Depends on the function.  t may have a different meaning than 1, and
nil than 0...

-- 
__Pascal Bourguignon__
http://www.informatimago.com
http://pjb.ogamita.org

  parent reply	other threads:[~2007-04-12 12:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1989.1176377828.7795.help-gnu-emacs@gnu.org>
2007-04-12 12:08 ` Is 't' positive? Johan Bockgård
2007-04-12 12:45   ` Leo
2007-04-12 12:11 ` Pascal Bourguignon [this message]
2007-04-12 11:28 Leo

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=87slb5kd1l.fsf@voyager.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@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.