From des at linpro.no Fri Feb 10 16:15:29 2006 From: des at linpro.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Fri, 10 Feb 2006 17:15:29 +0100 Subject: Logo Message-ID: Anders sent me a copy of a logo proposal which he submitted to one of VG's designers. The designer is sick, but I slapped together a vectorized version of Anders's proposal in Inkscape; the result is all over the web site. Enjoy! DES -- Dag-Erling Sm?rgrav Senior Software Developer Linpro AS - www.linpro.no From des at linpro.no Sat Feb 11 20:31:05 2006 From: des at linpro.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sat, 11 Feb 2006 21:31:05 +0100 Subject: Threading Message-ID: If you notice that my replies on the Varnish lists break threads, that's because I'm posting through a m2n gateway, and it does not seem to preserve message-ids correctly. I'll try to get that fixed. DES -- Dag-Erling Sm?rgrav Senior Software Developer Linpro AS - www.linpro.no From des at linpro.no Mon Feb 13 13:04:54 2006 From: des at linpro.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 13 Feb 2006 14:04:54 +0100 Subject: Threading References: Message-ID: des at linpro.no (Dag-Erling Sm?rgrav) writes: > If you notice that my replies on the Varnish lists break threads, > that's because I'm posting through a m2n gateway, and it does not seem > to preserve message-ids correctly. I'll try to get that fixed. Should be fixed now, according to our mailman admin. DES -- Dag-Erling Sm?rgrav Senior Software Developer Linpro AS - www.linpro.no From des at linpro.no Wed Feb 22 13:19:46 2006 From: des at linpro.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Wed, 22 Feb 2006 14:19:46 +0100 Subject: Editing XML with Emacs Message-ID: The default editing mode for XML files in FSF Emacs is James Clark's sgml-mode. There are many disadvantages to sgml-mode: it doesn't really grok XML very well (it was designed for SGML), it doesn't grok encodings, etc. James Clark has written a new Emacs mode specifically for XML, called nXML (nxml-mode). It is not part of the FSF Emacs distribution (yet), but it is available in both Ubuntu and FreeBSD as nxml-mode (or editors/nxml-emacs21 if you want to build it from ports). It has much better syntax highlighting than sgml-mode, and proper indentation and auto-fill support, which sgml-mode lacks completely. Far more importantly, nxml-mode is schema-aware. This means that it offers completion of tags, namespace URIs etc., and can detect and visualize (normally with red underlining) errors in the document. All this requires, of course, that nxml-mode knows the schema you are using; it currently supports DocBook, XHTML, XSLT, RDF and a few others. The only customization I have found necessary to feel comfortable with nxml-mode is the following: (defun des-nxml-mode-hook () (local-set-key "\C-m" 'newline-and-indent) (local-set-key "\C-c\C-e" 'nxml-finish-element)) (add-hook 'nxml-mode-hook 'des-nxml-mode-hook) I *highly* recommend nxml-mode for editing DocBook documentation for Varnish - so much so that I'm considering making nxml-mode's default formatting the required formatting style for DocBook. DES -- Dag-Erling Sm?rgrav Senior Software Developer Linpro AS - www.linpro.no From des at linpro.no Fri Feb 24 19:08:39 2006 From: des at linpro.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) Date: Fri, 24 Feb 2006 20:08:39 +0100 Subject: svn move Message-ID: Subversion does not, strictly speaking, have renaming support; it just knows how to make repocopies automatically. However, I came across an interesting document which describes some of the Subversion internals and suggest a way to implement atomic renames: http://svn.collab.net/viewvc/svn/branches/fs-atomic-renames/subversion/libsvn_fs_base/notes/atomic-moves-proposal.txt?view=markup DES -- Dag-Erling Sm?rgrav Senior Software Developer Linpro AS - www.linpro.no