unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Drew Adams <drew.adams@oracle.com>
Cc: 24369@debbugs.gnu.org
Subject: bug#24369: Docu of prefix-numeric-value
Date: Sun, 16 Jul 2017 21:37:20 -0400	[thread overview]
Message-ID: <87inirc08f.fsf@users.sourceforge.net> (raw)
In-Reply-To: <8de43dfa-e463-4060-9562-0158eb256b3a@default> (Drew Adams's message of "Mon, 5 Sep 2016 14:03:17 -0700 (PDT)")

tags 24369 notabug
close 24369
quit

Drew Adams <drew.adams@oracle.com> writes:

>> > >     • ‘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.

I think there is nothing more to be done here, so I'm closing the bug.





      reply	other threads:[~2017-07-17  1:37 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
2017-07-17  1:37             ` npostavs [this message]

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=87inirc08f.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=24369@debbugs.gnu.org \
    --cc=drew.adams@oracle.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).