unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Christoph Michelbach <michelbach94@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 31489@debbugs.gnu.org
Subject: bug#31489: 25.3; Dired unable to open directory "/ssh:example.com"
Date: Mon, 21 May 2018 14:59:04 +0200	[thread overview]
Message-ID: <1526907544.28371.6.camel@gmail.com> (raw)
In-Reply-To: <87muwu18pd.fsf@gmx.de>

Can't the problems be avoided by establishing that paths to tramp paths can't
start with two slashes?

To paths on Unix-like systems, you can add more slashes. So with that rule in
place, the user could simply start weird paths with two slashes and dired could
be changed to just add another slash to the beginning of the path if the file
the user hit enter on is in "/".

The path "/ssh:example.com:" would be passed to other functions as
"//ssh:example.com:". When Emacs asks the OS to access "//ssh:example.com:",
it's just the same as if it asked it to access "/ssh:example.com:".





  parent reply	other threads:[~2018-05-21 12:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 11:41 bug#31489: 25.3; Dired unable to open directory "/ssh:example.com" Christoph Michelbach
2018-05-18 15:25 ` 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 [this message]
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

  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=1526907544.28371.6.camel@gmail.com \
    --to=michelbach94@gmail.com \
    --cc=31489@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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).