Problem with py-separator-char under Windows
Bug #975539 reported by
Richard Stanton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
High
|
Andreas Roehler |
Bug Description
Usiong r922, py-separator-char returns the following on my Windows machine:
"/usr/bin/bash: -c: line 0: syntax error near unexpected token `os.sep'
On my Mac, it returns "/", which seems more reasonable.
NOTE: On a Windows machine I *strongly* recommend just hard-coding (or at least letting the user hard-code) the directory separator. Even if we could get the current code to work under Windows, it would return "\", and this would still lead to problems because Emacs under Windows likes to use the default Unix "/" separator, so it makes more sense to tell python-mode to use "/".
Changed in python-mode: | |
status: | New → In Progress |
Changed in python-mode: | |
status: | New → In Progress |
Changed in python-mode: | |
importance: | Medium → High |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
okay, think we may come along with two variables
- hard-coded- separator- char (string) coded-separator -char-p (boolean)
- use-hard-