[EMAIL PROTECTED] (Paulo J. Matos) writes:

> Hi all,
>
> I have a bunch of classes and all of them use print-object to
> pretty print the object for the user eyes but sometimes for
> debugging purposes I'd like to ignore the print-object method and
> see the real structure. How can I do that?

Generally speaking, your print-object methods should heed
*print-escape*, so that princ gives you the nice pretty
representation, but print gives you the raw deal.  You really, really
also want to heed *print-readably*, in that you either print a
re-readable representation, or signal an apropriate error, when
*print-readably* is true.

Regs, Pierre.

-- 
Pierre R. Mai <[EMAIL PROTECTED]>                    http://www.pmsf.de/pmai/
 The most likely way for the world to be destroyed, most experts agree,
 is by accident. That's where we come in; we're computer professionals.
 We cause accidents.                           -- Nathaniel Borenstein


Reply via email to