GNU bug report logs - #6878
bool-vectors of length 0 signal error when aref/aset the 0th element

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Wed, 18 Aug 2010 04:19:02 UTC

Severity: minor

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: MON KEY <monkey <at> sandpframing.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, Andreas Schwab <schwab <at> linux-m68k.org>, 6878 <at> debbugs.gnu.org
Subject: bug#6878: bool-vectors of length 0 signal error when aref/aset the 0th element
Date: Thu, 19 Aug 2010 20:40:17 +0200
On Thu, Aug 19, 2010 at 19:09, MON KEY <monkey <at> sandpframing.com> wrote:

> But, again, where is the `t' or `nil'?
>
> (let* ((ab (make-bool-vector 0 t))
>      (abeq (cons ab ab)))
>  (vconcat (car abeq) (cdr abeq)))
>
> ;=> []
>
> The manual says a `t' or `nil' "must" be there.

No, it says that its elements must be either t or nil. And they are,
*all* of them.

    Juanma




This bug report was last modified 14 years and 337 days ago.

Previous Next


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