unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "Eli Zaretskii" <eliz@gnu.org>,
	"Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 24369@debbugs.gnu.org
Subject: bug#24369: Docu of prefix-numeric-value
Date: Mon, 5 Sep 2016 14:03:17 -0700 (PDT)	[thread overview]
Message-ID: <8de43dfa-e463-4060-9562-0158eb256b3a@default> (raw)
In-Reply-To: <83twdub2dl.fsf@gnu.org>

> > >     • ‘nil’, meaning there is no prefix argument.  Its numeric value
> > >       is 1,
> >
> > That's the point: Value of nil is 1
> 
> No, the _numeric_ value of nil is 1.  IOW, nil, when interpreted
> as a number, is 1.  An entirely different story.

Exactly.  The value of `(prefix-numeric-value nil)' is 1.

That's what "numeric value of" the prefix argument means.
It is also what the shorter expression "the numeric prefix
argument" means.

The fact that the value of some function applied to nil
is 1 does not mean that the value of nil is 1.





  reply	other threads:[~2016-09-05 21:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-05  7:52 bug#24369: Docu of prefix-numeric-value Andreas Röhler
2016-09-05 15:57 ` Drew Adams
2016-09-05 17:44   ` Andreas Röhler
2016-09-05 17:46     ` Drew Adams
2016-09-05 17:57     ` Eli Zaretskii
2016-09-05 18:33       ` Andreas Röhler
2016-09-05 18:57         ` Eli Zaretskii
2016-09-05 21:03           ` Drew Adams [this message]
2017-07-17  1:37             ` npostavs

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=8de43dfa-e463-4060-9562-0158eb256b3a@default \
    --to=drew.adams@oracle.com \
    --cc=24369@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=eliz@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 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).