With a little side of applesauce...

Tuesday, April 15, 2008

Emacs - eldav/tramp weirdness

Notes for using Emacs to modify Zope files over webDAV:

emacs 22.1.1 (Ubuntu Gutsy)

1 since tramp is part of emacs 22, I needed to comment our my load entry in the .emacs

;; (require 'tramp)


2 you need to remove the default path entry for find-file ("~/") before starting your webDAV URL, or tramp will be used instead of eldav:

Find file: :http://myzope.com:9080/


3 You need to override the defun 'eldav-file-writable-p' by placing the following line in your .emacs:

(defun eldav-file-writable-p (file) t)

Thanks to the EmacsWiki for the tip!
http://www.emacswiki.org/cgi-bin/wiki/ElDav

I have been having issues with davfs2 and locking. It also seems to send a DELETE to the server as well, (thank God for the undo button :) ), plus I have ended up with a NullResource on an existing file, (also thanks undo! ). I'm hoping that emacs with eldav is going to be more stable...

No comments: