Closed dochang closed 8 years ago
When I load-library tramp, Emacs reports:
load-library
Symbol's value as variable is void: docker-tramp-method
Here is the backtrace:
Debugger entered--Lisp error: (void-variable docker-tramp-method) (cons docker-tramp-method (cons (list (quote tramp-login-program) docker-tramp-docker-executable) (cons (list (quote tramp-login-args) (cons docker-tramp-docker-options (quote (("exec" "-it") ("%h") ("sh"))))) (quote ((tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-i" "-c"))))))) (let* ((x (cons docker-tramp-method (cons (list (quote tramp-login-program) docker-tramp-docker-executable) (cons (list (quote tramp-login-args) (cons docker-tramp-docker-options ...)) (quote (... ...))))))) (if (member x tramp-methods) tramp-methods (setq tramp-methods (cons x tramp-methods)))) (progn (let* ((x (cons docker-tramp-method (cons (list (quote tramp-login-program) docker-tramp-docker-executable) (cons (list ... ...) (quote ...)))))) (if (member x tramp-methods) tramp-methods (setq tramp-methods (cons x tramp-methods)))) (tramp-set-completion-function docker-tramp-method docker-tramp-completion-function-alist)) (lambda nil (progn (let* ((x (cons docker-tramp-method (cons (list ... docker-tramp-docker-executable) (cons ... ...))))) (if (member x tramp-methods) tramp-methods (setq tramp-methods (cons x tramp-methods)))) (tramp-set-completion-function docker-tramp-method docker-tramp-completion-function-alist)))() eval-after-load-helper("/usr/share/emacs/24.5/lisp/net/tramp.elc") run-hook-with-args(eval-after-load-helper "/usr/share/emacs/24.5/lisp/net/tramp.elc") do-after-load-evaluation("/usr/share/emacs/24.5/lisp/net/tramp.elc") load("tramp") load-library("tramp") call-interactively(load-library record nil) command-execute(load-library record) execute-extended-command(nil "load-library") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command)
Hi: This is actually a bug in melpa, which currently has a incorrect version of this package.
the version in melpa is fixed now
When I
load-library
tramp, Emacs reports:Here is the backtrace: