Subject: Re: bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2)

From: Eli Zaretskii <[email-masked]>
Date: Sat, 20 Oct 2012 10:11:56 +0200

> From: Stefan Monnier <[email-masked]>
> Date: Fri, 19 Oct 2012 21:44:02 -0400
> Cc: [email-masked]
> 
> > +    ;; Under Cygwin, convert drive letters in paths.
> > +    (when (and cygwin-p
> > +               (memq mode '(nil file))
> > +               (string-match "^\\([a-zA-Z]\\):[/\\\\]\\(.*\\)" str))
> > +      (let ((drive (downcase (match-string 1 str)))
> > +            (path (match-string 2 str)))
> > +        (setq str (format "/cygdrive/%s/%s"
> > +                          drive
> > +                          (replace-regexp-in-string "[\\\\]" "/" path)))))
> 
> This shouldn't be here: the right way to do it  is to make the Cygwin
> Emacs accept Windows-style file name.

Someone said in another discussion that Cygwin already does accept
Windows-style file names.