[cl-who-devel] with-html-output-to-string (str)

Edi Weitz edi at agharta.de
Sat Aug 9 20:31:46 UTC 2008


On Thu, 07 Feb 2008 00:35:40 +0100, Edi Weitz <edi at agharta.de> wrote:

> On Thu, 31 Jan 2008 01:36:11 -0600, "Victor Kryukov" <victor.kryukov at gmail.com> wrote:
>
>> The following code produces errors on two of my systems (Linux and
>> Mac) for both CLISP and SBCL:
>>
>> (require 'asdf)
>> (asdf:oos 'asdf:load-op :cl-who)
>>
>> (defpackage :test
>>   (:use :cl :cl-who))
>>
>> (in-package :test)
>>
>> (with-html-output-to-string (str)
>>   (:html (:title "test")))
>>
>> It looks like a bug, macro variable capture, to me, but it may well
>> be my misunderstanding/misuse of CL-WHO.
>>
>> I'd appreciate your comments, as usual.
>
> Sorry for the delay.  Just a confirmation that this seems to be a
> bug.  Will be fixed in the next days when I find some time.

I didn't have much time to look at CL-WHO in the last months, but as
an update let me say that with the current behaviour this isn't really
a bug (as in variable capture) but rather a result of how CL-WHO is
implemented.  I'm currently working on changing this.  In the
meantime, don't use STR (or ESC etc.) as a variable name... :)

Edi.



More information about the Cl-who-devel mailing list