Greetings all
Can someone tell me how to set up Lisp so that it will print to full
list depth instead of copping out with #'s? I've tried (setf
*print-depth* nil), but that doesn't work for me. I'm using xemacs
allegro cl.
-Paul
* Paul V Gestwicki <ยทยทยท@acsu.buffalo.edu>
| Can someone tell me how to set up Lisp so that it will print to full list
| depth instead of copping out with #'s? I've tried (setf *print-depth*
| nil), but that doesn't work for me. I'm using xemacs allegro cl.
it's hard to tell, but it appears that you refer to the values printed by
the top-level read-eval-print-loop. normally, *PRINT-LEVEL* is NIL, but
the top-level loop's internal value (in TOP-LEVEL:*PRINT-LEVEL*) is 5.
#:Erik
* Paul V Gestwicki wrote:
> Greetings all
> Can someone tell me how to set up Lisp so that it will print to full
> list depth instead of copping out with #'s? I've tried (setf
> *print-depth* nil), but that doesn't work for me. I'm using xemacs
> allegro cl.
If you want to do this locally (which tends to be better, because if
you are anything like me you will sooner-or-later generate some awful
object which will take many hours at best to print, and only then
discover that the printer isn't as interruptible as it should be), you
can use WITH-STANDARD-IO-SYNTAX, or some wrapper on it:
(defun show (thing)
(with-standard-io-syntax
(print thing) (values)))
--tim