Discussion:
with-html-output-to-string (str)
Victor Kryukov
2008-01-31 07:36:11 UTC
Permalink
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.
--
Yours Sincerely,
Victor Kryukov
Edi Weitz
2008-02-06 23:35:40 UTC
Permalink
Post by Victor Kryukov
The following code produces errors on two of my systems (Linux and
(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.

Thanks for the report,
Edi.
Edi Weitz
2008-08-09 20:31:46 UTC
Permalink
Post by Edi Weitz
Post by Victor Kryukov
The following code produces errors on two of my systems (Linux and
(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.

Loading...