From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Da Zhang Newsgroups: gmane.emacs.bugs Subject: bug#20237: Emacs built on Windows cannot figure out path correctly Date: Tue, 31 Mar 2015 17:24:44 -0400 Message-ID: <551B109C.4050505@gmail.com> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010506000708070909000004" X-Trace: ger.gmane.org 1427837129 5422 80.91.229.3 (31 Mar 2015 21:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Mar 2015 21:25:29 +0000 (UTC) Cc: 20237@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 31 23:25:19 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 1Yd3ew-00030H-Fa for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Mar 2015 23:25:18 +0200 Original-Received: from localhost ([::1]:40663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd3eq-0007OT-Fl for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Mar 2015 17:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd3em-0007N3-SH for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 17:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yd3eh-0005wa-8o for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 17:25:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd3eh-0005vk-69 for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 17:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yd3eg-0008NB-M6 for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 17:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Da Zhang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Mar 2015 21:25: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.142783709532169 (code B ref 20237); Tue, 31 Mar 2015 21:25:02 +0000 Original-Received: (at 20237) by debbugs.gnu.org; 31 Mar 2015 21:24:55 +0000 Original-Received: from localhost ([127.0.0.1]:41487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3eY-0008Mk-Gv for submit@debbugs.gnu.org; Tue, 31 Mar 2015 17:24:54 -0400 Original-Received: from mail-qg0-f49.google.com ([209.85.192.49]:33198) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3eV-0008MV-W8 for 20237@debbugs.gnu.org; Tue, 31 Mar 2015 17:24:52 -0400 Original-Received: by qgfa8 with SMTP id a8so26974901qgf.0 for <20237@debbugs.gnu.org>; Tue, 31 Mar 2015 14:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=5k65F2ajoGdl7QbkBJtHFgOH2UYFCSyJHii9drFvBJk=; b=YH8vI/EQK3zOEjzrC44arleqUNVaN9ZVrlOcZvobolEy0Wpru+iyF0ezJeXxjX9JqS ahq55LarOtPRsZhysA5QI/7nSTpqpLcsZkc8QtRGMglyemd9/TpEaCwNtajGMQbEDDSi InSSgoRotc63g8NSlrPkjXC3O1Z0rb9dbNZv90K+JuJONuDKko8qslQtoYjZ/1DvBUND /wRxfv1NTo/LTDD/KlXr8MKUc3/9S2Yk7maV77iMloG1xO/ggFnKpzoHS3joxV0Y5+9K SG88vSNm3P2YlwXeTFFVMeSoa/5sl4YgLihOmh0YTJ7eCuVbxo25yx2wyaDeRpEsvxP/ 3jAg== X-Received: by 10.55.22.168 with SMTP id 40mr82495604qkw.101.1427837086618; Tue, 31 Mar 2015 14:24:46 -0700 (PDT) Original-Received: from [10.35.157.65] ([134.174.110.14]) by mx.google.com with ESMTPSA id 131sm10675777qhh.48.2015.03.31.14.24.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2015 14:24:46 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <83twx1rpng.fsf@gnu.org> 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:101092 Archived-At: This is a multi-part message in MIME format. --------------010506000708070909000004 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Thanks for the quick response. My set up of python path in .emacs is: (setq python-shell-interpreter "C:\\Python27\\Scripts\\ipython") (setq python-shell-interpreter-args "-i --profile=dev --colors=Linux") Da On 3/31/2015 2:24 PM, Eli Zaretskii wrote: >> Date: Tue, 31 Mar 2015 13:52:20 -0400 >> From: Da Zhang >> >> I am using Python mode in Emacs and wanted to start a python >> sub-process. >> However, Emacs could not find python.exe from the path I specified. >> Particularly, the following message was displayed: >> apply: Searching for program: no such file or directory, >> c\:/Python27/Scripts/ipython.exeInvalid face reference: python-cell >> >> It seemed a "C\:" was added in front of the path to the python. > You didn't say which path of Python did you specify, and how didyou > specify it. Please tell, otherwise it's very hard to figure out the > reason for the problem. --------------010506000708070909000004 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit Thanks for the quick response.
My set up of python path in .emacs is:
(setq python-shell-interpreter "C:\\Python27\\Scripts\\ipython")
(setq python-shell-interpreter-args "-i --profile=dev --colors=Linux")

Da

On 3/31/2015 2:24 PM, Eli Zaretskii wrote:
Date: Tue, 31 Mar 2015 13:52:20 -0400
From: Da Zhang <zhangda82@gmail.com>

I am using Python mode in Emacs and wanted to start a python
sub-process.
However, Emacs could not find python.exe from the path I specified.
Particularly, the following message was displayed:
apply: Searching for program: no such file or directory,
c\:/Python27/Scripts/ipython.exeInvalid face reference: python-cell

It seemed a "C\:" was added in front of the path to the python.
You didn't say which path of Python did you specify, and how didyou
specify it.  Please tell, otherwise it's very hard to figure out the
reason for the problem.

--------------010506000708070909000004--