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


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 24369 <at> debbugs.gnu.org
Subject: bug#24369: Docu of prefix-numeric-value
Date: Mon, 5 Sep 2016 14:03:17 -0700 (PDT)
> > >     • ‘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.




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

Previous Next


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