At 2002-07-17 16:45 +0200, Kai =?iso-8859-15?q?Gro=DFjohann?= wrote:
>Could you put that code in a file, byte-compile it, and then execute
>the byte-compiled code?  I hope it's still the same then.

Yes, it is the same.

(load "f:/lisp/mytest.elc")
t
(my-list "scp" "alicia" "/tmp/teste")
((?m . "scp") (?h . "alicia") (?p . "/tmp/teste"))
(my-format "scp" "alicia" "/tmp/teste")
"/[scp/alicia]/tmp/teste"


Where mytest.el contains

(defun my-list (method host path)
   (list (cons ?m method)
         (cons ?h host)
         (cons ?p path)))

(defun my-format (method host path)
   (format-spec tramp-make-tramp-file-user-nil-format
                (list (cons ?m method)
                      (cons ?h host)
                      (cons ?p path))))


-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
[EMAIL PROTECTED]    -./\.-   opinion of Schlumberger, Baker
http://petef.port5.com           -./\.-   Hughes or their divisions.


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel

Reply via email to