22.9. The Printer Dictionary
Prev | Chapter 22. Printer | Next

## 22.9. The Printer Dictionary [sec_the_printer_dictionary]

### 22.9.1. Functions `WRITE` & `WRITE-TO-STRING`

The functions `WRITE` and `WRITE-TO-STRING` have an additional keyword argument `:CLOSURE` which is used to bind `CUSTOM:*PRINT-CLOSURE*`.

### 22.9.2. Macro `PRINT-UNREADABLE-OBJECT`

Variable `CUSTOM:*PRINT-UNREADABLE-ANSI*`. The macro `PRINT-UNREADABLE-OBJECT`, when invoked without body forms, suppresses the trailing space if only the type is to be printed, and suppresses the leading space if only the identity is to be printed. This behaviour can be turned off set setting the variable `CUSTOM:*PRINT-UNREADABLE-ANSI*` to a non-`NIL` value: in this case, a trailing or leading space are output, as prescribed by [ANSI CL standard].

### 22.9.3. Miscellaneous Issues

`*PRINT-CASE*` controls the output not only of symbols, but also of characters and some `#<unreadable>` objects.

Platform Dependent: UNIX, Win32 platforms only.
  `*PRINT-PRETTY*` is initially `NIL` but set to `T` in `config.lisp`. This makes screen output prettier.

`*PRINT-ARRAY*` is initially set to `T`.

| These notes document CLISP version 2.45 | Last modified: 2008-04-15

Enter your search termsSubmit search form
Webclisp.cons.orgclisp.podval.orgwww.lisp.org

Prev | Up | Next
22.8. Formatted Output | Home | Chapter 23. Reader