Emacs html-mode for .zpt and .dtml

15 April 2004   0 comments   Zope

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

Mind That Age!

This blog post is 14 years old! Most likely, its content is outdated. Especially if it's technical.

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.

Comments

Your email will never ever be published


Related posts

Previous:
The importance of being findable 15 April 2004
Next:
Funny Plone quote 15 April 2004
Related by Keyword:
Lesson learned: Unicodifying request variables in Zope 16 April 2009
Carbon XEmacs installed 14 March 2006
Zope compared to PHP 22 June 2005
Gmail shortcuts 26 April 2005
Running simple SQL commands on the command line 08 January 2005
Related by Text:
jQuery and Highslide JS 08 January 2008
I'm back! Peterbe.com has been renewed 05 June 2005
Anti-McCain propaganda videos 12 August 2008
Ever wondered how much $87 Billion is? 04 November 2003
Guake, not Yakuake or Yeahconsole 23 January 2010