Mobile version of this page
Previous:
The importance of being findable
Next:
Funny Plone quote
Changing the size of a textarea box
Make your settings in .Xdefaults come true
Gmail shortcuts
Zope compared to PHP
Running simple SQL commands on the command line
The importance of being findable
Next:
Funny Plone quote
Related blogs
Carbon XEmacs installedChanging the size of a textarea box
Make your settings in .Xdefaults come true
Gmail shortcuts
Zope compared to PHP
Running simple SQL commands on the command line
Related by category
Emacs html-mode for .zpt and .dtml
http://www.zope.it/Members/kaboom/tal/emacs15th 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.







Save this page in del.icio.us