[cl-who-devel] using cl-who to expand dynamically created s-html?

Jim Prewett download at hpc.unm.edu
Thu May 24 17:41:33 UTC 2012


Hi All,

I've been (happily) using cl-who for quite a while, but now I'm stuck!  
I'd like to use cl-who to expand s-expressions (which are generated on 
the fly) into HTML.

So, instead of doing what I normally do like this:

(cl-who:with-html-output (*standard-output*)
  (cl-who:htm 
    (:pre "this is some preformatted text")))

I'd like to do something like this (where the s-exprs are generated by 
calling a function):
(cl-who:with-html-output (*standard-output*)
  (cl-who:htm 
    (funcall #'(lambda () '(:pre "this is some preformatted text")))))

Of course, this doesn't work as with-html-output is a macro.

I feel like I'm missing something horribly obvious! :)

Thanks for any help you can provide,
Jim

James E. Prewett                    Jim at Prewett.org download at hpc.unm.edu 
Systems Team Leader           LoGS: http://www.hpc.unm.edu/~download/LoGS/ 
Designated Security Officer         OpenPGP key: pub 1024D/31816D93    
HPC Systems Engineer III   UNM HPC  505.277.8210




More information about the Cl-who-devel mailing list