GNU bug report logs -
#20237
Emacs built on Windows cannot figure out path correctly
Previous Next
Reported by: Da Zhang <zhangda82 <at> gmail.com>
Date: Tue, 31 Mar 2015 17:53:02 UTC
Severity: normal
Tags: notabug
Merged with 21421
Found in version 24.5
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Thank you!
You are right, the problem was caused by this cygwin bash shell. When I disabled it, python can be run correctly.
Da
(w32-shell-name) RET returns
"C:/cygwin64/bin/bash.exe"
On 4/4/2015 2:44 PM, Eli Zaretskii wrote:
>> Date: Sat, 04 Apr 2015 21:38:21 +0300
>> From: Eli Zaretskii <eliz <at> gnu.org>
>> Cc: 20237 <at> debbugs.gnu.org
>>
>> I think you need to use this instead:
>>
>> (setq python-shell-interpreter "/cygdrive/C/Python27/Scripts/ipython")
>>
>> Or something like that -- I don't use Cygwin, so I might be mistaken
>> about the exact format you need to use.
> Actually, if you use this format, you'd probably also need to use
> cygwin-mount as well.
>
> So the second alternative, to remove the setup for Cygwin Bash, is IMO
> better. Mixing a native Windows Emacs with Cygwin is a tricky
> business.
>
> Yet another possibility is to use a Cygwin build of Emacs.
[Message part 2 (text/html, inline)]
This bug report was last modified 8 years and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.