[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2)
From: |
Eli Zaretskii |
Subject: |
bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2) |
Date: |
Sat, 20 Oct 2012 10:11:56 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Fri, 19 Oct 2012 21:44:02 -0400
> Cc: 8439@debbugs.gnu.org
>
> > + ;; 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.
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2), (continued)
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2), Jari Aalto, 2012/10/19
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2), Stefan Monnier, 2012/10/19
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2), Daniel Colascione, 2012/10/19
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v3), jari, 2012/10/20
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v4), jari, 2012/10/20
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v4), Eli Zaretskii, 2012/10/20
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v4), Stefan Monnier, 2012/10/20
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v4), Jari Aalto, 2012/10/21
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2),
Eli Zaretskii <=
- bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2), Stefan Monnier, 2012/10/20