RE: [Zope] ZOPE, Xemacs, html-mode, & indentation.
I don't know about xemacs, but gnu emacs has indented-text-mode M - x indented-text-mode
-----Original Message----- From: Skip Montanaro [mailto:skip@mojam.com] Sent: Monday, June 05, 2000 3:28 PM To: jiva@devware.com Cc: zope@zope.org Subject: Re: [Zope] ZOPE, Xemacs, html-mode, & indentation.
>> 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 () (turn-on-auto-fill))))
-- Skip Montanaro, skip@mojam.com, http://www.mojam.com/, http://www.musi-cal.com/ "We have become ... the stewards of life's continuity on earth. We did not ask for this role... We may not be suited to it, but here we are." - Stephen Jay Gould
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
No, this just lets you hit tab to indent. HTML mode has a special automatic indentation capability that isn't working here. That's what I am trying to turn on. On Mon, Jun 05, 2000 at 03:32:01PM -0400, Chris McDonough wrote:
I don't know about xemacs, but gnu emacs has indented-text-mode
M - x indented-text-mode
From: Skip Montanaro [mailto:skip@mojam.com] Sent: Monday, June 05, 2000 3:28 PM To: jiva@devware.com Cc: zope@zope.org Subject: Re: [Zope] ZOPE, Xemacs, html-mode, & indentation.
>> 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 () (turn-on-auto-fill))))
-- Only someone with nothing to be sorry for smiles back at the rear of an elephant.
participants (2)
-
Chris McDonough -
jiva@devware.com