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

Chris McDonough chrism@digicool.com
Mon, 5 Jun 2000 15:32:01 -0400


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 )
>