***cluck` is now known as cluck
<daviid>dsmith-work: had to run, but tx for your help. fyi, gobject-2.0 is part of libglib2.0-dev and the user as the "glib wrapper will be built" so something is wrong but it should not be related to the lack og libgnome-dev, imo <daviid>glib can not build without gobject. i think there were an error compiling guile-gnome or even at config time that he did not see, maybe. we'll see... but nothing will work without gobjetc being correctly build ... <daviid>also, i'm suspicious he has a 'wrong' setup for guile tseld <daviid>because he said that guile is in /opt, we should not have to export GUILE_LOAD_PATH, since guile knows where its 'site' dir is <daviid>and he reported tht ,use (gnome-2) fails unless we export: maybe he has 2 guiles <daviid>gnome-2.scm is installed in guile's site directory, as g-wrap ... ***michel_mno_afk is now known as michel_mno
***jalle is now known as jockej
<davexunit>I had mentioned last week that I was going to write a blog post about how I do web development with guile. something that others could follow. <davexunit>when I sat down to do it, I realized that I used a few of my own special modules to actually get stuff done. <davexunit>in particular, I wrote a module for transforming sxml to html <davexunit>that knows about which tags can "self close" (like <input type="text" />), and which cannot <davexunit>I think it would be useful for upstream guile. how does that sound? <ArneBab_>either upstream to guile, or upstream to guildhall <davexunit>the other important thing it handles is HTML escape codes <serhart>how is guildhall going to fit into a world with guix? <davexunit>serhart: guildhall still has a use-case, guix is a general purpose package manager. some users don't want that, they just want an easy way to grab scheme modules. <davexunit>we could certainly write an import tool, like we have for some other things. <hellekin>davexunit: FWIW in HTML5 self-closing tags look like <br> no <br/> :) <davexunit>guess that makes this whole thing even harder to do right. <hellekin>davexunit: well actually it's optional for void elements (br ,hr) but marks the self-closing tag for MathML, SVg, etc. (so called foreign elements) <hellekin>void elements: area, base, br, col, embed, hr, img, input, keygen, link, menuitem, meta, param, source, track, wbr <davexunit>I guess I should distinguish them in my sxml->html procedure <davexunit>I could test for the correct doctype in the tree, I suppose. <davexunit>I want HTML to "just work" with Guile's SXML :( <nalaginrut>davexunit: do you know the black magic of <script> in SXML? ;-P <davexunit>nalaginrut: I use a hack with standard SXML, but since writing my own sxml->html transformer I don't need it anymore. <davexunit>with standard sxml I do something like: (script (@ (src "...")) "") <davexunit>nalaginrut: other elements have similar issues <davexunit>with sxml->xml doesn't how to do, and rightfully so, because it isn't writing HTML. <nalaginrut>yes, so I made some hack in Artanis for escaping issues <nalaginrut>well, SXML has its own standard, it's just similar to html <davexunit>sxml->html is quite short, almost of the source lines are from the escape sequence table. <davexunit>so there's not much to it if you subtract them. <nalaginrut>davexunit: I still don't know if it's a bug in sxml module or it's SXML standard <davexunit>nalaginrut: the <script> thing? it isn't a bug. <davexunit>because in SXML, a tag can self-close if there are no elements within it. <nalaginrut>someone once blame to me that sxml module has problem to use for html, but finally, we realized the problem is because SXML just similar to html <davexunit>SXML naturally follows the XML specification, not the HTML specification. <davexunit>but with a few tweaks it can be used for HTML as well! <nalaginrut>davexunit: maybe you should make a post to explain it ;-) <nalaginrut>many newbies just don't know and treat SXML as html ***michel_mno is now known as michel_mno_afk
<ArneBab_>davexunit: why did you prefix escape-chars with %? <davexunit>ArneBab_: because it's a global. I picked up that style from guix. <davexunit>glad you like the module. I imagine that someone that knows sxml better can suggest some improvements to me. <davexunit>I'm going to make a blog post about it anyway, though. <ijp>well, you could have done it using all the other sxml procedures that only I use, but meh <davexunit>ijp: perhaps I should rewrite it that way, then. <ArneBab_>I’d put '(html on its own line to make it look less deeply indented. <ArneBab_>and one more example with (sxml->html instead of sxml->xml, just the same example, but how it’s right <ArneBab_>I think it should go to the same place where sxml is