GNU bug report logs - #24369
Docu of prefix-numeric-value

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Mon, 5 Sep 2016 07:47:02 UTC

Severity: wishlist

Tags: notabug

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #31 received at control <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>,
 Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 24369 <at> debbugs.gnu.org
Subject: Re: bug#24369: Docu of prefix-numeric-value
Date: Sun, 16 Jul 2017 21:37:20 -0400
tags 24369 notabug
close 24369
quit

Drew Adams <drew.adams <at> 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.




This bug report was last modified 8 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.