From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: byte-compiler fails to print complex byte-code data (SOLVED?) Date: Tue, 18 May 2004 21:25:54 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <1408366.1084871466954.JavaMail.www@wwinf0602> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084931974 17074 80.91.224.253 (19 May 2004 01:59:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 01:59:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 19 03:59:28 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQGMi-0003Qn-00 for ; Wed, 19 May 2004 03:59:28 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQGMi-0002md-00 for ; Wed, 19 May 2004 03:59:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQFwy-0007cn-7s for emacs-devel@quimby.gnus.org; Tue, 18 May 2004 21:32:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQFtf-0006mi-Hl for emacs-devel@gnu.org; Tue, 18 May 2004 21:29:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQFt8-0006Zv-6S for emacs-devel@gnu.org; Tue, 18 May 2004 21:29:25 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQFqI-0005iH-Lb for emacs-devel@gnu.org; Tue, 18 May 2004 21:25:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BQFqE-0001YG-UJ; Tue, 18 May 2004 21:25:54 -0400 Original-To: david.ponce@wanadoo.fr In-reply-to: <1408366.1084871466954.JavaMail.www@wwinf0602> (message from David PONCE on Tue, 18 May 2004 11:11:06 +0200 (CEST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23677 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23677 Thanks for fixing the bug. If you can install this fix, please do. Otherwise, Eli, can you install it? 2004-05-18 David Ponce * print.c (print): Reset print_depth before to call print_object. Index: print.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/print.c,v retrieving revision 1.202 diff -c -r1.202 print.c *** print.c 17 May 2004 22:47:40 -0000 1.202 --- print.c 18 May 2004 08:54:07 -0000 *************** *** 1220,1226 **** register Lisp_Object printcharfun; int escapeflag; { - print_depth = 0; old_backquote_output = 0; /* Reset print_number_index and Vprint_number_table only when --- 1220,1225 ---- *************** *** 1240,1245 **** --- 1239,1245 ---- start = index = print_number_index; /* Construct Vprint_number_table. This increments print_number_index for the objects added. */ + print_depth = 0; print_preprocess (obj); /* Remove unnecessary objects, which appear only once in OBJ; *************** *** 1264,1269 **** --- 1264,1270 ---- print_number_index = index; } + print_depth = 0; print_object (obj, printcharfun, escapeflag); }