Re: [Zope] ZOPE, Xemacs, html-mode, indentation

2000-06-07 Thread jiva
Bob: You are 100% correct. I didn't want to write a DTD for dtml (though this is probably the "right" solution) so instead I went searching for other options. Here's what I found: If you use hm--html-mode, there's a variable called: hm--html-tag-name-alist where I added some definitions for

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Skip Montanaro
So the question is, how do I turn on auto-indent in xemacs for dtml code? Does anyone have a mode specially for this? You should be able to define an html-mode-hook that goes something like (setq html-mode-hook (function (lambda ()

RE: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Chris McDonough
I don't know about xemacs, but gnu emacs has indented-text-mode M - x indented-text-mode -Original Message- From: Skip Montanaro [mailto:[EMAIL PROTECTED]] Sent: Monday, June 05, 2000 3:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZOPE, Xemacs, html-mode

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread jiva
Nope, didn't work. On Mon, Jun 05, 2000 at 02:27:52PM -0500, Skip Montanaro wrote: So the question is, how do I turn on auto-indent in xemacs for dtml code? Does anyone have a mode specially for this? You should be able to define an html-mode-hook that goes something like

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread jiva
M - x indented-text-mode From: Skip Montanaro [mailto:[EMAIL PROTECTED]] Sent: Monday, June 05, 2000 3:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZOPE, Xemacs, html-mode, indentation. So the question is, how do I turn on auto-indent

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Skip Montanaro
Regarding my html-mode-hook suggestion: Nope, didn't work. It looks like html-mode is actually a refinement of sgml-mode. After loading it and asking for help on it, I see Major mode for editing HTML documents. This is based on PSGML mode, and has a sophisticated SGML parser in