Some clients implement custom behavior for packages and symbols by defining methods on interpret-symbol-token, interpret-symbol, wrap-in-quote and friends. These clients can have their own notion of the current package (e.g. stored in the client object). There is (at least) one blind spot though: the sharpsign-plus-minus macro function, when reading feature expressions, changes the current package by binding cl:*package*. A generic function (call-with-current-package client thunk package-designator) should be called instead.
Some clients implement custom behavior for packages and symbols by defining methods on
interpret-symbol-token
,interpret-symbol
,wrap-in-quote
and friends. These clients can have their own notion of the current package (e.g. stored in the client object). There is (at least) one blind spot though: thesharpsign-plus-minus
macro function, when reading feature expressions, changes the current package by bindingcl:*package*
. A generic function(call-with-current-package client thunk package-designator)
should be called instead.