From: Michael Albinus <michael.albinus@gmx.de>
To: Christoph Michelbach <michelbach94@gmail.com>
Cc: 31489@debbugs.gnu.org
Subject: bug#31489: 25.3; Dired unable to open directory "/ssh:example.com"
Date: Sat, 19 May 2018 20:10:08 +0200 [thread overview]
Message-ID: <87zi0vms8v.fsf@gmx.de> (raw)
In-Reply-To: <1526681772.32534.6.camel@gmail.com> (Christoph Michelbach's message of "Sat, 19 May 2018 00:16:12 +0200")
Christoph Michelbach <michelbach94@gmail.com> writes:
Hi Christoph,
> After applying your patch, I can enter the directory with the SSH
> resource name by hitting enter on it if and only if I start at "/:".
Of course. Otherwise, you would try to open "/ssh:example.com:", which is
a Tramp file name.
> If this didn't work thus far, it's probably a bad idea to force people
> to start at "/:" instead of "/".
Meanwhile, I don't believe it is the way to go. If you enter the
directory "/:/ssh:example.com:/", and want to access any file there, none
of the file name handlers would work due to the quoting with "/:". Even
uncompressing a file on the fly doesn't work, like /:/ssh:example.com:/file.gz".
This is not what we want. We want just to hinder Tramp taking care of
"/ssh:example.com:". If you don't use Tramp at all, set `tramp-mode' to
nil in your .emacs. Everything shall work then as expected. This shall
work also with older Emacsen, like 25.3.
If you plan to still use Tramp, tell me so. I will add a variable then,
where you could give a regexp for file names to be ignored by Tramp, like
"\\`/ssh:example\\.com:".
I will use bug#31489 to continue the work on the bug it has uncovered:
If there is a magic function with two file name arguments, and the first
argument is quoted with "/:", then *both* arguments are handled like
they were quoted. Something like (copy-file "/:/ssh:example.com/file"
"/sudo::/etc/file") won't work anymore.
Best regards, Michael.
next prev parent reply other threads:[~2018-05-19 18:10 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 [this message]
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=87zi0vms8v.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=31489@debbugs.gnu.org \
--cc=michelbach94@gmail.com \
/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.