From gwking at metabang.com Tue Oct 14 18:15:36 2008 From: gwking at metabang.com (Gary King) Date: Tue, 14 Oct 2008 14:15:36 -0400 Subject: [cl-markdown-devel] cl-markdown and asdf-system-connections In-Reply-To: <18F62DDA-81C7-4516-9187-A732F98DD468@martelles.com> References: <18F62DDA-81C7-4516-9187-A732F98DD468@martelles.com> Message-ID: (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\"\" \\\"# #x300040FDF2AD>\\\" \\\"0\\\" \\\"'NIL\\\"\")" > (:restartable :unknown)) > (1 "(\"READ\"\" \\\"#\\ > \" \\\"'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\\\" \\ > \"# (:restartable :unknown)) > (5 "(\"(:INTERNAL SWANK:INTERACTIVE-EVAL)\"\"\")" > (:restartable :unknown)) > (6 "(\"SWANK::CALL-WITH-RETRY-RESTART\"\" \\\"\\\\\"Retry > SLIME interactive evaluation request.\\\\\"\\\" \\\"# (:restartable :unknown)) > (7 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ > \"# (: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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From martelr at martelles.com Tue Oct 14 23:07:57 2008 From: martelr at martelles.com (Raphael Martelles) Date: Tue, 14 Oct 2008 16:07:57 -0700 Subject: [cl-markdown-devel] cl-markdown and asdf-system-connections In-Reply-To: References: <18F62DDA-81C7-4516-9187-A732F98DD468@martelles.com> Message-ID: Hi! Here's another interesting one: (markdown "

" :stream nil :format :html) results in:

<img src='/images/lisplogoflag64.png' />

On the other hand: (markdown "

" :stream nil :format :html) results in the correct output of:

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\"\" \\\"#> #x300040FDF2AD>\\\" \\\"0\\\" \\\"'NIL\\\"\")" >> (:restartable :unknown)) >> (1 "(\"READ\"\" \\\"#\ >> \\" \\\"'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\\\" \\ >> \"#> (:restartable :unknown)) >> (5 "(\"(:INTERNAL SWANK:INTERACTIVE-EVAL)\"\"\")" >> (:restartable :unknown)) >> (6 "(\"SWANK::CALL-WITH-RETRY-RESTART\"\" \\\"\\\\\"Retry >> SLIME interactive evaluation request.\\\\\"\\\" \\\"#> (:restartable :unknown)) >> (7 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ >> \"#> (: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 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cases at metabang.fogbugz.com Wed Oct 15 02:12:08 2008 From: cases at metabang.fogbugz.com (metabang opensource software) Date: Tue, 14 Oct 2008 22:12:08 -0400 Subject: [cl-markdown-devel] (Case 248) cl-markdown confused by underscores in embedded HTML. Message-ID: <20081015021221.DB4A147C044@nsla1.fogcreek.com> Hi Raphael, Dang, you're right. That's certainly a bug but at least it's got a great test case to go with it. Thanks for doing the investigative work. I'll take a look shortly. -- metabang opensource software cases at metabang.fogbugz.com --------------------------------------------------------------------------- http://www.metabang.com/ using http://www.fogcreek.com/FogBugz -----Original Message----- From: Raphael Martelles Reply-To: Raphael Martelles Date: Tue, 14 Oct 2008 16:07:57 -0700 To: Gary King Cc: cl-markdown-devel at common-lisp.net, cases at metabang.fogbugz.com Subject: Re: cl-markdown and asdf-system-connections >Hi! > >Here's another interesting one: > >(markdown " > >

>

> >" :stream nil :format :html) > >results in: > >

<img src='/images/lisplogoflag64.png' />

> > >On the other hand: > >(markdown " > >

>

> >" :stream nil :format :html) > >results in the correct output of: > >

> >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 From daniel at whitehouse.id.au Tue Oct 28 07:13:07 2008 From: daniel at whitehouse.id.au (Daniel White) Date: Tue, 28 Oct 2008 17:13:07 +1000 Subject: [cl-markdown-devel] [PATCH] Import system-relative-pathname into cl-markdown-test Message-ID: <20081028171307.3b8082d8@whitehouse.id.au> cl-markdown-comparisons is failing to load because this method is used comparison.lisp but isn't imported. -- Daniel White -------------- next part -------------- A non-text attachment was scrubbed... Name: import-system_relative_pathname-into-cl_markdown_test.dpatch Type: application/octet-stream Size: 2043 bytes Desc: not available URL: From gwking at metabang.com Tue Oct 28 15:09:10 2008 From: gwking at metabang.com (Gary King) Date: Tue, 28 Oct 2008 11:09:10 -0400 Subject: [cl-markdown-devel] [PATCH] Import system-relative-pathname into cl-markdown-test In-Reply-To: <20081028171307.3b8082d8@whitehouse.id.au> References: <20081028171307.3b8082d8@whitehouse.id.au> Message-ID: <2F6B594C-13E7-4E59-BF5D-4F9CC5489AE6@metabang.com> Hi Daniel, Thanks for the notice and the patch. I'll get that out sometime this week. On Oct 28, 2008, at 3:13 AM, Daniel White wrote: > -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM