all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christoph Michelbach <michelbach94@gmail.com>
To: 31489@debbugs.gnu.org
Subject: bug#31489: 25.3; Dired unable to open directory "/ssh:example.com"
Date: Fri, 18 May 2018 13:41:59 +0200	[thread overview]
Message-ID: <1526643719.9043.13.camel@gmail.com> (raw)

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.





             reply	other threads:[~2018-05-18 11:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 11:41 Christoph Michelbach [this message]
2018-05-18 15:25 ` bug#31489: 25.3; Dired unable to open directory "/ssh:example.com" Michael Albinus
2018-05-18 22:16   ` Christoph Michelbach
2018-05-19 18:10     ` Michael Albinus
2018-05-20 18:12       ` Christoph Michelbach
2018-05-20 18:30         ` Michael Albinus
2018-05-20 19:19           ` Christoph Michelbach
2018-05-21 17:53             ` Michael Albinus
2018-06-04 16:37               ` Michael Albinus
2018-05-21 12:59           ` Christoph Michelbach
2018-05-21 14:46             ` Michael Albinus

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

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

  git send-email \
    --in-reply-to=1526643719.9043.13.camel@gmail.com \
    --to=michelbach94@gmail.com \
    --cc=31489@debbugs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.