"Fare" == Far <Far> writes:
Fare> On Thu, Feb 21, 2013 at 2:08 PM, Raymond Toy toy.raymond@gmail.com wrote: >>>>>>> "Fare" == Far <Far> writes: >> Fare> For the record, checking on my machine today: Fare> Implementations that make the standard readtable read-only: Fare> allegro sbcl Fare> Implementations that don't: Fare> abcl ccl clisp cmucl ecl lispworks scl >> >> FWIW, on cmucl, *readtable* is a copy of the standard readtable. The >> standard readtable isn't writable unless you go out of your way to >> access the magic standard readtable. >> >> So, it's perfectly valid to modify *readtable*. >> >> Or are you suggesting that *readtable* should be eq to the >> magic standard readtable? >> >> The same holds for *print-pprint-dispatch*---it's a copy of the >> standard dispatch table, not eq to it. >> Fare> I am suggesting indeed that, Fare> as per the CLHS for WITH-STANDARD-IO-SYNTAX and Fare> the CLHS Glossary for standard reatable, Fare> W-S-IO-S should bind *READTABLE* to the standard readtable, Fare> and similarly for *PRINT-PPRINT-DISPATCH*. Fare> And for the sake of sanity, said standard tables better be readonly.
Ah, I misspoke. w-s-io-s does indeed bind *readtable* to the magic standard table. *print-pprint-dispatch* gets a copy of the standard table.
I will try to update this and make them not writable in time for the next snapshot. Maybe.
Ray