all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 18891@debbugs.gnu.org
Subject: bug#18891: Doesn't handle pwd = /C: very well
Date: Thu, 06 Nov 2014 10:39:14 -0500	[thread overview]
Message-ID: <jwvy4ropcph.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87oaskk9sm.fsf@gmx.de> (Michael Albinus's message of "Thu, 06 Nov 2014 09:33:45 +0100")

>>> I guess Tramp could check if there's matching local dir and pass the
>>> request through untouched if there is.
>> If Tramp did that, how would the user tell Tramp that it should access
>> the remote host, even though there is a matching local file?  (The
>> converse situation can be handled with /: quoting.)

It could use an alternative syntax.  E.g. /ssh:C:. or /ssh:c:~ or
/ssh:c.mydomain.org: , you name it.

It seems like a sufficiently oddball case (after all, the current
assumption is that such conflicts never happen).

> Indeed. And there are even cases where checking a local dir wouldn't work:
> (make-directory "/C:/foo/bar/baz" t)

I don't see what's different, unless you were thinking of checking the
existence of "/C:/foo/bar/baz" whereas I'd only want to check the
existence of the "root", i.e. "/C:".

> After all, I believe the use case (local file name, which looks like a
> remote one) isn't relevant enough to add ugly hacks.

Agreed.  This said, I'm in favor of deprecating the "/<host>:" syntax in
favor of "/<method>:<host>:", which should make the possibility of such
conflicts even more remote (pun intended).


        Stefan





  reply	other threads:[~2014-11-06 15:39 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 20:02 bug#18891: Doesn't handle pwd = /C: very well Glenn Morris
2014-11-04 12:48 ` Michael Albinus
2014-11-04 16:47   ` Glenn Morris
2014-11-04 17:06     ` Eli Zaretskii
2014-11-04 17:36       ` Glenn Morris
2014-11-04 18:47         ` Michael Albinus
2014-11-04 18:58           ` Glenn Morris
2014-11-04 19:30             ` Michael Albinus
2014-11-04 19:11           ` Glenn Morris
2014-11-04 19:36             ` Michael Albinus
2014-11-04 20:24       ` Stefan Monnier
2014-11-05 11:25         ` Michael Albinus
2014-11-05 19:43           ` Glenn Morris
2014-11-05 19:45             ` Glenn Morris
2014-11-05 19:53               ` Eli Zaretskii
2014-11-05 20:07                 ` Michael Albinus
2014-11-05 19:56               ` Michael Albinus
2014-11-05 22:44                 ` Stefan Monnier
2014-11-06  3:50                   ` Eli Zaretskii
2014-11-06  8:33                     ` Michael Albinus
2014-11-06 15:39                       ` Stefan Monnier [this message]
2014-11-06 15:50                         ` Michael Albinus
2014-11-06 23:30                           ` Stefan Monnier
2014-11-07 10:38                             ` Andreas Schwab
2014-11-07 15:06                               ` Stefan Monnier
2014-11-07 18:54                                 ` Andreas Schwab
2014-11-08  4:35                                   ` Stefan Monnier
2014-11-08  8:13                                     ` Michael Albinus
2014-11-08  8:14                                     ` Andreas Schwab
2014-11-08 15:33                                       ` Stefan Monnier
2014-11-08 16:13                                         ` Andreas Schwab
2014-11-08 18:01                                           ` Stefan Monnier
2014-11-08 18:13                                             ` Andreas Schwab
2014-11-08 20:30                                               ` Stefan Monnier
2014-11-08 20:57                                                 ` Andreas Schwab
2014-11-08 22:03                                                   ` Stefan Monnier
2014-11-08 22:09                                                     ` Andreas Schwab
2014-11-08 22:25                                                       ` Stefan Monnier
2014-11-08 22:31                                                         ` Andreas Schwab
2014-11-09  3:26                                                           ` Stefan Monnier
2014-11-09  9:13                                         ` Michael Albinus
2014-11-09 14:23                                           ` Stefan Monnier
2014-11-09 19:50                                             ` Michael Albinus
2014-11-10 15:29                                               ` Stefan Monnier
2014-11-10 15:55                                                 ` Michael Albinus
2014-11-10 22:30                                                   ` Stefan Monnier
2014-11-11  8:42                                                     ` Michael Albinus
2014-11-11 17:09                                                       ` Stefan Monnier
2014-11-11 21:13                                                         ` Michael Albinus
2014-11-12  1:46                                                           ` Stefan Monnier
2014-11-12  7:50                                                             ` Michael Albinus
2014-11-15 19:21                                                               ` Glenn Morris
2014-11-16 10:19                                                                 ` Michael Albinus
2014-11-05 20:04             ` Michael Albinus
2014-11-05 20:22               ` Glenn Morris
2014-11-07 14:52             ` Michael Albinus
2014-11-07 15:14               ` Eli Zaretskii
2014-11-07 16:58                 ` Michael Albinus
2014-11-07 19:56                   ` Eli Zaretskii
2014-11-07 20:10                     ` 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=jwvy4ropcph.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18891@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 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.