[Zope] Editing DTML Methods with Emacs ?
Michel Pelletier
michel@digicool.com
Tue, 7 Sep 1999 12:11:43 -0400
> -----Original Message-----
> From: flight@mathi.uni-heidelberg.de
> [mailto:flight@mathi.uni-heidelberg.de]
> Sent: Tuesday, September 07, 1999 9:28 AM
> To: zope@zope.org
> Subject: [Zope] Editing DTML Methods with Emacs ?
>
>
> I remember this problem was raised here once, but I don't
> know if there's
> a solution now: I'd like to use something else than
> Netscape's text widget
> to edit my Zope site. XEmacs would be preferred. Ftp access
> to the site
> does work with the /superuser@host#8021:/ syntax. The problem
> is that if
> I edit and save a DTML method with XEmacs, the method turns
> into a DTML
> document, breaking the logic of the site.
>
> I think I understood the underlying problem (ftp just can't
> express the
> differences between the objects), but I don't remember if
> there was any
> workaround.
>
The problem is XEmacs. It first deletes the file and saves a backup
'~', and then an original. Because it deletes the origninal object
instead of overwriting it, Zope assumes that the *new* file is to be a
document. I bet a gazzillion dollars that there is some lisp variable
somewhere in EFS to disable this behavior.
-Michel
> So what do people use to prototype Zope sites ? Are you all stuck with
> the Zope web management interface ?
>
> Gregor
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>