D
Size: a a a
D
VV
D
¥
D
VV
DL
a
tramp-file-name
строку, которая будет соответствующим трамповским path'ом?a
(concat tramp-prefix-format hop
(unless (zerop (length tramp-postfix-method-format))
(concat method tramp-postfix-method-format))
user
(unless (zerop (length domain))
(concat tramp-prefix-domain-format domain))
(unless (zerop (length user))
tramp-postfix-user-format)
(when host
(if (string-match-p tramp-ipv6-regexp host)
(concat
tramp-prefix-ipv6-format host tramp-postfix-ipv6-format)
host))
(unless (zerop (length port))
(concat tramp-prefix-port-format port))
tramp-postfix-host-format
localname)
a
tramp-make-tramp-file-name
на самом деле это делает. Но при этом его первый аргумент обозначен VEC
. В то время как struct явно имплементирован как list
.a
Aß
(tramp-make-tramp-file-name &rest ARGS)
Aß
a
VEC
.a
Aß
a
(setq method (nth 0 args)
user (nth 1 args)
domain (nth 2 args)
host (nth 3 args)
port (nth 4 args)
localname (nth 5 args)
hop (nth 6 args))
(let ((args args))
(setq method (pop args)
user (pop args)
domain (pop args)
host (pop args)
port (pop args)
localname (pop args)
hop (pop args)))
Aß
s