15 April 2004 0 comments Zope
This blog post is 18 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.
- Previous:
- The importance of being findable 15 April 2004
- Next:
- Funny Plone quote 15 April 2004
- Related by category:
- 'Cache-Control' or Expires 16 September 2005 Zope
- Mocking a Python standard library 14 March 2008 Zope
- rfc822() vs. rfc1123_date() 16 August 2007 Zope
- Sending HTML emails in Zope 26 October 2006 Zope
- To all Zope developers: Does this sound familiar? 8 March 2011 Zope
- Related by keyword:
- Lesson learned: Unicodifying request variables in Zope 16 April 2009
- Zope compared to PHP 22 June 2005
- Make your settings in .Xdefaults come true 16 November 2004
- Changing the size of a textarea box 18 August 2004
- Carbon XEmacs installed 14 March 2006