From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christoph Michelbach Newsgroups: gmane.emacs.bugs Subject: bug#31489: 25.3; Dired unable to open directory "/ssh:example.com" Date: Fri, 18 May 2018 13:41:59 +0200 Message-ID: <1526643719.9043.13.camel@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1526643674 27436 195.159.176.226 (18 May 2018 11:41:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 May 2018 11:41:14 +0000 (UTC) To: 31489@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 18 13:41:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJdkz-0006wV-Rl for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 May 2018 13:41:10 +0200 Original-Received: from localhost ([::1]:38165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJdn1-0005kT-VB for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 May 2018 07:43:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJdmp-0005je-S0 for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 07:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJdmo-0007FS-SG for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 07:43:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJdmo-0007FK-ON for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 07:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fJdmo-00089j-EX for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 07:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Michelbach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 May 2018 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152664373831278 (code B ref -1); Fri, 18 May 2018 11:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 May 2018 11:42:18 +0000 Original-Received: from localhost ([127.0.0.1]:39216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJdm5-00088P-Km for submit@debbugs.gnu.org; Fri, 18 May 2018 07:42:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJdm1-000886-4t for submit@debbugs.gnu.org; Fri, 18 May 2018 07:42:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJdlv-0006wr-4t for submit@debbugs.gnu.org; Fri, 18 May 2018 07:42:08 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJdlv-0006wi-0x for submit@debbugs.gnu.org; Fri, 18 May 2018 07:42:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJdlt-0005Wt-UL for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 07:42:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJdlt-0006vt-3n for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 07:42:05 -0400 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:50369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJdls-0006vD-Q6 for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 07:42:04 -0400 Original-Received: by mail-wm0-x230.google.com with SMTP id t11-v6so13694013wmt.0 for ; Fri, 18 May 2018 04:42:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=WeXzYk6dLgm+nHExrBlN9pqtkw9emrHGsAAONqntuV0=; b=ZEH/UKait5Hf0NFxjXuw1XOCIdRPvunREV/ljR4flQqeAFzSW6bmEAQIZEf+U+op/G swxKe+vwPGUQCSvAPbrC6v9QUP7pV3GIRXZbJ5WIQzIsPtmZXMJXeuUjzyy6Sz4qvSCy 7RrCYBe4lTF261D9atObJoqsXc9/LxPRyCJYExOvBw9ZyE74hHkcnPPMcXUGRSQSFw1W psFhcp0bPVZxIUVC+dEpNCpdo/K9+v92NXST2/Uh6Yp+KIu6ya40aAXVaM2dMjmwJA85 IM+rq5aHDHEGvX4NA27f8QnGZicxVOa6RhdEfmHmKmVyGF9mkCD7nXbYtRN4akDkWciA lZBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=WeXzYk6dLgm+nHExrBlN9pqtkw9emrHGsAAONqntuV0=; b=uZSmHHJLAldhAzZmZGBf7ZLvnmaI0dqJT0vp7iTnH4H1HfdLVlEuWN1iPYxxr9XftW hR6Z1P/eUAgRu/GlFSFFhXJcjpPNj61EWK7b2tFMa7eyLtoO21VQfa2XghlptZjLkI7e XDdQhugdTqWR9imJRK4KEjXoNnsIcsVbGxnsrXz03c+VPfqcE2T5oae8r9jL4BLPvOVK oI3MIOpaiVx2UPGW/149SWsGyAgbt0nWkxPK5F3zLUCeWbVPUKew42CfjMU27GySEdL5 CgB1M+5wKAbedT0LqBB9lAIMkBz9PpCmX/tMtQQ990QLtEE0yzDN/lJknPVTnmEM2RLq y/NQ== X-Gm-Message-State: ALKqPwf43NpWnGXGPspvaPFyPqYZUlzyYq16p7ppkuoApcptGWHYUFg8 zWYQ9QOsvrwn4BJWuYoHEW8nOA== X-Google-Smtp-Source: AB8JxZode21Z5aOGUM9U3qk9eIrUUKGbAvcIJAqEA01reMxZoBJ5e+uocJoYVK74F/TATs7bmitnsQ== X-Received: by 2002:a1c:3653:: with SMTP id d80-v6mr4630213wma.3.1526643722926; Fri, 18 May 2018 04:42:02 -0700 (PDT) Original-Received: from ?IPv6:2a02:8071:21b0:3d00:9191:c843:5a0c:5281? ([2a02:8071:21b0:3d00:9191:c843:5a0c:5281]) by smtp.googlemail.com with ESMTPSA id q2-v6sm7553738wrm.26.2018.05.18.04.42.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 04:42:02 -0700 (PDT) X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146252 Archived-At: If you can't reproduce the problem with the version of Emacs you're running right away, please read till the end of this email. When a file's path conflicts with how an external resource is addressed, you can tell Emacs to open the local path by preceding it with "/:". If you created a file with sudo touch "/ssh:example.com/file" , you could access it via: C-x C-f /:/ssh:example.com/file RET However, if you leave "file" out, you don't get to see a dired buffer after hitting return. Instead, the current windows are retained and the mini buffer reads: Host name must not match method "ssh" The *Messages* buffer says: tramp-file-name-handler: Host name must not match method "ssh" You also cannot first navigate to "/" and then enter the directory by moving point to it and hitting return. The same problem accompanied by the same error message occurs. If you use the development version of Emacs, the problem only occurs if the directory's name ends in a colon. So if you're using the development version, run sudo mkdir "/ssh:exaple.com:" instead to create a folder you can't access via dired. Again, the problem occurs both when entering its path preceded by "/:" and when hitting return on the dired buffer of "/". I used the latest version on the master branch of the mirror on GitHub (60ff8101449eea3a5ca4961299501efd83d011bd) to confirm that the problem still exists.