Kwissle

My real-time quiz battle game Kwissle.com

Crosstips.org

My fun Crossword solver project. Crosstips.org & Krysstips.se

Kung Fu

Fujian White Crane Kung Fu

Photos

Photoalbum, both old and new.

Twitter

Follow me on Twitter

Contact me

My contact details and how to contact me.

 

KungFuPeople.com
Do you train Kung Fu?
Or know someone who does?
Then check out KungFuPeople.com


Mobile version of this page Mobile version of this page


 
Zope

Emacs html-mode for .zpt and .dtml

http://www.zope.it/Members/kaboom/tal/emacs

15th of April 2004

I've been using XEmacs on windows a lot lately to edit .zpt and .dtml files (template files for Zope) and to get automatic html-mode on these files you need this in your .emacs or 'custom.el':

 (add-to-list 'auto-mode-alist '("\\.zpt$" . html-mode))
 (add-to-list 'auto-mode-alist '("\\.dtml$" . html-mode))

This is not the first time I've had to add this. Better write it down so I've got it documented somewhere.



Comment

 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.