Editing with Emacs in Zope 2.3.0
I'm trying to use Emacs with ange-ftp to edit DTML code on a remote Zope 2.3.0 server. My problem is that, when I want to edit a DTML document with a pathname like »/user@host 8021:/foo/bar/baz«, first of all I get a dired buffer offering me »baz« (and nothing else), which is then opened with the name »/user@host 8021:/foo/bar/baz/baz« (in spite of the fact that »baz« is not a directory). Then afterwards saving the DTML document fails (which is probably to be expected). Has anybody else experienced this? I've read the Using Emacs with Zope howto but it doesn't mention problems like this. Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de An experienced pickup truck driver is a person who's wrecked one. An inexperienced pickup truck driver is a person who's about to wreck one. -- P. J. O'Rourke, *High Speed Performance Characteristics of Pickup Trucks*
On Wed, Feb 14, 2001 at 12:42:11PM +0000, Anselm Lingnau wrote:
I'm trying to use Emacs with ange-ftp to edit DTML code on a remote Zope 2.3.0 server. My problem is that, when I want to edit a DTML document with a pathname like »/user@host 8021:/foo/bar/baz«, first of all I get a dired buffer offering me »baz« (and nothing else), which is then opened with the name »/user@host 8021:/foo/bar/baz/baz« (in spite of the fact that »baz« is not a directory). Then afterwards saving the DTML document fails (which is probably to be expected).
I've been experiencing this behaviour under xemacs for a long time, not only with 2.3.0. I haven't tested carefully to see what are the exact conditions triggering this, but it happens sometimes when I return to a previously open dired buffer and select some object for editing, which emacs (or the server?) then seems to consider "folderish" as in your example. After pressing "g" to refresh the dired buffer for /foo/bar, /foo/bar/baz can be normally retrieved again. I'm using passive ftp under xemacs 21.1 ( (setq efs-make-backup-files nil) and (setq efs-ftp-program-name "pftp") in .emacs). -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/
participants (2)
-
Anselm Lingnau -
J M Cerqueira Esteves