From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt McClure Newsgroups: gmane.emacs.tramp,gmane.emacs.devel Subject: Re: TRAMP: Host name must not match method ... Date: Sat, 17 Aug 2013 13:41:22 -0400 Message-ID: References: <87y581dbfl.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1376761286 31396 80.91.229.3 (17 Aug 2013 17:41:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Aug 2013 17:41:26 +0000 (UTC) Cc: tramp-devel@gnu.org, emacs-devel@gnu.org To: Michael Albinus Original-X-From: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Sat Aug 17 19:41:30 2013 Return-path: Envelope-to: get-tramp-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VAkVE-00038g-Qt for get-tramp-devel@m.gmane.org; Sat, 17 Aug 2013 19:41:28 +0200 Original-Received: from localhost ([::1]:36605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAkVE-00082t-7z for get-tramp-devel@m.gmane.org; Sat, 17 Aug 2013 13:41:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAkVB-00082l-21 for tramp-devel@gnu.org; Sat, 17 Aug 2013 13:41:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAkV9-0004mE-W2 for tramp-devel@gnu.org; Sat, 17 Aug 2013 13:41:25 -0400 Original-Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:43420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAkV9-0004ly-PO; Sat, 17 Aug 2013 13:41:23 -0400 Original-Received: by mail-pa0-f49.google.com with SMTP id ld10so3106044pab.22 for ; Sat, 17 Aug 2013 10:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VWn2Ap58mjjFcwk83PwqWCseAPy8J9mrObMvcvJDK4Q=; b=C3XptS1IOgcX8hKUfis4CIqy+J83YwvVC1MBeuqsYRcQ47kUgL839Cy2RHuLonCGwa btjk4KNGqsvtF/b56a6CJSJ3fhQQiYHuntj2mKXQrNWLy5aQ5bYgRrNsgQGLwXe+M3EV akZjLSPjYTZuRyfpVGtWmyCijOv2WCgvVnMjBpkDBohLRMB9SVWwR2MEyoomVrQWvly1 2w3HolJHGgTAGE3k5jbD36Ux5kBOpWI2HuBVZa/zdF7R1ReGO4pa63pi7K8SlJGVI6pg 2lt3bsalC5i5jmhLEn90xpFSF6AMGPFRoHYaQM4hRXqBFg2SZFIqHJIFNcFRzYQx+CCz tIzA== X-Received: by 10.68.136.7 with SMTP id pw7mr3925011pbb.106.1376761282847; Sat, 17 Aug 2013 10:41:22 -0700 (PDT) Original-Received: by 10.69.0.35 with HTTP; Sat, 17 Aug 2013 10:41:22 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::231 X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Original-Sender: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:8390 gmane.emacs.devel:162847 Archived-At: 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