tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed from XEmacs gurus (was: Invalid format character: ?m)


From: Kai Großjohann
Subject: Re: Help needed from XEmacs gurus (was: Invalid format character: ?m)
Date: Tue, 16 Jul 2002 10:34:36 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Pete Forman <address@hidden> 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]