Emacs is, of course, the editor of champions. Here are a couple of things that I use to make my Xemacs life easier.
A major mode for editing Template Toolkit templates
You can also browse the git repository.
All of this stuff is available under the GPL. So please enjoy it – and let me know if you have any suggestions or improvements.