unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Matt McClure <matthewlmcclure@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: tramp-devel@gnu.org, emacs-devel@gnu.org
Subject: Re: TRAMP: Host name must not match method ...
Date: Sat, 17 Aug 2013 13:41:22 -0400	[thread overview]
Message-ID: <CAJELnLHfvfWCLmyDPZS+2jX2TdUoxxUn0+NAtAV1G_+E9d2RXg@mail.gmail.com> (raw)
In-Reply-To: <CAJELnLGE2x7sV+XiS4LwSJxK-MOo8qaFCNfMeh_qeAVCagGn+g@mail.gmail.com>

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	other threads:[~2013-08-17 17:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 13:06 TRAMP: Host name must not match method Matt McClure
2013-08-16 13:15 ` Michael Albinus
2013-08-17 17:18   ` Matt McClure
2013-08-17 17:41     ` Matt McClure [this message]
2013-08-19 10:25       ` Michael Albinus
2013-08-19 12:07     ` Michael Albinus
2013-08-20  2:38       ` Matt McClure
2013-08-20 10:06         ` Michael Albinus
2013-08-27 20:01           ` Matt McClure

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJELnLHfvfWCLmyDPZS+2jX2TdUoxxUn0+NAtAV1G_+E9d2RXg@mail.gmail.com \
    --to=matthewlmcclure@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=tramp-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).