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

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

On Thu, 31 Jan 2008 01:36:11 -0600, "Victor Kryukov" <victor.kryukov@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. Thanks for the report, Edi.

On Thu, 07 Feb 2008 00:35:40 +0100, Edi Weitz <edi@agharta.de> wrote:
On Thu, 31 Jan 2008 01:36:11 -0600, "Victor Kryukov" <victor.kryukov@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.
participants (2)
-
Edi Weitz
-
Victor Kryukov