Pete Forman <[EMAIL PROTECTED]> writes:

> Yes, fails on my XEmacs.  But this works on both XEmacs and Emacs.
>
> (format-spec "/[%m/%h]%p" '((?m . "scp") (?h . "alicia") (?p . "/tmp/teste")))

Hm, so it's got characters rather than numbers.  But the function
tramp-make-tramp-file-name does this:

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

So it clearly uses characters rather than numbers.  What's the
problem?

Maybe it works with

    `((?m . ,method) (?h . ,host) (?p . ,path))

instead of

    (list (cons ?m method) (cons ?h host) (cons ?p path))

?  That might be a workaround, if a strange one...

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

Reply via email to