Re: [cl-markdown-devel] cl-markdown and asdf-system-connections

(cc'd to list) Hi Raphael, This is great feedback; thanks. I'll add these issues to my issue tracker (Fogbugz) and try to attend to them both soon). On Oct 14, 2008, at 12:58 PM, Raphael Martelles wrote:
Hi, Gary.
Just a quick note to say that I think asdf-system-connections needs to be added as a dependency to cl-markdown. I carefully (by hand) installed the various dependencies to get cl-markdown to work, and when I tried (markdown "some string") I got the slime debugger saying "Class named NIL not found."
After some investigation, I then restarted lisp, loaded asdf-system- connections, reloaded the rest of the packages and tried (markdown "some string") again and had it work.
The stack is here:
((0 "(\"CCL::%READ-FORM\"\" \\\"#<STRING-INPUT-STREAM #x300040FDF2AD>\\\" \\\"0\\\" \\\"'NIL\\\"\")" (:restartable :unknown)) (1 "(\"READ\"\" \\\"#<STRING-INPUT-STREAM #x300040FDF2AD>\\ \" \\\"'T\\\" \\\"'NIL\\\" \\\"'NIL\\\"\")" (:restartable :unknown)) (2 "(\"READ-FROM-STRING\"\" \\\"\\\\\"\\\\\"\\\" \\\"'T\\\" \\\"'NIL\\\" \\\"':START\\\" \\\"0\\\" \\\"':END\\\" \\\"'NIL\\\" \\ \"':PRESERVE-WH.." (:restartable :unknown)) (3 "(\"(:INTERNAL SWANK::FROM-STRING)\"\"\")" (:restartable :unknown)) (4 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK::FROM-STRI.." (:restartable :unknown)) (5 "(\"(:INTERNAL SWANK:INTERACTIVE-EVAL)\"\"\")" (:restartable :unknown)) (6 "(\"SWANK::CALL-WITH-RETRY-RESTART\"\" \\\"\\\\\"Retry SLIME interactive evaluation request.\\\\\"\\\" \\\"#<COMPILE.." (:restartable :unknown)) (7 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIV.." (:restartable :unknown)) (8 "(\"CCL::CALL-CHECK-REGS\"\" \\\"'SWANK:INTERACTIVE-EVAL\ \\" \\\"\\\\\"\\\\\"\\\"\")" (:restartable :unknown)) (9 "(\"SWANK::EVAL-FOR-EMACS\"\" \\\"'(SWANK:INTERACTIVE- EVAL \\\\\"\\\\\")\\\" \\\"'NIL\\\" \\\"2\\\"\")"
I am using Clozure Common Lisp (formerly openmcl) 1.2 on an Intel mac.
I also noticed that in cl-containers, I kept getting a warning that read-container-element was not found. I changed the four #+MCL conditions to #+(or :MCL :openmcl) and that worked very well. I did not see anywhere else in any of the packages that this needed to be done. (This did not fix the above issue, but I am not sure if it might not be important in other ways.)
Anyway, I hope this feedback is useful to you! Thank you for all your work on these utilities!
Raph
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM

Hi! Here's another interesting one: (markdown " <p> <img src='/images/lisplogo_flag_64.png' /></p> " :stream nil :format :html) results in: <p> <img src='/images/lisplogo<em>flag</em>64.png' /></p> On the other hand: (markdown " <p> <img src='/images/lisplogo-flag_64.png' /></p> " :stream nil :format :html) results in the correct output of: <p> <img src='/images/lisplogo-flag_64.png' /></p> Looks like cl-markdown is interpreting surrounding underscores as emphasis within the inline HTML block, even though the markdown docs say it shouldn't. That took me a while to find. :) Raph On Oct 14, 2008, at 11:15 AM, Gary King wrote:
(cc'd to list)
Hi Raphael,
This is great feedback; thanks.
I'll add these issues to my issue tracker (Fogbugz) and try to attend to them both soon).
On Oct 14, 2008, at 12:58 PM, Raphael Martelles wrote:
Hi, Gary.
Just a quick note to say that I think asdf-system-connections needs to be added as a dependency to cl-markdown. I carefully (by hand) installed the various dependencies to get cl-markdown to work, and when I tried (markdown "some string") I got the slime debugger saying "Class named NIL not found."
After some investigation, I then restarted lisp, loaded asdf-system- connections, reloaded the rest of the packages and tried (markdown "some string") again and had it work.
The stack is here:
((0 "(\"CCL::%READ-FORM\"\" \\\"#<STRING-INPUT-STREAM #x300040FDF2AD>\\\" \\\"0\\\" \\\"'NIL\\\"\")" (:restartable :unknown)) (1 "(\"READ\"\" \\\"#<STRING-INPUT-STREAM #x300040FDF2AD>\ \\" \\\"'T\\\" \\\"'NIL\\\" \\\"'NIL\\\"\")" (:restartable :unknown)) (2 "(\"READ-FROM-STRING\"\" \\\"\\\\\"\\\\\"\\\" \\\"'T\\ \" \\\"'NIL\\\" \\\"':START\\\" \\\"0\\\" \\\"':END\\\" \\\"'NIL\\ \" \\\"':PRESERVE-WH.." (:restartable :unknown)) (3 "(\"(:INTERNAL SWANK::FROM-STRING)\"\"\")" (:restartable :unknown)) (4 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK::FROM-STRI.." (:restartable :unknown)) (5 "(\"(:INTERNAL SWANK:INTERACTIVE-EVAL)\"\"\")" (:restartable :unknown)) (6 "(\"SWANK::CALL-WITH-RETRY-RESTART\"\" \\\"\\\\\"Retry SLIME interactive evaluation request.\\\\\"\\\" \\\"#<COMPILE.." (:restartable :unknown)) (7 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIV.." (:restartable :unknown)) (8 "(\"CCL::CALL-CHECK-REGS\"\" \\\"'SWANK:INTERACTIVE-EVAL \\\" \\\"\\\\\"\\\\\"\\\"\")" (:restartable :unknown)) (9 "(\"SWANK::EVAL-FOR-EMACS\"\" \\\"'(SWANK:INTERACTIVE- EVAL \\\\\"\\\\\")\\\" \\\"'NIL\\\" \\\"2\\\"\")"
I am using Clozure Common Lisp (formerly openmcl) 1.2 on an Intel mac.
I also noticed that in cl-containers, I kept getting a warning that read-container-element was not found. I changed the four #+MCL conditions to #+(or :MCL :openmcl) and that worked very well. I did not see anywhere else in any of the packages that this needed to be done. (This did not fix the above issue, but I am not sure if it might not be important in other ways.)
Anyway, I hope this feedback is useful to you! Thank you for all your work on these utilities!
Raph
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM

Hi Raphael, I'm not sure if I ever communicated that this has been fixed. My apologies for dropping the ball! On Oct 14, 2008, at 7:07 PM, Raphael Martelles wrote:
Hi!
Here's another interesting one:
(markdown "
<p> <img src='/images/lisplogo_flag_64.png' /></p>
" :stream nil :format :html)
results in:
<p> <img src='/images/lisplogo<em>flag</em>64.png' /></p>
On the other hand:
(markdown "
<p> <img src='/images/lisplogo-flag_64.png' /></p>
" :stream nil :format :html)
results in the correct output of:
<p> <img src='/images/lisplogo-flag_64.png' /></p>
Looks like cl-markdown is interpreting surrounding underscores as emphasis within the inline HTML block, even though the markdown docs say it shouldn't.
That took me a while to find. :)
Raph
On Oct 14, 2008, at 11:15 AM, Gary King wrote:
(cc'd to list)
Hi Raphael,
This is great feedback; thanks.
I'll add these issues to my issue tracker (Fogbugz) and try to attend to them both soon).
On Oct 14, 2008, at 12:58 PM, Raphael Martelles wrote:
Hi, Gary.
Just a quick note to say that I think asdf-system-connections needs to be added as a dependency to cl-markdown. I carefully (by hand) installed the various dependencies to get cl-markdown to work, and when I tried (markdown "some string") I got the slime debugger saying "Class named NIL not found."
After some investigation, I then restarted lisp, loaded asdf- system-connections, reloaded the rest of the packages and tried (markdown "some string") again and had it work.
The stack is here:
((0 "(\"CCL::%READ-FORM\"\" \\\"#<STRING-INPUT-STREAM #x300040FDF2AD>\\\" \\\"0\\\" \\\"'NIL\\\"\")" (:restartable :unknown)) (1 "(\"READ\"\" \\\"#<STRING-INPUT-STREAM #x300040FDF2AD> \\\" \\\"'T\\\" \\\"'NIL\\\" \\\"'NIL\\\"\")" (:restartable :unknown)) (2 "(\"READ-FROM-STRING\"\" \\\"\\\\\"\\\\\"\\\" \\\"'T\\ \" \\\"'NIL\\\" \\\"':START\\\" \\\"0\\\" \\\"':END\\\" \\\"'NIL\\ \" \\\"':PRESERVE-WH.." (:restartable :unknown)) (3 "(\"(:INTERNAL SWANK::FROM-STRING)\"\"\")" (:restartable :unknown)) (4 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK::FROM-STRI.." (:restartable :unknown)) (5 "(\"(:INTERNAL SWANK:INTERACTIVE-EVAL)\"\"\")" (:restartable :unknown)) (6 "(\"SWANK::CALL-WITH-RETRY-RESTART\"\" \\\"\\\\\"Retry SLIME interactive evaluation request.\\\\\"\\\" \\\"#<COMPILE.." (:restartable :unknown)) (7 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIV.." (:restartable :unknown)) (8 "(\"CCL::CALL-CHECK-REGS\"\" \\\"'SWANK:INTERACTIVE- EVAL\\\" \\\"\\\\\"\\\\\"\\\"\")" (:restartable :unknown)) (9 "(\"SWANK::EVAL-FOR-EMACS\"\" \\\"'(SWANK:INTERACTIVE- EVAL \\\\\"\\\\\")\\\" \\\"'NIL\\\" \\\"2\\\"\")"
I am using Clozure Common Lisp (formerly openmcl) 1.2 on an Intel mac.
I also noticed that in cl-containers, I kept getting a warning that read-container-element was not found. I changed the four # +MCL conditions to #+(or :MCL :openmcl) and that worked very well. I did not see anywhere else in any of the packages that this needed to be done. (This did not fix the above issue, but I am not sure if it might not be important in other ways.)
Anyway, I hope this feedback is useful to you! Thank you for all your work on these utilities!
Raph
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
participants (2)
-
Gary King
-
Raphael Martelles