GNU bug report logs -
#19289
24.4; Bug in python.el when used in Windows OS
Previous Next
Reported by: David Strip <david <at> stripfamily.net>
Date: Sat, 6 Dec 2014 19:09:01 UTC
Severity: normal
Fixed in version 24.4
Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: David Strip <david <at> stripfamily.net>
> Date: Sat, 06 Dec 2014 15:25:58 +0000
>
> In some sense, the root of the problem is locate-file, called by
> executable-find (both defined in files.el). locate-file does not return quoted
> paths. I'm not sure if the best fix is at the locate-files level, since I'm not
> sure what consequences this might have elsewhere, esp on non-Windows OS's.
locate-file is not supposed to quote file names, because it doesn't
know how the file name will be used.
> The
> most localized fix would be in python.el, changing python-shell-parse-command
> to add the required quotes. In the simplest case, this would be just change the
> format statement from
>
> (format "%s %s"
>
> to
>
> (format "\"%s\" %s"
I think python-shell-parse-command should use shell-quote-argument
instead.
Thank you for your report.
This bug report was last modified 10 years and 226 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.