2009/5/22 Alex Plotnick <plotnick@...>:
> Looking at the code for GENTEMP for no particular reason, I noticed that
> while it clearly intends to bind *PRINT-PRETTY* to NIL during the call
> to FORMAT that generates the symbol name, it doesn't actually succeed in
> doing so:
> * (let* ((*print-pprint-dispatch* (copy-pprint-dispatch)))
> (set-pprint-dispatch 'string
> (lambda (stream obj) (write-string "BAR-" stream)))
> (gentemp "FOO-"))
> This is a bug: the supplied prefix isn't actually used to create the
> new symbol name. The proximate cause of the bug is a LET which should
> be a LET*, but it's probably better not to use FORMAT at all. A patch
> is attached.
Merged as 188.8.131.52, thank you!