Subject: Re: 27.0.50; tramp ftp fails

From: Michael Albinus <[email-masked]>
Date: Thu, 08 Aug 2019 10:49:17 +0200

Katsumi Yamaoka <[email-masked]> writes:

> Hi,

Hi,

> The symptom is that it fails with the message:
>
> tramp-error: Method `' is not known.

Oops, that case I haven't tested. The appended patch shall fix it, could
you pls test?

Best regards, Michael.

diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 77d727e2f2..7bae434723 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1440,7 +1440,7 @@ tramp-dissect-file-name
 		     :method method :user user :domain domain :host host
 		     :port port :localname localname :hop hop))
 	  ;; The method must be known.
-	  (unless (or (tramp-completion-mode-p)
+	  (unless (or nodefault (tramp-completion-mode-p)
 		      (string-equal method tramp-default-method-marker)
 		      (assoc method tramp-methods))
 	    (tramp-user-error