Subject: Re: bug#18891: Doesn't handle pwd = /C: very well

From: Glenn Morris <[email-masked]>
Date: Tue, 04 Nov 2014 11:47:19 -0500

Michael Albinus wrote:

>    "/C:" as default directory is wrong. It triggers Tramp to start,
>    which fails. Maybe one could prevent this problem by giving the
>    default directory the prefix "/:".

You know much more about this than I do, but my dumb idea was:
if a directory name happens to match a tramp pattern, as "/C:"
presumably does, how about first checking if a local directory literally
named that exists, before invoking a remote handler?