From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20237: Emacs built on Windows cannot figure out path correctly Date: Sat, 04 Apr 2015 21:38:21 +0300 Message-ID: <83fv8foi1u.fsf@gnu.org> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <551B109C.4050505@gmail.com> <83pp7osh9l.fsf@gnu.org> <551BF79F.3010201@gmail.com> <83384gp4gm.fsf@gnu.org> <55201ACF.2080001@gmail.com> <83k2xroli9.fsf@gnu.org> <552022E4.7000008@gmail.com> <83iodbokc1.fsf@gnu.org> <5520280A.4030201@gmail.com> <83h9svoj9m.fsf@gnu.org> <55202B10.5010207@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1428172760 10883 80.91.229.3 (4 Apr 2015 18:39:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Apr 2015 18:39:20 +0000 (UTC) Cc: 20237@debbugs.gnu.org To: Da Zhang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 04 20:39:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YeSyM-0008UX-1Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Apr 2015 20:39:10 +0200 Original-Received: from localhost ([::1]:34051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeSyL-0001BG-F7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Apr 2015 14:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeSyH-0001Az-TS for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 14:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeSyE-0003yJ-NT for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 14:39:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeSyE-0003yD-Jm for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 14:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YeSyE-0004oM-4d for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 14:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Apr 2015 18:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20237 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20237-submit@debbugs.gnu.org id=B20237.142817271018423 (code B ref 20237); Sat, 04 Apr 2015 18:39:02 +0000 Original-Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 18:38:30 +0000 Original-Received: from localhost ([127.0.0.1]:44893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSxi-0004n5-27 for submit@debbugs.gnu.org; Sat, 04 Apr 2015 14:38:30 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:48598) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSxf-0004mh-DE for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 14:38:28 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NMA00A00OOUFR00@mtaout27.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 21:33:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA003J2OVCMU60@mtaout27.012.net.il>; Sat, 04 Apr 2015 21:33:12 +0300 (IDT) In-reply-to: <55202B10.5010207@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101200 Archived-At: > Date: Sat, 04 Apr 2015 14:18:56 -0400 > From: Da Zhang > CC: 20237@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.