[darcs-users] darcsweb 1.1

Max Battcher me at worldmaker.net
Wed Oct 29 03:23:09 UTC 2008


Trent W. Buck wrote:
> I'm being irascible again...
> 
> Simon Michael <simon at joyful.com> writes:
>>> http://joyful.com/darcsweb/darcsweb.cgi?r=darcs-stable;a=headblob;f=/src/OldFastPackedString.hs
>> PS interesting to compare the darcsweb+pygments source view with that of 
>> HsColour:
>>
>> http://joyful.com/repos/darcs-stable/api-doc/src-OldFastPackedString.html
>>
>> I like how hscolour defines linkable anchors for each line. I like how 
>> pygment displays the line numbers. I don't think I like it's purple 
>> colouring of both types and keywords, but maybe it will grow on me.
>> I like that hscolour generates static html, which is more easily served, 
>>   but I'm sure darcsweb/pygments could be made to do that too.
> 
> I find the overuse of colour and the heavy bolding in the first one
> rather hard to read.  IME fixed-width oblique typefaces also tend to
> look icky; I kinda like a2ps' default style of making comments
> variable-width (assuming you feel the urge to mess with the typeface).
> 
> I also don't like the red border around square brackets; if you're gonna
> use CSS, it seems to me that the obvious and best way to do parens is
> with paste.lisp.org-style paren-matching hover voodoo.

Hah!  I didn't look at the examples the first time, but I knew 
immediately that the red border is from Pygments' error class and I just 
double checked (it is indeed class="err" in those spots).  Apparently 
there are bugs in the Haskell lexer for Pygments...

--
--Max Battcher--
http://worldmaker.net


More information about the darcs-users mailing list