I'm pleased to announce that my proposal for Common Lisp "File-Local
Variables" has been accepted, finalized and published at the Common
Document Repository. It can now be referred to as CDR #9.
The abstract is given below:
The Common Lisp standard defines two special variables, *PACKAGE* and
*READTABLE*, that are treated in a special way: the functions LOAD and
COMPILE-FILE establish a new dynamic binding for each of them, so that
any modification to their value at load or compile time becomes local to
the file being processed. It is this particular treatment of these
variables that allows for IN-PACKAGE or IN-READTABLE (from the
NAMED-READTABLES library) to essentially have a ``file-local'' effect.
The motivation for the present document is the claim that this behavior
could be useful for other, user-defined variables, although there is
currently no way to do so in standard Common Lisp.
Resistance is futile. You will be jazzimilated.
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
EPITA/LRDE, 14-16 rue Voltaire, 94276 Le Kremlin-Bicêtre, France
Tel. +33 (0)1 44 08 01 85 Fax. +33 (0)1 53 14 59 22