<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.lisp.who.general">
    <title>gmane.lisp.who.general</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/323"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/322"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/321"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/320"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/319"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/318"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/317"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/316"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/315"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/313"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/312"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/311"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/310"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/309"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/308"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/307"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/306"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/305"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/304"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.who.general/303"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/323">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/323</link>
    <description>&lt;pre&gt;Quoth Ron Garret &amp;lt;ron&amp;lt; at &amp;gt;flownet.com&amp;gt;:

You have a choice.  You can either stick with single quotes around foo and
change *attribute-quote-char* to double quotes, or leave *attribute-quote-char*
as it is and use double quotes around foo.


&lt;/pre&gt;</description>
    <dc:creator>Sebastian Tennant</dc:creator>
    <dc:date>2013-04-30T20:55:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/322">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/322</link>
    <description>&lt;pre&gt;
How about this:

(setq cl-who:*attribute-quote-char* #\")

(cl-who:with-html-output-to-string (s) ((:input :type :button :onclick "alert('foo')")))
"&amp;lt;input type=\"BUTTON\" onclick=\"alert('foo')\" /&amp;gt;"

PT



&lt;/pre&gt;</description>
    <dc:creator>turnau&lt; at &gt;wemba.edu.pl</dc:creator>
    <dc:date>2013-04-30T19:51:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/321">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/321</link>
    <description>&lt;pre&gt;
On Apr 30, 2013, at 12:33 PM, Jens Teich wrote:


Ooh!  So close!  Turns out this exposes a bug in parenscript:

? (setq ps:*js-string-delimiter* #\" )
#\"
? (princ (ps:ps (alert "'\"")))
alert("\'"");
"alert(\"\\'\"\");"

But I guess this is close enough for my current needs.  Thanks!

rg




&lt;/pre&gt;</description>
    <dc:creator>Ron Garret</dc:creator>
    <dc:date>2013-04-30T19:46:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/320">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/320</link>
    <description>&lt;pre&gt;Am 30.04.2013 21:19, schrieb Ron Garret:
(setq ps:*js-string-delimiter* #\" )


&lt;/pre&gt;</description>
    <dc:creator>Jens Teich</dc:creator>
    <dc:date>2013-04-30T19:33:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/319">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/319</link>
    <description>&lt;pre&gt;
On Apr 30, 2013, at 12:13 PM, Jens Teich wrote:


No, that won't help.  PS just produces the same troublesome string:

? (parenscript::ps (alert "foo"))
"alert('foo');"
? (with-html-output-to-string (s) ((:input :type :button :onclick (parenscript::ps (alert "foo")))))
"&amp;lt;input type='BUTTON' onclick='alert('foo');' /&amp;gt;"



&lt;/pre&gt;</description>
    <dc:creator>Ron Garret</dc:creator>
    <dc:date>2013-04-30T19:19:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/318">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/318</link>
    <description>&lt;pre&gt;Am 30.04.13 21:02, schrieb Ron Garret:

You need parenscript

:onclick (ps (alert ...))

~jens



&lt;/pre&gt;</description>
    <dc:creator>Jens Teich</dc:creator>
    <dc:date>2013-04-30T19:13:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/317">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/317</link>
    <description>&lt;pre&gt;
On Apr 30, 2013, at 11:47 AM, Stas Boukarev wrote:



Well, they need something if you want to embed a single-quoted string inside them:

? (with-html-output-to-string (s) ((:input :type :button :onclick "alert('foo')")))
"&amp;lt;input type='BUTTON' onclick='alert('foo')' /&amp;gt;"

rg



&lt;/pre&gt;</description>
    <dc:creator>Ron Garret</dc:creator>
    <dc:date>2013-04-30T19:02:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/316">
    <title>Re: Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/316</link>
    <description>&lt;pre&gt;
That's not a bug, the attributes don't need STR or ESC.
(with-html-output-to-string (s) ((:a :href (escape-string "XXX")) (esc "YYY")))

&lt;/pre&gt;</description>
    <dc:creator>Stas Boukarev</dc:creator>
    <dc:date>2013-04-30T18:47:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/315">
    <title>Bug report: ESC applied to attribute values produces spurious output</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/315</link>
    <description>&lt;pre&gt;
? (with-html-output-to-string (s) ((:a :href (esc "XXX")) (esc "YYY")))
"&amp;lt;aXXX href='XXX'&amp;gt;YYY&amp;lt;/a&amp;gt;"

My actual use case is:

(:a :onclick (esc "f('str')"))

This is CL-WHO 1.1.1 acquired through quicklisp.

rg



&lt;/pre&gt;</description>
    <dc:creator>Ron Garret</dc:creator>
    <dc:date>2013-04-30T18:39:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/313">
    <title>undefined variable: CL-WHO::ATTR problem again</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/313</link>
    <description>&lt;pre&gt;I just upgraded everything through quicklisp and rebuilt a project I'm 
working on and an error came back that I've run into before. There is a 
missing comma in cl-who.lisp that I manually fixed the last two times 
I've upgraded quicklisp dists.

Trying to google on the error doesn't get you anywhere, although someone 
posted to the mail list about it once before. I don't think they 
captured the error message in their post. So here it is for anyone 
running into this problem.

; --&amp;gt; CL-WHO:FMT
; ==&amp;gt;
;   (FORMAT *STANDARD-OUTPUT* " ~A" CL-WHO::ATTR)
;
; caught WARNING:
;   undefined variable: CL-WHO::ATTR
;
; compilation unit finished
;   Undefined variable:
;     CL-WHO::ATTR
;   caught 1 WARNING condition


Here's the fix: (add the comma)

  $ diff who.lisp who.lisp~
120c120
&amp;lt;                                      `(fmt " ~A" ,attr))
---
 &amp;gt;                                      `(fmt " ~A" attr))


I'm going see if I can submit a bug fix on this.

Cheers,
--Jeff


&lt;/pre&gt;</description>
    <dc:creator>Jeff Cunningham</dc:creator>
    <dc:date>2013-03-01T17:18:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/312">
    <title>Re: undefined variable: CL-WHO::ATTR problem again</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/312</link>
    <description>&lt;pre&gt;I just submitted a pull request to fix this. Hopefully this will be the 
end of it.
--Jeff


On 03/01/2013 09:18 AM, Jeff Cunningham wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jeff Cunningham</dc:creator>
    <dc:date>2013-03-01T17:37:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/311">
    <title>Missing comma in who.lisp</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/311</link>
    <description>&lt;pre&gt;--- who.lisp~2012-10-05 17:16:12.007971946 +0200
+++ who.lisp2012-10-09 21:08:39.026986297 +0200
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -117,7 +117,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
                                 ((eq ,=var= t)
                                  ,(case *html-mode*
                                     (:sgml
-                                     `(fmt " ~A" attr))
+                                     `(fmt " ~A" ,attr))
                                     ;; otherwise default to :xml mode
                                     (t
                                      `(fmt " ~A=~C~A~C"

&lt;/pre&gt;</description>
    <dc:creator>maurycy&lt; at &gt;wemba.edu.pl</dc:creator>
    <dc:date>2012-10-10T10:20:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/310">
    <title>Re: The problem with "esc"</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/310</link>
    <description>&lt;pre&gt;
esc is a shortcut for (princ (escape-string ...))

&lt;/pre&gt;</description>
    <dc:creator>Stas Boukarev</dc:creator>
    <dc:date>2012-08-01T03:16:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/309">
    <title>Re: The problem with "esc"</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/309</link>
    <description>&lt;pre&gt;Of course, escape-string always works. But this is not my point. Since
"esc" is the shortcut of "escape-string", hope "esc" will be better.

Best,
Kenneth


On Tue, Jul 31, 2012 at 10:05 AM, Stas Boukarev &amp;lt;stassats&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Kenneth Yan</dc:creator>
    <dc:date>2012-08-01T00:56:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/308">
    <title>Re: The problem with "esc"</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/308</link>
    <description>&lt;pre&gt;
Try escape-string instead.

&lt;/pre&gt;</description>
    <dc:creator>Stas Boukarev</dc:creator>
    <dc:date>2012-07-31T02:05:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/307">
    <title>The problem with "esc"</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/307</link>
    <description>&lt;pre&gt;Dear all,

Please pay attention to the issue below.

(with-html-output-to-string (*standard-output* nil :prologue nil)
  (:input :type "text" :name (escape-string "你好") :readonly "readonly"
          :value (esc "你好")))

"&amp;lt;input type=\"text\" name=\"&amp;amp;#20320;&amp;amp;#22909;\"
readonly=\"readonly\"&amp;amp;#20320;&amp;amp;#22909; value=\"&amp;amp;#20320;&amp;amp;#22909;\"&amp;gt;"


Best,
Kenneth
&lt;/pre&gt;</description>
    <dc:creator>Kenneth Yan</dc:creator>
    <dc:date>2012-07-31T01:49:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/306">
    <title>using cl-who to expand dynamically created s-html?</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/306</link>
    <description>&lt;pre&gt;
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&amp;lt; at &amp;gt;Prewett.org download&amp;lt; at &amp;gt;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

&lt;/pre&gt;</description>
    <dc:creator>Jim Prewett</dc:creator>
    <dc:date>2012-05-24T17:41:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/305">
    <title>Re: declarations placement issue</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/305</link>
    <description>&lt;pre&gt;Thanks for taking the time to reply.

I've already forked the github version and got the patch approved by Hans.

Best wishes,

Ala'a.

On Sat, May 5, 2012 at 1:26 AM, Edi Weitz &amp;lt;edi&amp;lt; at &amp;gt;agharta.de&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Ala'a Mohammad</dc:creator>
    <dc:date>2012-05-05T10:42:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/304">
    <title>Re: declarations placement issue</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/304</link>
    <description>&lt;pre&gt;Sorry for the late reply... :(

Yeah, look like you're right.  I think the documentation is to blame
in that it talks about declarations although I think CL-WHO never took
care of them.  I'd suggest to just remove this from the docs unless
you have a patch.  (I myself am too busy with other things to work on
the code.)

Thanks,
Edi.


On Thu, Apr 19, 2012 at 10:42 PM, Ala'a Mohammad &amp;lt;amalawi&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Edi Weitz</dc:creator>
    <dc:date>2012-05-04T21:26:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/303">
    <title>declarations placement issue</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/303</link>
    <description>&lt;pre&gt;Hi,

Please, correct me If I'm wrong.

in the expansion of the following (using cl-who from quicklisp)

(with-html-output (var)
  (declare (special var)))
;=&amp;gt;
(LET ((VAR VAR))
   (PROGN
      (DECLARE (SPECIAL VAR))))

I think that the declaration is placed in the wrong place. CLHS does
not specify any declarations for PROGN entry. and in this declaration
provides information about the bindings of LET, thus I thought the
correct expansion should be:

(with-html-output (var)
  (declare (special var)))
;=&amp;gt;
(LET ((VAR VAR))
   (DECLARE (SPECIAL VAR))
   (PROGN))

the fix should should only affect with-html-output (since
with-html-output-to-string passes the declarations to the former
macro)

Regards,

Ala'a

&lt;/pre&gt;</description>
    <dc:creator>Ala'a Mohammad</dc:creator>
    <dc:date>2012-04-19T20:42:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.who.general/302">
    <title>Re: onclick</title>
    <link>http://permalink.gmane.org/gmane.lisp.who.general/302</link>
    <description>&lt;pre&gt;
From the parenscript manual:
(PS-INLINE form &amp;amp;optional *JS-STRING-DELIMITER*)
(PS-INLINE* form &amp;amp;optional *JS-STRING-DELIMITER*)
PS-INLINE and PS-INLINE* take a single Parenscript form and output a
string starting with javascript: that can be used in HTML node
attributes. As well, they provide an argument to bind the value of
*JS-STRING-DELIMITER* to control the value of the JavaScript string
escape character to be compatible with whatever the HTML generation
mechanism is used (for example, if HTML strings are delimited using
#\', using #\" will avoid conflicts without requiring the output
JavaScript code to be escaped). By default the value is taken from
*JS-INLINE-STRING-DELIMITER*.

comment: the default value for  *JS-INLINE-STRING-DELIMITER* is #\"

&lt;/pre&gt;</description>
    <dc:creator>Andy Peterson</dc:creator>
    <dc:date>2012-04-12T15:55:13</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.who.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.who.general</link>
  </textinput>
</rdf:RDF>
