[cl-who-devel] Macroexpansion of with-html-output body?

Jeff Cunningham jeffrey at cunningham.net
Sun Feb 3 16:15:57 UTC 2008


Edi Weitz wrote:
> On Sat, 2 Feb 2008 15:18:09 -0600, "Eli Naeher" <enaeher at gmail.com> wrote:
>
>   
>> It seems like it would be nice to expand any macros detected while
>> walking the tree of the w-h-o body. This would allow users to define
>> their own pseudo-tags a little more flexibly than is possible with
>> convert-tag-to-string-list. In particular, it would allow the user
>> to create a tag which modifies its body (as a tree) even when that
>> body contains the expansion of another user-defined tag. I don't
>> believe this is currently possible, as this hypothetical outer tag
>> would have access only to the HTML strings returned by the
>> convert-tag-to-string-list specialized on the inner tag and not to
>> the relevant s-expressions.
>>
>> Is there any interest in a patch implementing this behavior?
>>     
>
> Modifying CL-WHO's internals to allow this is on my todo list, but
> there are a lot more things on this list, so the chances of me doing
> this myself in the near future are not very big.  So, if someone wants
> to do this, I'm all for it.  Please read this first, though:
>
>   http://weitz.de/patches.html
>
> In the case of CL-WHO I'd think that backwards compatibility would be
> pretty important.
>
> Edi.
>   
I also like the idea.
And as I have tens of thousands of lines of cl-who code in operation, I 
emphatically vote for backwards compatibility.

--Jeff



More information about the Cl-who-devel mailing list