[cl-who-devel] ESC inside FMT doesn't get expanded

Edi Weitz edi at agharta.de
Thu May 1 20:36:13 UTC 2008


On Thu, 1 May 2008 22:29:35 +0200 (CEST), "Leslie P. Polzer" <leslie.polzer at gmx.net> wrote:

> Here's the case:
>
> [4]> (in-package :cl-who)
> #<PACKAGE CL-WHO>
> WHO[5]> (with-html-output (*standard-output*)
>   (:p (fmt "~A" (esc "foo"))))
> <p>
> *** - EVAL: undefined function ESC

Works as described:

  http://weitz.de/cl-who/#syntax

The macro sees

  (fmt "~A" (esc "foo"))

and substitutes

  (format s "~A" (esc "foo"))

for it.  At this point, CL-WHO stops expanding, and ESC is treated
like any other symbol.

Try this:

  http://weitz.de/cl-who/#escape-string



More information about the Cl-who-devel mailing list