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

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.

Previous:
The importance of being findable April 15, 2004 This site
Next:
Funny Plone quote April 15, 2004 Zope
Related by category:
IssueTrackerProduct now officially abandoned March 30, 2012 Zope
'Cache-Control' or Expires September 16, 2005 Zope
To all Zope developers: Does this sound familiar? March 8, 2011 Zope
Plone.org calls it Issue Tracker May 14, 2005 Zope
Related by keyword:
Running simple SQL commands on the command line January 8, 2005 Python
Zope compared to PHP June 22, 2005 Zope
Gmail shortcuts April 26, 2005 Linux
Carbon XEmacs installed March 14, 2006 macOS