31.10. Maximum ANSI CL compliance

Some [ANSI CL standard] features are turned off by default for convenience and backward compatibility. They can be switched on, all at once, by setting the SYMBOL-MACRO CUSTOM:*ANSI* to T, or they can be switched on individually. Setting CUSTOM:*ANSI* to T implies the following:

  1. Setting CUSTOM:*PRINT-PATHNAMES-ANSI* to T.
  2. Setting CUSTOM:*PRINT-SPACE-CHAR-ANSI* to T.
  3. Setting CUSTOM:*COERCE-FIXNUM-CHAR-ANSI* to T.
  4. Setting CUSTOM:*SEQUENCE-COUNT-ANSI* to T.
  5. Setting CUSTOM:*MERGE-PATHNAMES-ANSI* to T.
  6. Setting CUSTOM:*PARSE-NAMESTRING-ANSI* to T.
  7. Setting CUSTOM:*FLOATING-POINT-CONTAGION-ANSI* to T.
  8. Setting CUSTOM:*FLOATING-POINT-RATIONAL-CONTAGION-ANSI* to T.
  9. Setting CUSTOM:*PHASE-ANSI* to T.
  10. Setting CUSTOM:*LOOP-ANSI* to T.
  11. Setting CUSTOM:*PRINT-EMPTY-ARRAYS-ANSI* to T.
  12. Setting CUSTOM:*PRINT-UNREADABLE-ANSI* to T.
  13. Setting CUSTOM:*DEFUN-ACCEPT-SPECIALIZED-LAMBDA-LIST* to NIL.

Note

If you run CLISP with the -ansi switch or set the SYMBOL-MACRO CUSTOM:*ANSI* to T and then save memory image, then all subsequent invocations of CLISP with this image will be as if with -ansi (regardless whether you actually supply the -ansi switch). You can always set the SYMBOL-MACRO CUSTOM:*ANSI* to NIL, or invoke CLISP with the -traditional switch, reversing the above settings, i.e.,

  1. Setting CUSTOM:*PRINT-PATHNAMES-ANSI* to NIL.
  2. Setting CUSTOM:*PRINT-SPACE-CHAR-ANSI* to NIL.
  3. Setting CUSTOM:*COERCE-FIXNUM-CHAR-ANSI* to NIL.
  4. Setting CUSTOM:*SEQUENCE-COUNT-ANSI* to NIL.
  5. Setting CUSTOM:*MERGE-PATHNAMES-ANSI* to NIL.
  6. Setting CUSTOM:*PARSE-NAMESTRING-ANSI* to NIL.
  7. Setting CUSTOM:*FLOATING-POINT-CONTAGION-ANSI* to NIL.
  8. Setting CUSTOM:*FLOATING-POINT-RATIONAL-CONTAGION-ANSI* to NIL.
  9. Setting CUSTOM:*PHASE-ANSI* to NIL.
  10. Setting CUSTOM:*LOOP-ANSI* to NIL.
  11. Setting CUSTOM:*PRINT-EMPTY-ARRAYS-ANSI* to NIL.
  12. Setting CUSTOM:*PRINT-UNREADABLE-ANSI* to NIL.
  13. Setting CUSTOM:*DEFUN-ACCEPT-SPECIALIZED-LAMBDA-LIST* to T.

These notes document CLISP version 2.49Last modified: 2010-07-07