227 lines
No EOL
5.3 KiB
HTML
227 lines
No EOL
5.3 KiB
HTML
<!DOCTYPE HTML>
|
|
<HTML LANG="en-us"
|
|
><HEAD
|
|
><TITLE
|
|
>*print-pprint-dispatch* | Common Lisp Nova Spec</TITLE
|
|
><META CHARSET="US-ASCII"
|
|
><LINK REL="canonical" HREF="v_print-pprint-dispatch.html"
|
|
><LINK REL="next" HREF="v_print-pretty.html" TYPE="text/html" TITLE="*print-pretty*"
|
|
><LINK REL="prev" HREF="v_print-miser-width.html" TYPE="text/html" TITLE="*print-miser-width*"
|
|
><LINK REL="up" HREF="22_4_Printer_Dictionary.html" TYPE="text/html" TITLE="22.4 Printer Dictionary"
|
|
><LINK REL="start" HREF="index.html" TYPE="text/html" TITLE="Common Lisp Nova Spec"
|
|
><META NAME="VIEWPORT" CONTENT="width=device-width, initial-scale=1.0"
|
|
><LINK REL="STYLESHEET" HREF="dpans.css%3F3909942064.css"
|
|
><SCRIPT SRC="dpans.js%3F3909942064"
|
|
></SCRIPT
|
|
><SCRIPT SRC="apropos.js%3F3909942064"
|
|
></SCRIPT
|
|
></HEAD
|
|
><BODY
|
|
><DIV
|
|
><DIV CLASS="topnav"
|
|
><DIV CLASS="breadcrumb"
|
|
><SPAN CLASS="breadcrumb-item"
|
|
><A HREF="index.html"
|
|
>Common Lisp Nova Spec</A
|
|
></SPAN
|
|
> <SPAN CLASS="breadcrumb-item"
|
|
>→ <A HREF="22_Printer.html"
|
|
>22. Printer</A
|
|
></SPAN
|
|
> <SPAN CLASS="breadcrumb-item"
|
|
>→ <A HREF="22_4_Printer_Dictionary.html"
|
|
>22.4 Printer Dictionary</A
|
|
></SPAN
|
|
> <SPAN CLASS="breadcrumb-item"
|
|
>→ <A HREF="v_print-pprint-dispatch.html"
|
|
>*print-pprint-dispatch*</A
|
|
></SPAN
|
|
></DIV
|
|
><DIV CLASS="apropos"
|
|
><DIV CLASS="apropos-io"
|
|
><A HREF="v_print-miser-width.html" CLASS="prev"
|
|
>←</A
|
|
><SPAN ID="apropos-label"
|
|
>Apropos </SPAN
|
|
><INPUT ID="apropos" AUTOFOCUS="AUTOFOCUS" PLACEHOLDER="Type here to search" ONINPUT="aproposInput(this);" ONKEYUP="aproposKeyup(event);" ONCHANGE="aproposChange(this);" ONFOCUS="aproposFocus(this);" ONFOCUSOUT="aproposFocusout(this);"
|
|
><A HREF="v_print-pretty.html" CLASS="next"
|
|
>→</A
|
|
></DIV
|
|
><DIV ID="apropos-res"
|
|
></DIV
|
|
></DIV
|
|
></DIV
|
|
><DIV CLASS="matter"
|
|
><DIV CLASS="com"
|
|
><DIV CLASS="begincom"
|
|
><HR
|
|
><TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0"
|
|
><TR
|
|
><TD ALIGN="LEFT" VALIGN="BASELINE" WIDTH="100%" CLASS="name"
|
|
><SPAN CLASS="idx" DATA-KIND="idxref" DATA-TERM="*print-pprint-dispatch*"
|
|
></SPAN
|
|
><SPAN CLASS="cmsy"
|
|
>*</SPAN
|
|
><B
|
|
>print-pprint-dispatch</B
|
|
><SPAN CLASS="cmsy"
|
|
>*</SPAN
|
|
></TD
|
|
><TD ALIGN="RIGHT" VALIGN="BASELINE" WIDTH="0" NOWRAP="NOWRAP" CLASS="ftype"
|
|
><I
|
|
>Variable</I
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
></DIV
|
|
><UL CLASS="subtoc"
|
|
></UL
|
|
><DL
|
|
><DT
|
|
><B
|
|
>Value Type</B
|
|
></DT
|
|
><DD
|
|
><P CLASS="j"
|
|
>a <A HREF="26_1_Glossary.html#pprint_dispatch_table"
|
|
><EM CLASS="term"
|
|
>pprint dispatch table</EM
|
|
></A
|
|
>.</P
|
|
></DD
|
|
><DT
|
|
><B
|
|
>Initial Value</B
|
|
></DT
|
|
><DD
|
|
><P CLASS="j"
|
|
><A HREF="26_1_Glossary.html#implementation-dependent"
|
|
><EM CLASS="term"
|
|
>implementation-dependent</EM
|
|
></A
|
|
>, but the initial entries all use a special class of priorities that have the property that they are less than every priority that can be specified using <A HREF="f_set-pprint-dispatch.html" CLASS="funref"
|
|
><B
|
|
>set-pprint-dispatch</B
|
|
></A
|
|
>, so that the initial contents of any entry can be overridden.</P
|
|
></DD
|
|
><DT
|
|
><B
|
|
>Description</B
|
|
></DT
|
|
><DD
|
|
><P CLASS="j"
|
|
>The <A HREF="26_1_Glossary.html#pprint_dispatch_table"
|
|
><EM CLASS="term"
|
|
>pprint dispatch table</EM
|
|
></A
|
|
> which currently controls the <A HREF="26_1_Glossary.html#pretty_printer"
|
|
><EM CLASS="term"
|
|
>pretty printer</EM
|
|
></A
|
|
>.</P
|
|
></DD
|
|
><DT
|
|
><B
|
|
>See Also</B
|
|
></DT
|
|
><DD
|
|
><P CLASS="j"
|
|
><A HREF="v_print-pretty.html" CLASS="varref"
|
|
><B
|
|
>*print-pretty*</B
|
|
></A
|
|
>, <A HREF="22_2_The_Lisp_Pretty_Printer.html#sec_22_2_1_4" CLASS="secref"
|
|
><SPAN CLASS="cmr"
|
|
>Section</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>22.2.1.4</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>(Pretty</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>Print</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>Dispatch</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>Tables)</SPAN
|
|
></A
|
|
></P
|
|
></DD
|
|
><DT
|
|
><B
|
|
>Notes</B
|
|
></DT
|
|
><DD
|
|
><P CLASS="j"
|
|
>The intent is that the initial <A HREF="26_1_Glossary.html#value"
|
|
><EM CLASS="term"
|
|
>value</EM
|
|
></A
|
|
> of this <A HREF="26_1_Glossary.html#variable"
|
|
><EM CLASS="term"
|
|
>variable</EM
|
|
></A
|
|
> should cause ‘traditional’ <A HREF="26_1_Glossary.html#pretty_print"
|
|
><EM CLASS="term"
|
|
>pretty printing</EM
|
|
></A
|
|
> of <A HREF="26_1_Glossary.html#code"
|
|
><EM CLASS="term"
|
|
>code</EM
|
|
></A
|
|
>. In general, however, you can put a value in <A HREF="v_print-pprint-dispatch.html" CLASS="varref"
|
|
><B
|
|
>*print-pprint-dispatch*</B
|
|
></A
|
|
> that makes pretty-printed output look exactly like non-pretty-printed output. Setting <A HREF="v_print-pretty.html" CLASS="varref"
|
|
><B
|
|
>*print-pretty*</B
|
|
></A
|
|
> to <A HREF="26_1_Glossary.html#true"
|
|
><EM CLASS="term"
|
|
>true</EM
|
|
></A
|
|
> just causes the functions contained in the <A HREF="26_1_Glossary.html#current_pprint_dispatch_table"
|
|
><EM CLASS="term"
|
|
>current pprint dispatch table</EM
|
|
></A
|
|
> to have priority over normal <A HREF="f_print-object.html" CLASS="funref"
|
|
><B
|
|
>print-object</B
|
|
></A
|
|
> methods; it has no magic way of enforcing that those functions actually produce pretty output. For details, see <A HREF="22_2_The_Lisp_Pretty_Printer.html#sec_22_2_1_4" CLASS="secref"
|
|
><SPAN CLASS="cmr"
|
|
>Section</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>22.2.1.4</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>(Pretty</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>Print</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>Dispatch</SPAN
|
|
> <SPAN CLASS="cmr"
|
|
>Tables)</SPAN
|
|
></A
|
|
>.</P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DIV
|
|
><DIV CLASS="footer"
|
|
><DIV CLASS="btmnav"
|
|
><A HREF="v_print-miser-width.html" CLASS="prev"
|
|
>←</A
|
|
><A HREF="v_print-pretty.html" CLASS="next"
|
|
>→</A
|
|
></DIV
|
|
><DIV CLASS="trail"
|
|
>Conversion to HTML copyright 2023 by Gilbert Baumann</DIV
|
|
></DIV
|
|
></DIV
|
|
><SCRIPT
|
|
>domReady();</SCRIPT
|
|
></BODY
|
|
></HTML
|
|
> |