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

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

2000-06-06 Thread Alastair Burt
Bob Finch [EMAIL PROTECTED] wrote: I just ran into the same problem. It appears that XEmacs html-mode parses the html in the buffer. If it doesn't parse correctly, the indentation stuff doesn't work. To see this, try editing something without any dtml in it -- indentation should work

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

2000-06-05 Thread jiva
I am using XEmacs with it's html mode to work on some dtml code. I can get it to switch to html mode easily for the dtml stuff even though I'm not naming my files with .html extensions by doing: M-x html-mode Unfortunately, no matter what I do, I can't get it to do it's indentation on anything

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