John Cowan <co...@mercury.ccil.org> wrote:
> What happens if you replace (write x) with
> (let ((*print-escape* nil)) (write x))?

That does what's expected... but not exactly what I want.  The problem is that 
setting *print-escape* disables printing the |...|, even when the escapes NEED 
to be there.  In particular, if you don't have "-modern" mode on in CLISP 
(which gives you full case-sensitivity and the default function names in LOWER 
case), it won't escape cased characters as it needs to.

I should probably document *print-escape* in the tutorial, though; that may be 
enough for some, and it would stop the obvious question.

And while it's possible to create your own "write" routine, I really want to 
control the "write" used in the REPL.

--- David A. Wheeler

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to