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
Message #50 received at 20237 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 04 Apr 2015 14:18:56 -0400
> From: Da Zhang <zhangda82 <at> gmail.com>
> CC: 20237 <at> debbugs.gnu.org
>
> Thanks for your time!
>
> M-: (w32-shell-name) RET returns
>
> "C:/cygwin64/bin/bash.exe"
OK, I think the situation is clear now: you have set up Emacs for
using the Cygwin Bash as the shell, but the value of
python-shell-interpreter is not in the Cygwin-compatible format. 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.
Alternatively, remove your customizations that cause w32-shell-name
return the Cygwin Bash shell. It could come from either setting the
value of shell-file-name in your init files, or from the SHELL or
ESHELL environment variable defined outside Emacs.
Thanks.
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.