unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* byte-compiler fails to print complex byte-code data
@ 2004-05-16 12:59 David Ponce
  2004-05-16 17:53 ` David Ponce
  0 siblings, 1 reply; 2+ messages in thread
From: David Ponce @ 2004-05-16 12:59 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

Hi,

On latest CVS GNU Emacs, byte compilation fails because `prin1' of
complex byte-code data signals error "Apparently circular structure
being printed" in `byte-compile-output-docform'.

Attached file print-test.el is a test case to reproduce the problem.

It simulates code from `byte-compile-output-docform' that prints a
byte code data produced by GNU Emacs 21.3.1.

It is loaded without problem by GNU Emacs 21.3.1 and fails with
"Apparently circular structure being printed" when loaded by CVS
Emacs.

I suspect the problem is caused by this change:

2004-05-10  Richard M. Stallman  <rms@gnu.org>

	* print.c (print_preprocess): Use being_printed, loop_count and
	halftail to detect overdeep nesting and cyclic cdr chains.

David


In GNU Emacs 21.3.50.3 (i686-pc-linux-gnu, GTK+ Version 2.2.4)
  of 2004-05-16 on maunakea
configured using `configure '--with-gtk' '--prefix=/home/ponce''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8
   default-enable-multibyte-characters: t


[-- Attachment #2: print-test.el --]
[-- Type: application/x-save-to-disk, Size: 42825 bytes --]

[-- Attachment #3: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

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

* Re: byte-compiler fails to print complex byte-code data
  2004-05-16 12:59 byte-compiler fails to print complex byte-code data David Ponce
@ 2004-05-16 17:53 ` David Ponce
  0 siblings, 0 replies; 2+ messages in thread
From: David Ponce @ 2004-05-16 17:53 UTC (permalink / raw)


 > I suspect the problem is caused by this change:
 >
 > 2004-05-10  Richard M. Stallman  <rms@gnu.org>
 >
 >     * print.c (print_preprocess): Use being_printed, loop_count and
 >     halftail to detect overdeep nesting and cyclic cdr chains.
 >

FYI, after reverting that change, the bug disapeared.

David

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

end of thread, other threads:[~2004-05-16 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-16 12:59 byte-compiler fails to print complex byte-code data David Ponce
2004-05-16 17:53 ` David Ponce

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).