next up previous contents
Next: 4.5 Types in Python Up: 4.4 Interpreting Error Messages Previous: 4.4.6 Read Errors

4.4.7 Error Message Parameterization

   

There is some control over the verbosity of error messages. See also  *undefined-warning-limit* (page gif), *efficiency-note-limit* and  *efficiency-note-cost-threshold* (page gif).

[Variable]
* enclosing-source-cutoff*

This variable specifies the number of enclosing actual source forms that are printed in full, rather than in the abbreviated processing path format. Increasing the value from its default of 1 allows you to see more of the guts of the macroexpanded source, which is useful when debugging macros.

[Variable]
* error-print-length*

*error-print-level*

These variables are the print level and print length used in printing error messages. The default values are 5 and 3. If null, the global values of *print-level* and *print-length* are used.

[Macro]
extensions:def-source-context name lambda-list tex2html_wrap_inline17166formtex2html_wrap_inline17172

This macro defines how to extract an abbreviated source context from the named form when it appears in the compiler input. lambda-list is a defmacro style lambda-list used to parse the arguments. The body should return a list of subforms that can be printed on about one line. There are predefined methods for defstruct, defmethod, etc. If no method is defined, then the first two subforms are returned. Note that this facility implicitly determines the string name associated with anonymous functions.



Raymond Toy
Mon Jul 14 09:11:27 EDT 1997