tramp-devel
[Top][All Lists]
Advanced

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

Re: TRAMP: Host name must not match method ...


From: Matt McClure
Subject: Re: TRAMP: Host name must not match method ...
Date: Sat, 17 Aug 2013 13:41:22 -0400

I can work around the problem by commenting out the
tramp-compat-user-error, FWIW.

    diff -u --label
/Applications/Emacs.app/Contents/Resources/lisp/net/tramp.el.gz\~
--label /Applications/Emacs.app/Contents/Resources/lisp/net/tramp.el.gz
/var/folders/_d/5p0jtv397qs73qr_frd6bw180000gn/T/jka-com16088D-O
/var/folders/_d/5p0jtv397qs73qr_frd6bw180000gn/T/jka-com16088dSb
    --- /Applications/Emacs.app/Contents/Resources/lisp/net/tramp.el.gz~
    +++ /Applications/Emacs.app/Contents/Resources/lisp/net/tramp.el.gz
    @@ -1283,11 +1283,12 @@
         (setq host (replace-match "" nil t host)))
       (when (string-match tramp-postfix-ipv6-regexp host)
         (setq host (replace-match "" nil t host)))
    -  (when (and (equal tramp-syntax 'ftp) (null method) (null user)
    -     (member host (mapcar 'car tramp-methods))
    -     (not (tramp-completion-mode-p)))
    -    (tramp-compat-user-error
    -     "Host name must not match method `%s'" host)))
    +  ;; (when (and (equal tramp-syntax 'ftp) (null method) (null user)
    +  ;;     (member host (mapcar 'car tramp-methods))
    +  ;;     (not (tramp-completion-mode-p)))
    +  ;;   (tramp-compat-user-error
    +  ;;    "Host name must not match method `%s'" host)))
    +  )
      (if nodefault
         (vector method user host localname hop)
       (vector

    Diff finished.  Sat Aug 17 13:39:30 2013


-- 
Matt McClure
http://matthewlmcclure.com
http://www.mapmyfitness.com/profile/matthewlmcclure



reply via email to

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