unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: byte-compiler fails to print complex byte-code data (SOLVED?)
Date: Tue, 18 May 2004 21:25:54 -0400	[thread overview]
Message-ID: <E1BQFqE-0001YG-UJ@fencepost.gnu.org> (raw)
In-Reply-To: <1408366.1084871466954.JavaMail.www@wwinf0602> (message from David PONCE on Tue, 18 May 2004 11:11:06 +0200 (CEST))

Thanks for fixing the bug.  If you can install this fix, please do.
Otherwise, Eli, can you install it?


2004-05-18  David Ponce  <david@dponce.com>

	* 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);
  }

  reply	other threads:[~2004-05-19  1:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18  9:11 byte-compiler fails to print complex byte-code data (SOLVED?) David PONCE
2004-05-19  1:25 ` Richard Stallman [this message]
2004-05-19  7:40   ` David Ponce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1BQFqE-0001YG-UJ@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).