all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Invalid read syntax for compiled bool vector
@ 2004-04-19  7:41 Lars Brinkhoff
       [not found] ` <E1BFdNk-0003Ia-Oq@fencepost.gnu.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Lars Brinkhoff @ 2004-04-19  7:41 UTC (permalink / raw)


I run these forms (in the *scratch* buffer or with M-C-x) to create a
source file and byte-compile it:

  (with-temp-file "test.el"
    (princ `(defun foo ()
             ,(let ((vec (make-bool-vector 20 t)))
                (dolist (i '(11 13 16 18) vec)
                  (aset vec i nil))))
           (current-buffer)))
  (byte-compile-file "test.el")

When I load the compiled file:

  (load-file "test.elc")

I get this error:

  Invalid read syntax: "#&..."

The pattern in the last 12 elements of the bool vector is what
triggers the error.  The contents of the first 8 elements doesn't
seem to affect the result.

This happens in both GNU Emacs 21.3 and 20.7, running in Debian
GNU/Linux on a PowerPC.

-- 
Lars Brinkhoff,         Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting    http://www.brinkhoff.se/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-04-29 10:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19  7:41 Invalid read syntax for compiled bool vector Lars Brinkhoff
     [not found] ` <E1BFdNk-0003Ia-Oq@fencepost.gnu.org>
2004-04-26  7:27   ` Lars Brinkhoff
2004-04-26 14:10     ` Richard Stallman
2004-04-26 16:08       ` Andreas Schwab
2004-04-26 17:47         ` Lars Brinkhoff
2004-04-26 22:01           ` Andreas Schwab
2004-04-26 22:53             ` David Kastrup
2004-04-27 12:42               ` Andreas Schwab
2004-04-27 12:52                 ` David Kastrup
2004-04-27 16:29             ` Richard Stallman
2004-04-27 17:54               ` Andreas Schwab
2004-04-27 16:28         ` Richard Stallman
2004-04-27 17:47           ` Andreas Schwab
2004-04-29 10:43             ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.