On Tue, Sep 28, 2010 at 7:20 PM, David-Sarah Hopwood
<[email protected]> wrote:
>
> That won't trigger syntax highlighting (contrary to what
> <http://tahoe-lafs.org/trac/tahoe-lafs/wiki/Patches> says). I suggest
> thing.darcs.patch.

Hmph. I tried this and you are right:

http://tahoe-lafs.org/trac/tahoe-lafs/attachment/ticket/1212/1212.darcspatch.txt
http://tahoe-lafs.org/trac/tahoe-lafs/attachment/ticket/1212/1212.darcs.patch

I don't know why, since our trac config file says:

[mimeviewer]
mime_map = 
text/x-darcspatch:dpatch:darcspatch:darcspatch.txt:dpatch.txt:darcs.txt:darcs.patch
pygments_modes = text/x-darcspatch:dpatch:10

(per http://trac.edgewall.org/wiki/TracIni#mimeviewer-section )

Perhaps ".txt" is a special case. Anyway, I've changed
<http://tahoe-lafs.org/trac/tahoe-lafs/wiki/Patches> to recommend
thing.darcs.patch. Thanks!

Regards,

Zooko
_______________________________________________
tahoe-dev mailing list
[email protected]
http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev

Reply via email to