From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 13:52:53 2015 Received: (at submit) by debbugs.gnu.org; 31 Mar 2015 17:52:53 +0000 Received: from localhost ([127.0.0.1]:41390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd0LK-00012o-7K for submit@debbugs.gnu.org; Tue, 31 Mar 2015 13:52:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42809) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd0LE-000125-QN for submit@debbugs.gnu.org; Tue, 31 Mar 2015 13:52:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yd0L4-0000Ox-Ds for submit@debbugs.gnu.org; Tue, 31 Mar 2015 13:52:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd0L4-0000Ot-Az for submit@debbugs.gnu.org; Tue, 31 Mar 2015 13:52:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd0Kz-00045W-Ci for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 13:52:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yd0Ku-0000Nf-I6 for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 13:52:29 -0400 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:33762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd0Ku-0000NP-8d for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 13:52:24 -0400 Received: by qgfa8 with SMTP id a8so21548541qgf.0 for ; Tue, 31 Mar 2015 10:52:23 -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:subject :content-type; bh=VbVAWe+MYAvd1SPhI5/9oKEhItlCGX3aIIXu/J4yBZM=; b=RGQdaRDpz85R7v2pjAs0be2BruaDRtxwnCSDvgYQuQ4t2HSyha4rSNNiuyaIzA8H8f z7LSTEGqOO5LZPGqnAZmGPE2aE1rIqqozxbzVIzOn4VQ/+/bkHA9DPaF1Ox7TgKw+cLm q/CfEjWH//xni8hRlVo6aIhDaJLq93g9wEogTClixPQCeyhFOjeYd+R2Va2r5Fc/nmgb Ypf0spcdqZ6XEyP8HRPCIZKxGcpT7+FdiMHVfwkhRnhJ1YaG0+tupGtSUMDuwQmotUXq sibRqAlMvS0ZQCRgfLoXG4Majn5gyMRxHobY1ghu9PYUdOOAIkE7gzbWLj4PP5BYxLI0 oKkw== X-Received: by 10.55.24.158 with SMTP id 30mr41673823qky.81.1427824343191; Tue, 31 Mar 2015 10:52:23 -0700 (PDT) Received: from [10.35.157.65] ([134.174.110.14]) by mx.google.com with ESMTPSA id 10sm10320126qht.13.2015.03.31.10.52.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2015 10:52:22 -0700 (PDT) Message-ID: <551ADED4.4010903@gmail.com> Date: Tue, 31 Mar 2015 13:52:20 -0400 From: Da Zhang User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Emacs built on Windows cannot figure out path correctly Content-Type: multipart/alternative; boundary="------------030802020003060502090500" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) This is a multi-part message in MIME format. --------------030802020003060502090500 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit From: Da Zhang To: bug-gnu-emacs@gnu.org Subject: 24.5; Emacs built on Windows cannot figure out path correctly --text follows this line-- 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. This seems to be a but. Thank you. Da Zhang In GNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-03-28 on KAEL Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=yes --with-file-notification=yes --without-dbus --without-imagemagick 'CFLAGS=-Ofast -fomit-frame-pointer -funroll-loops -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Important settings: value of $LANG: ENU locale-coding-system: utf-8 Major mode: Messages Minor modes in effect: cua-mode: t pyvenv-mode: t recentf-mode: t sml-modeline-mode: t global-undo-tree-mode: t undo-tree-mode: t global-auto-complete-mode: t ido-vertical-mode: t ido-everywhere: t tabbar-mwheel-mode: t tabbar-mode: t shell-dirtrack-mode: t desktop-save-mode: t TeX-PDF-mode: t winner-mode: t global-auto-revert-mode: t display-time-mode: t auto-image-file-mode: t show-paren-mode: t which-function-mode: t delete-selection-mode: t global-hl-line-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Wrote c:/research/201503_Toshiba_CT2_GOCR/python/correct_raw_ocr.py Invalid face reference: python-cell [1070 times] Saving file c:/research/201503_Toshiba_CT2_GOCR/python/correct_raw_ocr.py... Wrote c:/research/201503_Toshiba_CT2_GOCR/python/correct_raw_ocr.py Invalid face reference: python-cell [156 times] apply: Searching for program: no such file or directory, c\:/Python27/Scripts/ipython.exeInvalid face reference: python-cell Invalid face reference: python-cell [59 times] apply: Searching for program: no such file or directory, c\:/Python27/Scripts/ipython.exeInvalid face reference: python-cell Invalid face reference: python-cell [59 times] Mark set [2 times] Quit [5 times] Load-path shadows: c:/home/zhangda/.emacs.d/elpa/anything-20130606.946/anything-complete hides c:/home/zhangda/.emacs.d/elpa/anything-complete-1.86/anything-complete c:/home/zhangda/.emacs.d/elpa/anything-20130606.946/anything-match-plugin hides c:/home/zhangda/.emacs.d/elpa/anything-match-plugin-1.27/anything-match-plugin c:/Emacs/site-lisp/org-toodledo/org-toodledo hides c:/home/zhangda/.emacs.d/elpa/org-toodledo-20150301.313/org-toodledo c:/Emacs/site-lisp/org-toodledo/org-toodledo-sim hides c:/home/zhangda/.emacs.d/elpa/org-toodledo-20150301.313/org-toodledo-sim c:/Emacs/site-lisp/vc-hooks hides c:/Emacs/share/emacs/24.5/lisp/vc/vc-hooks c:/home/zhangda/.emacs.d/elpa/org-20150330/ox hides c:/Emacs/share/emacs/24.5/lisp/org/ox c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-texinfo hides c:/Emacs/share/emacs/24.5/lisp/org/ox-texinfo c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-publish hides c:/Emacs/share/emacs/24.5/lisp/org/ox-publish c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-org hides c:/Emacs/share/emacs/24.5/lisp/org/ox-org c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-odt hides c:/Emacs/share/emacs/24.5/lisp/org/ox-odt c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-md hides c:/Emacs/share/emacs/24.5/lisp/org/ox-md c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-man hides c:/Emacs/share/emacs/24.5/lisp/org/ox-man c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-latex hides c:/Emacs/share/emacs/24.5/lisp/org/ox-latex c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-icalendar hides c:/Emacs/share/emacs/24.5/lisp/org/ox-icalendar c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-html hides c:/Emacs/share/emacs/24.5/lisp/org/ox-html c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-beamer hides c:/Emacs/share/emacs/24.5/lisp/org/ox-beamer c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-ascii hides c:/Emacs/share/emacs/24.5/lisp/org/ox-ascii c:/home/zhangda/.emacs.d/elpa/org-20150330/org hides c:/Emacs/share/emacs/24.5/lisp/org/org c:/home/zhangda/.emacs.d/elpa/org-20150330/org-w3m hides c:/Emacs/share/emacs/24.5/lisp/org/org-w3m c:/home/zhangda/.emacs.d/elpa/org-20150330/org-version hides c:/Emacs/share/emacs/24.5/lisp/org/org-version c:/home/zhangda/.emacs.d/elpa/org-20150330/org-timer hides c:/Emacs/share/emacs/24.5/lisp/org/org-timer c:/home/zhangda/.emacs.d/elpa/org-20150330/org-table hides c:/Emacs/share/emacs/24.5/lisp/org/org-table c:/home/zhangda/.emacs.d/elpa/org-20150330/org-src hides c:/Emacs/share/emacs/24.5/lisp/org/org-src c:/home/zhangda/.emacs.d/elpa/org-20150330/org-rmail hides c:/Emacs/share/emacs/24.5/lisp/org/org-rmail c:/home/zhangda/.emacs.d/elpa/org-20150330/org-protocol hides c:/Emacs/share/emacs/24.5/lisp/org/org-protocol c:/home/zhangda/.emacs.d/elpa/org-20150330/org-plot hides c:/Emacs/share/emacs/24.5/lisp/org/org-plot c:/home/zhangda/.emacs.d/elpa/org-20150330/org-pcomplete hides c:/Emacs/share/emacs/24.5/lisp/org/org-pcomplete c:/home/zhangda/.emacs.d/elpa/org-20150330/org-mouse hides c:/Emacs/share/emacs/24.5/lisp/org/org-mouse c:/home/zhangda/.emacs.d/elpa/org-20150330/org-mobile hides c:/Emacs/share/emacs/24.5/lisp/org/org-mobile c:/home/zhangda/.emacs.d/elpa/org-20150330/org-mhe hides c:/Emacs/share/emacs/24.5/lisp/org/org-mhe c:/home/zhangda/.emacs.d/elpa/org-20150330/org-macs hides c:/Emacs/share/emacs/24.5/lisp/org/org-macs c:/home/zhangda/.emacs.d/elpa/org-20150330/org-macro hides c:/Emacs/share/emacs/24.5/lisp/org/org-macro c:/home/zhangda/.emacs.d/elpa/org-20150330/org-loaddefs hides c:/Emacs/share/emacs/24.5/lisp/org/org-loaddefs c:/home/zhangda/.emacs.d/elpa/org-20150330/org-list hides c:/Emacs/share/emacs/24.5/lisp/org/org-list c:/home/zhangda/.emacs.d/elpa/org-20150330/org-irc hides c:/Emacs/share/emacs/24.5/lisp/org/org-irc c:/home/zhangda/.emacs.d/elpa/org-20150330/org-install hides c:/Emacs/share/emacs/24.5/lisp/org/org-install c:/home/zhangda/.emacs.d/elpa/org-20150330/org-inlinetask hides c:/Emacs/share/emacs/24.5/lisp/org/org-inlinetask c:/home/zhangda/.emacs.d/elpa/org-20150330/org-info hides c:/Emacs/share/emacs/24.5/lisp/org/org-info c:/home/zhangda/.emacs.d/elpa/org-20150330/org-indent hides c:/Emacs/share/emacs/24.5/lisp/org/org-indent c:/home/zhangda/.emacs.d/elpa/org-20150330/org-id hides c:/Emacs/share/emacs/24.5/lisp/org/org-id c:/home/zhangda/.emacs.d/elpa/org-20150330/org-habit hides c:/Emacs/share/emacs/24.5/lisp/org/org-habit c:/home/zhangda/.emacs.d/elpa/org-20150330/org-gnus hides c:/Emacs/share/emacs/24.5/lisp/org/org-gnus c:/home/zhangda/.emacs.d/elpa/org-20150330/org-footnote hides c:/Emacs/share/emacs/24.5/lisp/org/org-footnote c:/home/zhangda/.emacs.d/elpa/org-20150330/org-feed hides c:/Emacs/share/emacs/24.5/lisp/org/org-feed c:/home/zhangda/.emacs.d/elpa/org-20150330/org-faces hides c:/Emacs/share/emacs/24.5/lisp/org/org-faces c:/home/zhangda/.emacs.d/elpa/org-20150330/org-eshell hides c:/Emacs/share/emacs/24.5/lisp/org/org-eshell c:/home/zhangda/.emacs.d/elpa/org-20150330/org-entities hides c:/Emacs/share/emacs/24.5/lisp/org/org-entities c:/home/zhangda/.emacs.d/elpa/org-20150330/org-element hides c:/Emacs/share/emacs/24.5/lisp/org/org-element c:/home/zhangda/.emacs.d/elpa/org-20150330/org-docview hides c:/Emacs/share/emacs/24.5/lisp/org/org-docview c:/home/zhangda/.emacs.d/elpa/org-20150330/org-datetree hides c:/Emacs/share/emacs/24.5/lisp/org/org-datetree c:/home/zhangda/.emacs.d/elpa/org-20150330/org-ctags hides c:/Emacs/share/emacs/24.5/lisp/org/org-ctags c:/home/zhangda/.emacs.d/elpa/org-20150330/org-crypt hides c:/Emacs/share/emacs/24.5/lisp/org/org-crypt c:/home/zhangda/.emacs.d/elpa/org-20150330/org-compat hides c:/Emacs/share/emacs/24.5/lisp/org/org-compat c:/home/zhangda/.emacs.d/elpa/org-20150330/org-colview hides c:/Emacs/share/emacs/24.5/lisp/org/org-colview c:/home/zhangda/.emacs.d/elpa/org-20150330/org-clock hides c:/Emacs/share/emacs/24.5/lisp/org/org-clock c:/home/zhangda/.emacs.d/elpa/org-20150330/org-capture hides c:/Emacs/share/emacs/24.5/lisp/org/org-capture c:/home/zhangda/.emacs.d/elpa/org-20150330/org-bibtex hides c:/Emacs/share/emacs/24.5/lisp/org/org-bibtex c:/home/zhangda/.emacs.d/elpa/org-20150330/org-bbdb hides c:/Emacs/share/emacs/24.5/lisp/org/org-bbdb c:/home/zhangda/.emacs.d/elpa/org-20150330/org-attach hides c:/Emacs/share/emacs/24.5/lisp/org/org-attach c:/home/zhangda/.emacs.d/elpa/org-20150330/org-archive hides c:/Emacs/share/emacs/24.5/lisp/org/org-archive c:/home/zhangda/.emacs.d/elpa/org-20150330/org-agenda hides c:/Emacs/share/emacs/24.5/lisp/org/org-agenda c:/home/zhangda/.emacs.d/elpa/org-20150330/ob hides c:/Emacs/share/emacs/24.5/lisp/org/ob c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-tangle hides c:/Emacs/share/emacs/24.5/lisp/org/ob-tangle c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-table hides c:/Emacs/share/emacs/24.5/lisp/org/ob-table c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sqlite hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sqlite c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sql hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sql c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-shen hides c:/Emacs/share/emacs/24.5/lisp/org/ob-shen c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sh hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sh c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-screen hides c:/Emacs/share/emacs/24.5/lisp/org/ob-screen c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-scheme hides c:/Emacs/share/emacs/24.5/lisp/org/ob-scheme c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-scala hides c:/Emacs/share/emacs/24.5/lisp/org/ob-scala c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sass hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sass c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ruby hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ruby c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ref hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ref c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-R hides c:/Emacs/share/emacs/24.5/lisp/org/ob-R c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-python hides c:/Emacs/share/emacs/24.5/lisp/org/ob-python c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-plantuml hides c:/Emacs/share/emacs/24.5/lisp/org/ob-plantuml c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-picolisp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-picolisp c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-perl hides c:/Emacs/share/emacs/24.5/lisp/org/ob-perl c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-org hides c:/Emacs/share/emacs/24.5/lisp/org/ob-org c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-octave hides c:/Emacs/share/emacs/24.5/lisp/org/ob-octave c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ocaml hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ocaml c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-mscgen hides c:/Emacs/share/emacs/24.5/lisp/org/ob-mscgen c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-maxima hides c:/Emacs/share/emacs/24.5/lisp/org/ob-maxima c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-matlab hides c:/Emacs/share/emacs/24.5/lisp/org/ob-matlab c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-makefile hides c:/Emacs/share/emacs/24.5/lisp/org/ob-makefile c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-lob hides c:/Emacs/share/emacs/24.5/lisp/org/ob-lob c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-lisp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-lisp c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-lilypond hides c:/Emacs/share/emacs/24.5/lisp/org/ob-lilypond c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ledger hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ledger c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-latex hides c:/Emacs/share/emacs/24.5/lisp/org/ob-latex c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-keys hides c:/Emacs/share/emacs/24.5/lisp/org/ob-keys c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-js hides c:/Emacs/share/emacs/24.5/lisp/org/ob-js c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-java hides c:/Emacs/share/emacs/24.5/lisp/org/ob-java c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-io hides c:/Emacs/share/emacs/24.5/lisp/org/ob-io c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-haskell hides c:/Emacs/share/emacs/24.5/lisp/org/ob-haskell c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-gnuplot hides c:/Emacs/share/emacs/24.5/lisp/org/ob-gnuplot c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-fortran hides c:/Emacs/share/emacs/24.5/lisp/org/ob-fortran c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-exp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-exp c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-eval hides c:/Emacs/share/emacs/24.5/lisp/org/ob-eval c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-emacs-lisp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-emacs-lisp c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-dot hides c:/Emacs/share/emacs/24.5/lisp/org/ob-dot c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ditaa hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ditaa c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-css hides c:/Emacs/share/emacs/24.5/lisp/org/ob-css c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-core hides c:/Emacs/share/emacs/24.5/lisp/org/ob-core c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-comint hides c:/Emacs/share/emacs/24.5/lisp/org/ob-comint c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-clojure hides c:/Emacs/share/emacs/24.5/lisp/org/ob-clojure c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-calc hides c:/Emacs/share/emacs/24.5/lisp/org/ob-calc c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-C hides c:/Emacs/share/emacs/24.5/lisp/org/ob-C c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-awk hides c:/Emacs/share/emacs/24.5/lisp/org/ob-awk c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-asymptote hides c:/Emacs/share/emacs/24.5/lisp/org/ob-asymptote Features: (shadow mail-extr warnings emacsbug sendmail mule-util tabify eieio-opt speedbar sb-image ezimage dframe skeleton sort misearch multi-isearch sh-script smie executable add-log helm-files tramp tramp-compat tramp-loaddefs trampver ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-help helm-org helm-match-plugin helm-grep helm-regexp helm-plugin helm-external helm-net browse-url helm-utils helm helm-source f s ucs-normalize ace-jump-zap ace-jump-mode smartparens-config smartparens-latex smartparens dash cua-base visual-regexp flymake-cursor flymake-python-pyflakes flymake-easy ein iedit iedit-lib smex company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-cmake company-xcode company-clang company-eclim company-template company-css company-nxml company-bbdb yasnippet highlight-indentation company elpy pyvenv elpy-refactor grep files-x etags eldoc python-cell rx outline-magic indent-guide python-el-fgallina-expansions python json cdlatex texmathp flyspell ispell org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m recentf tree-widget rainbow-delimiters re-builder matlab-load folding-isearch folding rainbow-mode google-c-style fbib sml-modeline framemove windmove weblogger message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader xml-rpc timezone url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-gw url-vars xml expand-region text-mode-expansions cc-mode-expansions the-org-mode-expansions latex-mode-expansions er-basic-expansions expand-region-core expand-region-custom undo-tree diff auto-complete-config auto-complete popup anything pager bm find-dired help-mode dired+ image-dired dired-aux dired-details+ dired-x dired dired-details header2 color-theme-dawn-night color-theme ido-vertical-mode ido browse-kill-ring tabbar ibuf-macs ibuffer server ox-beamer ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element ob-makefile ob-sh shell ob-R ob-python ob-perl ob-org ob-matlab ob-octave ob-latex ob-gnuplot ob-plantuml ob-ditaa ob-css ob-calc calc-store calc-trail calc-ext calc calc-loaddefs calc-macs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs muse-wiki muse-colors muse-docbook muse-texinfo texnfo-upd texinfo muse-latex muse-html muse-xml-common cus-edit cus-start cus-load muse-publish muse-project muse-protocols muse-regexps wid-edit derived muse muse-nested-tags muse-mode flymake compile comint ansi-color tex-mik preview prv-emacs reporter desktop frameset latex easy-mmode tex-style tex-buf tex crm winner ring cl-macs autorevert filenotify time image-file avoid paren which-func imenu delsel col-highlight vline highlight-symbol thingatpt highlight-parentheses hl-line byte-opt bytecomp byte-compile cl-extra cconv hlinum linum edmacro kmacro w32-browser htmlize-view htmlize cl gv cl-loaddefs cl-lib anything-autoloads anything-complete-autoloads anything-match-plugin-autoloads tex-site color-file-completion-autoloads color-theme-autoloads csv-mode-autoloads dired-details-autoloads etags-table-autoloads flymake-shell-autoloads gnuplot-mode-autoloads hide-lines-autoloads htmlize-autoloads http-post-simple-autoloads less-autoloads muse-autoloads pager-autoloads py-import-check-autoloads pydoc-info advice help-fns info-look rainbow-mode-autoloads info easymenu sml-mode-autoloads vline-autoloads weblogger-autoloads xml-rpc-autoloads package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 16 857341 151258) (symbols 56 61237 0) (miscs 48 1431 849) (strings 32 179760 8379) (string-bytes 1 4573565) (vectors 16 89911) (vector-slots 8 1471097 25518) (floats 8 763 1122) (intervals 56 12548 106) (buffers 960 65)) --------------030802020003060502090500 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit From: Da Zhang
To: bug-gnu-emacs@gnu.org
Subject: 24.5; Emacs built on Windows cannot figure out path correctly
--text follows this line--


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.

This seems to be a but.

Thank you.

Da Zhang


In GNU Emacs 24.5.1 (x86_64-w64-mingw32)
 of 2015-03-28 on KAEL
Windowing system distributor `Microsoft Corp.', version 6.3.9600
Configured using:
 `configure --prefix=/z/emacs --host=x86_64-w64-mingw32
 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int
 --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2
 --with-gnutls --with-sound=yes --with-file-notification=yes
 --without-dbus --without-imagemagick 'CFLAGS=-Ofast
 -fomit-frame-pointer -funroll-loops -g0 -pipe' 'LDFLAGS=-static-libgcc
 -static-libstdc++ -static -s -Wl,-s''

Important settings:
  value of $LANG: ENU
  locale-coding-system: utf-8

Major mode: Messages

Minor modes in effect:
  cua-mode: t
  pyvenv-mode: t
  recentf-mode: t
  sml-modeline-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  global-auto-complete-mode: t
  ido-vertical-mode: t
  ido-everywhere: t
  tabbar-mwheel-mode: t
  tabbar-mode: t
  shell-dirtrack-mode: t
  desktop-save-mode: t
  TeX-PDF-mode: t
  winner-mode: t
  global-auto-revert-mode: t
  display-time-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  which-function-mode: t
  delete-selection-mode: t
  global-hl-line-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
Wrote c:/research/201503_Toshiba_CT2_GOCR/python/correct_raw_ocr.py
Invalid face reference: python-cell [1070 times]
Saving file c:/research/201503_Toshiba_CT2_GOCR/python/correct_raw_ocr.py...
Wrote c:/research/201503_Toshiba_CT2_GOCR/python/correct_raw_ocr.py
Invalid face reference: python-cell [156 times]
apply: Searching for program: no such file or directory, c\:/Python27/Scripts/ipython.exeInvalid face reference: python-cell
Invalid face reference: python-cell [59 times]
apply: Searching for program: no such file or directory, c\:/Python27/Scripts/ipython.exeInvalid face reference: python-cell
Invalid face reference: python-cell [59 times]
Mark set [2 times]
Quit [5 times]

Load-path shadows:
c:/home/zhangda/.emacs.d/elpa/anything-20130606.946/anything-complete hides c:/home/zhangda/.emacs.d/elpa/anything-complete-1.86/anything-complete
c:/home/zhangda/.emacs.d/elpa/anything-20130606.946/anything-match-plugin hides c:/home/zhangda/.emacs.d/elpa/anything-match-plugin-1.27/anything-match-plugin
c:/Emacs/site-lisp/org-toodledo/org-toodledo hides c:/home/zhangda/.emacs.d/elpa/org-toodledo-20150301.313/org-toodledo
c:/Emacs/site-lisp/org-toodledo/org-toodledo-sim hides c:/home/zhangda/.emacs.d/elpa/org-toodledo-20150301.313/org-toodledo-sim
c:/Emacs/site-lisp/vc-hooks hides c:/Emacs/share/emacs/24.5/lisp/vc/vc-hooks
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox hides c:/Emacs/share/emacs/24.5/lisp/org/ox
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-texinfo hides c:/Emacs/share/emacs/24.5/lisp/org/ox-texinfo
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-publish hides c:/Emacs/share/emacs/24.5/lisp/org/ox-publish
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-org hides c:/Emacs/share/emacs/24.5/lisp/org/ox-org
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-odt hides c:/Emacs/share/emacs/24.5/lisp/org/ox-odt
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-md hides c:/Emacs/share/emacs/24.5/lisp/org/ox-md
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-man hides c:/Emacs/share/emacs/24.5/lisp/org/ox-man
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-latex hides c:/Emacs/share/emacs/24.5/lisp/org/ox-latex
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-icalendar hides c:/Emacs/share/emacs/24.5/lisp/org/ox-icalendar
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-html hides c:/Emacs/share/emacs/24.5/lisp/org/ox-html
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-beamer hides c:/Emacs/share/emacs/24.5/lisp/org/ox-beamer
c:/home/zhangda/.emacs.d/elpa/org-20150330/ox-ascii hides c:/Emacs/share/emacs/24.5/lisp/org/ox-ascii
c:/home/zhangda/.emacs.d/elpa/org-20150330/org hides c:/Emacs/share/emacs/24.5/lisp/org/org
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-w3m hides c:/Emacs/share/emacs/24.5/lisp/org/org-w3m
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-version hides c:/Emacs/share/emacs/24.5/lisp/org/org-version
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-timer hides c:/Emacs/share/emacs/24.5/lisp/org/org-timer
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-table hides c:/Emacs/share/emacs/24.5/lisp/org/org-table
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-src hides c:/Emacs/share/emacs/24.5/lisp/org/org-src
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-rmail hides c:/Emacs/share/emacs/24.5/lisp/org/org-rmail
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-protocol hides c:/Emacs/share/emacs/24.5/lisp/org/org-protocol
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-plot hides c:/Emacs/share/emacs/24.5/lisp/org/org-plot
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-pcomplete hides c:/Emacs/share/emacs/24.5/lisp/org/org-pcomplete
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-mouse hides c:/Emacs/share/emacs/24.5/lisp/org/org-mouse
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-mobile hides c:/Emacs/share/emacs/24.5/lisp/org/org-mobile
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-mhe hides c:/Emacs/share/emacs/24.5/lisp/org/org-mhe
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-macs hides c:/Emacs/share/emacs/24.5/lisp/org/org-macs
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-macro hides c:/Emacs/share/emacs/24.5/lisp/org/org-macro
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-loaddefs hides c:/Emacs/share/emacs/24.5/lisp/org/org-loaddefs
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-list hides c:/Emacs/share/emacs/24.5/lisp/org/org-list
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-irc hides c:/Emacs/share/emacs/24.5/lisp/org/org-irc
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-install hides c:/Emacs/share/emacs/24.5/lisp/org/org-install
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-inlinetask hides c:/Emacs/share/emacs/24.5/lisp/org/org-inlinetask
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-info hides c:/Emacs/share/emacs/24.5/lisp/org/org-info
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-indent hides c:/Emacs/share/emacs/24.5/lisp/org/org-indent
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-id hides c:/Emacs/share/emacs/24.5/lisp/org/org-id
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-habit hides c:/Emacs/share/emacs/24.5/lisp/org/org-habit
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-gnus hides c:/Emacs/share/emacs/24.5/lisp/org/org-gnus
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-footnote hides c:/Emacs/share/emacs/24.5/lisp/org/org-footnote
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-feed hides c:/Emacs/share/emacs/24.5/lisp/org/org-feed
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-faces hides c:/Emacs/share/emacs/24.5/lisp/org/org-faces
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-eshell hides c:/Emacs/share/emacs/24.5/lisp/org/org-eshell
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-entities hides c:/Emacs/share/emacs/24.5/lisp/org/org-entities
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-element hides c:/Emacs/share/emacs/24.5/lisp/org/org-element
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-docview hides c:/Emacs/share/emacs/24.5/lisp/org/org-docview
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-datetree hides c:/Emacs/share/emacs/24.5/lisp/org/org-datetree
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-ctags hides c:/Emacs/share/emacs/24.5/lisp/org/org-ctags
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-crypt hides c:/Emacs/share/emacs/24.5/lisp/org/org-crypt
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-compat hides c:/Emacs/share/emacs/24.5/lisp/org/org-compat
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-colview hides c:/Emacs/share/emacs/24.5/lisp/org/org-colview
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-clock hides c:/Emacs/share/emacs/24.5/lisp/org/org-clock
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-capture hides c:/Emacs/share/emacs/24.5/lisp/org/org-capture
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-bibtex hides c:/Emacs/share/emacs/24.5/lisp/org/org-bibtex
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-bbdb hides c:/Emacs/share/emacs/24.5/lisp/org/org-bbdb
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-attach hides c:/Emacs/share/emacs/24.5/lisp/org/org-attach
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-archive hides c:/Emacs/share/emacs/24.5/lisp/org/org-archive
c:/home/zhangda/.emacs.d/elpa/org-20150330/org-agenda hides c:/Emacs/share/emacs/24.5/lisp/org/org-agenda
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob hides c:/Emacs/share/emacs/24.5/lisp/org/ob
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-tangle hides c:/Emacs/share/emacs/24.5/lisp/org/ob-tangle
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-table hides c:/Emacs/share/emacs/24.5/lisp/org/ob-table
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sqlite hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sqlite
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sql hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sql
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-shen hides c:/Emacs/share/emacs/24.5/lisp/org/ob-shen
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sh hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sh
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-screen hides c:/Emacs/share/emacs/24.5/lisp/org/ob-screen
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-scheme hides c:/Emacs/share/emacs/24.5/lisp/org/ob-scheme
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-scala hides c:/Emacs/share/emacs/24.5/lisp/org/ob-scala
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-sass hides c:/Emacs/share/emacs/24.5/lisp/org/ob-sass
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ruby hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ruby
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ref hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ref
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-R hides c:/Emacs/share/emacs/24.5/lisp/org/ob-R
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-python hides c:/Emacs/share/emacs/24.5/lisp/org/ob-python
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-plantuml hides c:/Emacs/share/emacs/24.5/lisp/org/ob-plantuml
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-picolisp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-picolisp
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-perl hides c:/Emacs/share/emacs/24.5/lisp/org/ob-perl
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-org hides c:/Emacs/share/emacs/24.5/lisp/org/ob-org
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-octave hides c:/Emacs/share/emacs/24.5/lisp/org/ob-octave
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ocaml hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ocaml
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-mscgen hides c:/Emacs/share/emacs/24.5/lisp/org/ob-mscgen
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-maxima hides c:/Emacs/share/emacs/24.5/lisp/org/ob-maxima
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-matlab hides c:/Emacs/share/emacs/24.5/lisp/org/ob-matlab
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-makefile hides c:/Emacs/share/emacs/24.5/lisp/org/ob-makefile
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-lob hides c:/Emacs/share/emacs/24.5/lisp/org/ob-lob
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-lisp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-lisp
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-lilypond hides c:/Emacs/share/emacs/24.5/lisp/org/ob-lilypond
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ledger hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ledger
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-latex hides c:/Emacs/share/emacs/24.5/lisp/org/ob-latex
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-keys hides c:/Emacs/share/emacs/24.5/lisp/org/ob-keys
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-js hides c:/Emacs/share/emacs/24.5/lisp/org/ob-js
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-java hides c:/Emacs/share/emacs/24.5/lisp/org/ob-java
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-io hides c:/Emacs/share/emacs/24.5/lisp/org/ob-io
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-haskell hides c:/Emacs/share/emacs/24.5/lisp/org/ob-haskell
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-gnuplot hides c:/Emacs/share/emacs/24.5/lisp/org/ob-gnuplot
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-fortran hides c:/Emacs/share/emacs/24.5/lisp/org/ob-fortran
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-exp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-exp
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-eval hides c:/Emacs/share/emacs/24.5/lisp/org/ob-eval
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-emacs-lisp hides c:/Emacs/share/emacs/24.5/lisp/org/ob-emacs-lisp
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-dot hides c:/Emacs/share/emacs/24.5/lisp/org/ob-dot
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-ditaa hides c:/Emacs/share/emacs/24.5/lisp/org/ob-ditaa
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-css hides c:/Emacs/share/emacs/24.5/lisp/org/ob-css
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-core hides c:/Emacs/share/emacs/24.5/lisp/org/ob-core
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-comint hides c:/Emacs/share/emacs/24.5/lisp/org/ob-comint
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-clojure hides c:/Emacs/share/emacs/24.5/lisp/org/ob-clojure
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-calc hides c:/Emacs/share/emacs/24.5/lisp/org/ob-calc
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-C hides c:/Emacs/share/emacs/24.5/lisp/org/ob-C
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-awk hides c:/Emacs/share/emacs/24.5/lisp/org/ob-awk
c:/home/zhangda/.emacs.d/elpa/org-20150330/ob-asymptote hides c:/Emacs/share/emacs/24.5/lisp/org/ob-asymptote

Features:
(shadow mail-extr warnings emacsbug sendmail mule-util tabify eieio-opt
speedbar sb-image ezimage dframe skeleton sort misearch multi-isearch
sh-script smie executable add-log helm-files tramp tramp-compat
tramp-loaddefs trampver ffap helm-buffers helm-elscreen helm-tags
helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-help
helm-org helm-match-plugin helm-grep helm-regexp helm-plugin
helm-external helm-net browse-url helm-utils helm helm-source f s
ucs-normalize ace-jump-zap ace-jump-mode smartparens-config
smartparens-latex smartparens dash cua-base visual-regexp flymake-cursor
flymake-python-pyflakes flymake-easy ein iedit iedit-lib smex
company-files company-oddmuse company-keywords company-etags
company-gtags company-dabbrev-code company-dabbrev company-cmake
company-xcode company-clang company-eclim company-template company-css
company-nxml company-bbdb yasnippet highlight-indentation company elpy
pyvenv elpy-refactor grep files-x etags eldoc python-cell rx
outline-magic indent-guide python-el-fgallina-expansions python json
cdlatex texmathp flyspell ispell org-rmail org-mhe org-irc org-info
org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex
org-bbdb org-w3m recentf tree-widget rainbow-delimiters re-builder
matlab-load folding-isearch folding rainbow-mode google-c-style fbib
sml-modeline framemove windmove weblogger message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader
xml-rpc timezone url-http tls url url-proxy url-privacy url-expand
url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047
rfc2045 ietf-drums url-cookie url-domsuf url-util url-parse auth-source
eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-gw
url-vars xml expand-region text-mode-expansions cc-mode-expansions
the-org-mode-expansions latex-mode-expansions er-basic-expansions
expand-region-core expand-region-custom undo-tree diff
auto-complete-config auto-complete popup anything pager bm find-dired
help-mode dired+ image-dired dired-aux dired-details+ dired-x dired
dired-details header2 color-theme-dawn-night color-theme
ido-vertical-mode ido browse-kill-ring tabbar ibuf-macs ibuffer server
ox-beamer ox-latex ox-icalendar ox-html ox-ascii ox-publish ox
org-element ob-makefile ob-sh shell ob-R ob-python ob-perl ob-org
ob-matlab ob-octave ob-latex ob-gnuplot ob-plantuml ob-ditaa ob-css
ob-calc calc-store calc-trail calc-ext calc calc-loaddefs calc-macs ob-C
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs org org-macro org-footnote org-pcomplete pcomplete
org-list org-faces org-entities noutline outline org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys
ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec
find-func cal-menu calendar cal-loaddefs muse-wiki muse-colors
muse-docbook muse-texinfo texnfo-upd texinfo muse-latex muse-html
muse-xml-common cus-edit cus-start cus-load muse-publish muse-project
muse-protocols muse-regexps wid-edit derived muse muse-nested-tags
muse-mode flymake compile comint ansi-color tex-mik preview prv-emacs
reporter desktop frameset latex easy-mmode tex-style tex-buf tex crm
winner ring cl-macs autorevert filenotify time image-file avoid paren
which-func imenu delsel col-highlight vline highlight-symbol thingatpt
highlight-parentheses hl-line byte-opt bytecomp byte-compile cl-extra
cconv hlinum linum edmacro kmacro w32-browser htmlize-view htmlize cl gv
cl-loaddefs cl-lib anything-autoloads anything-complete-autoloads
anything-match-plugin-autoloads tex-site color-file-completion-autoloads
color-theme-autoloads csv-mode-autoloads dired-details-autoloads
etags-table-autoloads flymake-shell-autoloads gnuplot-mode-autoloads
hide-lines-autoloads htmlize-autoloads http-post-simple-autoloads
less-autoloads muse-autoloads pager-autoloads py-import-check-autoloads
pydoc-info advice help-fns info-look rainbow-mode-autoloads info
easymenu sml-mode-autoloads vline-autoloads weblogger-autoloads
xml-rpc-autoloads package epg-config time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process w32notify w32
multi-tty emacs)

Memory information:
((conses 16 857341 151258)
 (symbols 56 61237 0)
 (miscs 48 1431 849)
 (strings 32 179760 8379)
 (string-bytes 1 4573565)
 (vectors 16 89911)
 (vector-slots 8 1471097 25518)
 (floats 8 763 1122)
 (intervals 56 12548 106)
 (buffers 960 65))

--------------030802020003060502090500-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 14:24:57 2015 Received: (at 20237) by debbugs.gnu.org; 31 Mar 2015 18:24:57 +0000 Received: from localhost ([127.0.0.1]:41404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd0qO-0002aS-Nd for submit@debbugs.gnu.org; Tue, 31 Mar 2015 14:24:56 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:41731) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd0qL-0002aC-OQ for 20237@debbugs.gnu.org; Tue, 31 Mar 2015 14:24:54 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NM300I009455Y00@a-mtaout21.012.net.il> for 20237@debbugs.gnu.org; Tue, 31 Mar 2015 21:24:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM300I539TA6W00@a-mtaout21.012.net.il>; Tue, 31 Mar 2015 21:24:47 +0300 (IDT) Date: Tue, 31 Mar 2015 21:24:35 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <551ADED4.4010903@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang Message-id: <83twx1rpng.fsf@gnu.org> References: <551ADED4.4010903@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 17:24:55 2015 Received: (at 20237) by debbugs.gnu.org; 31 Mar 2015 21:24:55 +0000 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 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 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) 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) Message-ID: <551B109C.4050505@gmail.com> Date: Tue, 31 Mar 2015 17:24:44 -0400 From: Da Zhang User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> In-Reply-To: <83twx1rpng.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------010506000708070909000004" X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) 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-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 18:46:52 2015 Received: (at submit) by debbugs.gnu.org; 31 Mar 2015 22:46:52 +0000 Received: from localhost ([127.0.0.1]:41525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd4vs-0001pl-37 for submit@debbugs.gnu.org; Tue, 31 Mar 2015 18:46:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45405) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd4vp-0001pX-No for submit@debbugs.gnu.org; Tue, 31 Mar 2015 18:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yd4vj-0005EB-Lt for submit@debbugs.gnu.org; Tue, 31 Mar 2015 18:46:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd4vj-0005E6-JJ for submit@debbugs.gnu.org; Tue, 31 Mar 2015 18:46:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd4vi-0008Cj-Lk for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 18:46:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yd4vf-0005DS-Fk for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 18:46:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:58524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd4vf-0005D9-91 for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2015 18:46:39 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Yd4va-0007jK-Eg for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 00:46:34 +0200 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Apr 2015 00:46:34 +0200 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Apr 2015 00:46:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly Date: Tue, 31 Mar 2015 23:46:23 +0100 Lines: 39 Message-ID: <867ftwyedc.fsf@gmail.com> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:BJO2v6pPLb2O1z4umB+J0a2Cras= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Tue 31 Mar 2015, 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. I have seen something similar - I think it's caused by incorrect quoting: --[python.el]----------------------------------------------------------- (defun python-shell-calculate-command () "Calculate the string used to execute the inferior Python process." (let ((exec-path (python-shell-calculate-exec-path))) ;; `exec-path' gets tweaked so that virtualenv's specific ;; `python-shell-interpreter' absolute path can be found by ;; `executable-find'. (format "%s %s" ;; FIXME: Why executable-find? (shell-quote-argument (executable-find python-shell-interpreter)) python-shell-interpreter-args))) --[python.el]----------------------------------------------------------- Removing the use of shell-quote-argument seems to work around this problem. AndyM From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 22:40:42 2015 Received: (at 20237) by debbugs.gnu.org; 1 Apr 2015 02:40:42 +0000 Received: from localhost ([127.0.0.1]:41560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd8a9-0007Ey-Tp for submit@debbugs.gnu.org; Tue, 31 Mar 2015 22:40:42 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:65107) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd8a7-0007Ej-5K for 20237@debbugs.gnu.org; Tue, 31 Mar 2015 22:40:40 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NM300F00WKIMR00@a-mtaout20.012.net.il> for 20237@debbugs.gnu.org; Wed, 01 Apr 2015 05:40:32 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM300FWSWRKMO00@a-mtaout20.012.net.il>; Wed, 01 Apr 2015 05:40:32 +0300 (IDT) Date: Wed, 01 Apr 2015 05:40:22 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <551B109C.4050505@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang Message-id: <83pp7osh9l.fsf@gnu.org> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <551B109C.4050505@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 31 Mar 2015 17:24:44 -0400 > From: Da Zhang > CC: 20237@debbugs.gnu.org > > 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") And how (with which command) did you start the interpreter? From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 09:50:36 2015 Received: (at 20237) by debbugs.gnu.org; 1 Apr 2015 13:50:36 +0000 Received: from localhost ([127.0.0.1]:42172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdJ2S-0000mt-4T for submit@debbugs.gnu.org; Wed, 01 Apr 2015 09:50:36 -0400 Received: from mail-qc0-f172.google.com ([209.85.216.172]:35217) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdJ2O-0000me-GI for 20237@debbugs.gnu.org; Wed, 01 Apr 2015 09:50:33 -0400 Received: by qcbii10 with SMTP id ii10so18423938qcb.2 for <20237@debbugs.gnu.org>; Wed, 01 Apr 2015 06:50:27 -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=ZSXSQoOzxoaxNCaqRHEVwh6p6D4VExa0XMKZiyv3uBo=; b=nDl3BG97hj4uleDIIv82Kz+8A6kFGAsYv2V229NUhdbcsna3KmxhXaebMA87FX+LC1 P0/lD5QoMxihAoyDsJRdVV2VpA/BWkS0NVG0KXm5kcsWJE4gbbBK78vZU6z29pGqLuMk +3ICJ2RCqntLQmE0jPj8bLr/levXqZOaP7EJaHA1BXBiIrjumHtW/0fQoqvcgjrXcznq rI3RForMx2is9xe2fosxqpDVAhHCKcXjcg1CfTi30VeYsicRUevRtHhBViBQtTVPJQll l3XQwGAxX6g0/MNXmOrNRKwn67hYqy59MQSQlmPhjNpJgq26epTPegx+ZX0mYFHoUr6j m1Qg== X-Received: by 10.55.55.7 with SMTP id e7mr41417808qka.52.1427896227010; Wed, 01 Apr 2015 06:50:27 -0700 (PDT) Received: from [10.35.157.65] ([134.174.110.14]) by mx.google.com with ESMTPSA id h35sm1285431qgd.26.2015.04.01.06.50.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 06:50:26 -0700 (PDT) Message-ID: <551BF79F.3010201@gmail.com> Date: Wed, 01 Apr 2015 09:50:23 -0400 From: Da Zhang User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <551B109C.4050505@gmail.com> <83pp7osh9l.fsf@gnu.org> In-Reply-To: <83pp7osh9l.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------080607080008090807080602" X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) This is a multi-part message in MIME format. --------------080607080008090807080602 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit The commands I used were: elpy-shell-send-region-or-buffer and elpy-shell-switch-to-shell Under previous Emacs version 24.4.90, the same package and command worked fine. Thanks a lot. Da Zhang On 3/31/2015 10:40 PM, Eli Zaretskii wrote: >> Date: Tue, 31 Mar 2015 17:24:44 -0400 >> From: Da Zhang >> CC: 20237@debbugs.gnu.org >> >> 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") > And how (with which command) did you start the interpreter? --------------080607080008090807080602 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit The commands I used were:
elpy-shell-send-region-or-buffer
and
elpy-shell-switch-to-shell

Under previous Emacs version 24.4.90, the same package and command worked fine.
Thanks a lot.

Da Zhang

On 3/31/2015 10:40 PM, Eli Zaretskii wrote:
Date: Tue, 31 Mar 2015 17:24:44 -0400
From: Da Zhang <zhangda82@gmail.com>
CC: 20237@debbugs.gnu.org

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")
And how (with which command) did you start the interpreter?

--------------080607080008090807080602-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 06:34:28 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 10:34:28 +0000 Received: from localhost ([127.0.0.1]:44351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeLPH-0006vg-HO for submit@debbugs.gnu.org; Sat, 04 Apr 2015 06:34:27 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:60426) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeLPF-0006vP-9O for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 06:34:26 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NMA00N002I24100@a-mtaout20.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 13:34:18 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00NSB2P53910@a-mtaout20.012.net.il>; Sat, 04 Apr 2015 13:34:18 +0300 (IDT) Date: Sat, 04 Apr 2015 13:34:17 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <551BF79F.3010201@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang Message-id: <83384gp4gm.fsf@gnu.org> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <551B109C.4050505@gmail.com> <83pp7osh9l.fsf@gnu.org> <551BF79F.3010201@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 01 Apr 2015 09:50:23 -0400 > From: Da Zhang > CC: 20237@debbugs.gnu.org > > The commands I used were: > elpy-shell-send-region-or-buffer > and > elpy-shell-switch-to-shell > > Under previous Emacs version 24.4.90, the same package and command worked fine. What does the following command display? M-: (python-shell-parse-command) RET Also, what does this display? M-: (split-string-and-unquote (python-shell-parse-command)) RET Please also note that you configured python.el to use the ipython script as the interpreter, which AFAIK is not a .exe program, whereas the error message you cited: apply: Searching for program: no such file or directory, c\:/Python27/Scripts/ipython.exe seems to indicate that Emacs tries to look for a .exe program there, or perhaps it doesn't recognize ipython the script as a program. Not sure if this is relevant to the problem. Finally, can you set debug-on-error to t, load both python.el and elpy.el as .el files (NOT .elc!), and then reproduce the problem and show the full backtrace that the debugger displays? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 06:35:28 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 10:35:28 +0000 Received: from localhost ([127.0.0.1]:44355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeLQF-0006xP-3B for submit@debbugs.gnu.org; Sat, 04 Apr 2015 06:35:27 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:53279) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeLQD-0006xC-47 for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 06:35:26 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NMA00M00297P800@mtaout24.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 13:26:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00MK92CTHL00@mtaout24.012.net.il>; Sat, 04 Apr 2015 13:26:53 +0300 (IDT) Date: Sat, 04 Apr 2015 13:35:17 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <867ftwyedc.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: Andy Moreton Message-id: <831tk0p4ey.fsf@gnu.org> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <867ftwyedc.fsf@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andy Moreton > Date: Tue, 31 Mar 2015 23:46:23 +0100 > > On Tue 31 Mar 2015, 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. > > I have seen something similar - I think it's caused by incorrect > quoting: > > --[python.el]----------------------------------------------------------- > (defun python-shell-calculate-command () > "Calculate the string used to execute the inferior Python process." > (let ((exec-path (python-shell-calculate-exec-path))) > ;; `exec-path' gets tweaked so that virtualenv's specific > ;; `python-shell-interpreter' absolute path can be found by > ;; `executable-find'. > (format "%s %s" > ;; FIXME: Why executable-find? > (shell-quote-argument > (executable-find python-shell-interpreter)) > python-shell-interpreter-args))) > --[python.el]----------------------------------------------------------- > > Removing the use of shell-quote-argument seems to work around this > problem. I don't see why quoting here could do any harm. Could you elaborate on why you think it's wrong? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 10:34:56 2015 Received: (at submit) by debbugs.gnu.org; 4 Apr 2015 14:34:56 +0000 Received: from localhost ([127.0.0.1]:44827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YePA0-0005lc-1I for submit@debbugs.gnu.org; Sat, 04 Apr 2015 10:34:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41801) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeP9x-0005lI-Go for submit@debbugs.gnu.org; Sat, 04 Apr 2015 10:34:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeP9r-0004ir-FQ for submit@debbugs.gnu.org; Sat, 04 Apr 2015 10:34:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeP9r-0004in-CL for submit@debbugs.gnu.org; Sat, 04 Apr 2015 10:34:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeP9q-0005tl-BH for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 10:34:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeP9n-0004iV-1u for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 10:34:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:49018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeP9m-0004iH-S7 for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 10:34:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YeP9k-00071z-Bv for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 16:34:40 +0200 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Apr 2015 16:34:40 +0200 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Apr 2015 16:34:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly Date: Sat, 04 Apr 2015 15:34:26 +0100 Lines: 57 Message-ID: <86a8yoq7wt.fsf@gmail.com> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <867ftwyedc.fsf@gmail.com> <831tk0p4ey.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:Z7D1WcfoxjTTx0UHHvgED8QoQpI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Sat 04 Apr 2015, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Tue, 31 Mar 2015 23:46:23 +0100 >> >> On Tue 31 Mar 2015, 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. >> >> I have seen something similar - I think it's caused by incorrect >> quoting: >> >> --[python.el]----------------------------------------------------------- >> (defun python-shell-calculate-command () >> "Calculate the string used to execute the inferior Python process." >> (let ((exec-path (python-shell-calculate-exec-path))) >> ;; `exec-path' gets tweaked so that virtualenv's specific >> ;; `python-shell-interpreter' absolute path can be found by >> ;; `executable-find'. >> (format "%s %s" >> ;; FIXME: Why executable-find? >> (shell-quote-argument >> (executable-find python-shell-interpreter)) >> python-shell-interpreter-args))) >> --[python.el]----------------------------------------------------------- >> >> Removing the use of shell-quote-argument seems to work around this >> problem. > > I don't see why quoting here could do any harm. Could you elaborate > on why you think it's wrong? Because removing the shell-quote-argument call fixed it for me: (when (eq system-type 'windows-nt) (setq python-shell-exec-path '("C:/Python27")) (add-function :override (symbol-function 'python-shell-calculate-command) (lambda () (let ((exec-path (python-shell-calculate-exec-path))) (format "%s %s" (executable-find python-shell-interpreter) python-shell-interpreter-args))))) From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 11:07:21 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 15:07:21 +0000 Received: from localhost ([127.0.0.1]:44839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YePfN-0006XH-23 for submit@debbugs.gnu.org; Sat, 04 Apr 2015 11:07:21 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:54345) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YePfK-0006Wy-45 for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 11:07:19 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NMA00B00F8M2500@mtaout26.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 18:08:22 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA001V7FDYLH70@mtaout26.012.net.il>; Sat, 04 Apr 2015 18:08:22 +0300 (IDT) Date: Sat, 04 Apr 2015 18:07:11 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <86a8yoq7wt.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: Andy Moreton Message-id: <83y4m8nd9c.fsf@gnu.org> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <867ftwyedc.fsf@gmail.com> <831tk0p4ey.fsf@gnu.org> <86a8yoq7wt.fsf@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andy Moreton > Date: Sat, 04 Apr 2015 15:34:26 +0100 > > >> Removing the use of shell-quote-argument seems to work around this > >> problem. > > > > I don't see why quoting here could do any harm. Could you elaborate > > on why you think it's wrong? > > Because removing the shell-quote-argument call fixed it for me: But that might mean some other bug elsewhere, which is simply concealed by removing the quoting. The quoting is probably necessary if the Python install directory's name includes whitespace. Can you tell where the quoting causes that strange prefix be prepended? I got as far as split-string-and-unquote in python-shell-make-comint, and still saw no apparent problems. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 13:23:52 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 17:23:52 +0000 Received: from localhost ([127.0.0.1]:44872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeRnT-0001q9-Nf for submit@debbugs.gnu.org; Sat, 04 Apr 2015 13:23:52 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:58560) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeRnR-0001pk-55 for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 13:23:50 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NMA00I00LAXKK00@mtaout28.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 20:22:25 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00JQQLLC4Q00@mtaout28.012.net.il>; Sat, 04 Apr 2015 20:22:25 +0300 (IDT) Date: Sat, 04 Apr 2015 20:23:42 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <55201ACF.2080001@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang Message-id: <83k2xroli9.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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) [Please don't remove the bug address from the CC list.] > Date: Sat, 04 Apr 2015 13:09:35 -0400 > From: Da Zhang > > Does the following command display? > > M-: (python-shell-parse-command) RET > > "c\\:/Python27/Scripts/ipython.exe -i --profile=dev --colors=Linux" Strange, I cannot reproduce this. Can you step with Edebug through python-shell-parse-command and see where does this "c\\" prefix gets added? If that happens in the call to shell-quote-argument, then please tell what value does this display: M-: (w32-shell-dos-semantics) RET If this says "nil", then what is the value of (w32-shell-name)? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 13:49:11 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 17:49:11 +0000 Received: from localhost ([127.0.0.1]:44876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSBz-0002q2-8X for submit@debbugs.gnu.org; Sat, 04 Apr 2015 13:49:11 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:54602) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSBw-0002pg-NU for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 13:49:09 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NMA00I00MP4PV00@mtaout26.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 20:50:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00FPWMVP7M30@mtaout26.012.net.il>; Sat, 04 Apr 2015 20:50:13 +0300 (IDT) Date: Sat, 04 Apr 2015 20:49:02 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <552022E4.7000008@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang Message-id: <83iodbokc1.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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 04 Apr 2015 13:44:04 -0400 > From: Da Zhang > > Thanks. I received a response from the author of Emacs w64, and followed his instructions (cited in blue font below) and the ipython shell from python-mode works. I'm glad it works for you, but I'd still like to know what does this display: M-: (w32-shell-dos-semantics) RET From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 14:06:15 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 18:06:15 +0000 Received: from localhost ([127.0.0.1]:44881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSSV-0003WK-3e for submit@debbugs.gnu.org; Sat, 04 Apr 2015 14:06:15 -0400 Received: from mail-qc0-f176.google.com ([209.85.216.176]:35223) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSST-0003W2-GO for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 14:06:13 -0400 Received: by qcbii10 with SMTP id ii10so84273898qcb.2 for <20237@debbugs.gnu.org>; Sat, 04 Apr 2015 11:06:08 -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=7iSmWfMABmNIoGfeNtdhGgzMR7SwDunEdUSDuuwRgig=; b=tY9pg7d72sXVK0q0kZ2N7V8R9BzFqVWBXTG6s0pWaL9lD4BS+smwmteC+BaVIbnBNF XPCJwMFhyEwZmDilUIm6hFyfclmCBi5TmClO3ZHR6mpzw+wgCVcA2PtlKxl574c86R8a 0HPj45uaTTB2Uo+b7ENgXM1z9gVz/dsIMAF6n0RnTp1Zxp3VBS6vbl/teWMQcGchdBFu oyL96EKndkvfMil4Oz3wedm5gbNOtftH94U9wDIsQAbJg/kvM0U6JWYcC14giar/PUyf sR+NIZzKTQ9mTGyi+uj5WMb84tYqX5Ci9CBZytyxlgcCejb6no62Qj9KFiOH18TJcXll zKDA== X-Received: by 10.140.149.150 with SMTP id 144mr9050625qhv.16.1428170768047; Sat, 04 Apr 2015 11:06:08 -0700 (PDT) Received: from [192.168.1.11] (pool-108-7-46-219.bstnma.fios.verizon.net. [108.7.46.219]) by mx.google.com with ESMTPSA id f44sm8262110qgd.3.2015.04.04.11.06.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Apr 2015 11:06:07 -0700 (PDT) Message-ID: <5520280A.4030201@gmail.com> Date: Sat, 04 Apr 2015 14:06:02 -0400 From: Da Zhang User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly 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> In-Reply-To: <83iodbokc1.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------040501050400030509020408" X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) This is a multi-part message in MIME format. --------------040501050400030509020408 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi Eli, Actually it does not work -- I removed elpy, and the problem still occurs. The (w32-shell-dos-semantics) returns nil. Can you please let me know how to use edebug to follow through python-shell-parse-command? Thank you. Da Zhang On 4/4/2015 1:49 PM, Eli Zaretskii wrote: >> Date: Sat, 04 Apr 2015 13:44:04 -0400 >> From: Da Zhang >> >> Thanks. I received a response from the author of Emacs w64, and followed his instructions (cited in blue font below) and the ipython shell from python-mode works. > I'm glad it works for you, but I'd still like to know what does this > display: > > M-: (w32-shell-dos-semantics) RET > --------------040501050400030509020408 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit Hi Eli,

Actually it does not work -- I removed elpy, and the problem still occurs.

The

(w32-shell-dos-semantics)

returns nil.

Can you please let me know how to use edebug to follow through python-shell-parse-command? 

Thank you.

Da Zhang
On 4/4/2015 1:49 PM, Eli Zaretskii wrote:
Date: Sat, 04 Apr 2015 13:44:04 -0400
From: Da Zhang <zhangda82@gmail.com>

Thanks. I received a response from the author of Emacs w64, and followed his instructions (cited in blue font below) and the ipython shell from python-mode works.
I'm glad it works for you, but I'd still like to know what does this
display:

  M-: (w32-shell-dos-semantics) RET


--------------040501050400030509020408-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 14:12:14 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 18:12:14 +0000 Received: from localhost ([127.0.0.1]:44885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSYH-0003kn-TF for submit@debbugs.gnu.org; Sat, 04 Apr 2015 14:12:14 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:60228) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSYE-0003kR-Tx for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 14:12:11 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NMA00300N5QPX00@mtaout27.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 21:06:56 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA0031QNNKMU20@mtaout27.012.net.il>; Sat, 04 Apr 2015 21:06:56 +0300 (IDT) Date: Sat, 04 Apr 2015 21:12:05 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <5520280A.4030201@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang Message-id: <83h9svoj9m.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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 04 Apr 2015 14:06:02 -0400 > From: Da Zhang > CC: 20237@debbugs.gnu.org > > The > (w32-shell-dos-semantics) > > returns nil. OK, so what does this display: M-: (w32-shell-name) RET > Can you please let me know how to use edebug to follow through python-shell-parse-command? This is no longer needed: if w32-shell-dos-semantics returns nil, then shell-quote-argument will quote every character not in the Posix character set with a backslash. This is what you see. The question is why w32-shell-dos-semantics returns nil. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 14:19:10 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 18:19:10 +0000 Received: from localhost ([127.0.0.1]:44889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSez-00041n-T9 for submit@debbugs.gnu.org; Sat, 04 Apr 2015 14:19:10 -0400 Received: from mail-qc0-f177.google.com ([209.85.216.177]:35709) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeSex-00041K-Fz for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 14:19:08 -0400 Received: by qcbii10 with SMTP id ii10so84379355qcb.2 for <20237@debbugs.gnu.org>; Sat, 04 Apr 2015 11:19:01 -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:content-transfer-encoding; bh=txm0dXL1hwACp2jom6to4lV0GqfEkmFdavHLrhLwYZ0=; b=Uu0JGJGbOdT0zT5QDIHT14zNXDLoUlJ9Hc32i4psT64ed4LvhLumJ7rB73eCPOsiwb RtKtv3hPazLRLlL6Y1PPP/t4KtfODLSJchh9A76GeTPHrZFfns+sgQlXvUg+Xnv2IKe8 rlLjSPGzruGi3yfJEXXX6Y58+uz7oCJ+Fc5cOoZIs+5EBPGlN/xg11FMoDjm2PmMQskh 06BDouEcXZbL+W6JDJH7zKVL18nrb51cf8PUVzpxGWCzPudC1UZTugNTSJ9RfwfguI0K 7PKN5T2eCFR6eYeDl9DnA/u/NqIyHOtaWm+4Vt0cb6+dY6htFUgdHXmtHQ9A07Qmktgv +V8w== X-Received: by 10.229.26.69 with SMTP id d5mr9254220qcc.9.1428171541820; Sat, 04 Apr 2015 11:19:01 -0700 (PDT) Received: from [192.168.1.11] (pool-108-7-46-219.bstnma.fios.verizon.net. [108.7.46.219]) by mx.google.com with ESMTPSA id g31sm8274498qge.11.2015.04.04.11.19.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Apr 2015 11:19:01 -0700 (PDT) Message-ID: <55202B10.5010207@gmail.com> Date: Sat, 04 Apr 2015 14:18:56 -0400 From: Da Zhang User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly 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> In-Reply-To: <83h9svoj9m.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Thanks for your time! M-: (w32-shell-name) RET returns "C:/cygwin64/bin/bash.exe" On 4/4/2015 2:12 PM, Eli Zaretskii wrote: >> Date: Sat, 04 Apr 2015 14:06:02 -0400 >> From: Da Zhang >> CC: 20237@debbugs.gnu.org >> >> The >> (w32-shell-dos-semantics) >> >> returns nil. > OK, so what does this display: > > M-: (w32-shell-name) RET > >> Can you please let me know how to use edebug to follow through python-shell-parse-command? > This is no longer needed: if w32-shell-dos-semantics returns nil, then > shell-quote-argument will quote every character not in the Posix > character set with a backslash. This is what you see. The question > is why w32-shell-dos-semantics returns nil. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 14:38:30 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 18:38:30 +0000 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 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 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) 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) Date: Sat, 04 Apr 2015 21:38:21 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <55202B10.5010207@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang 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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 14:44:20 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 18:44:20 +0000 Received: from localhost ([127.0.0.1]:44897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeT3L-00051U-VP for submit@debbugs.gnu.org; Sat, 04 Apr 2015 14:44:20 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:47979) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeT3I-000513-HQ for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 14:44:17 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NMA00K00ORGA600@a-mtaout23.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 21:44:10 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00KNIPDL4DA0@a-mtaout23.012.net.il>; Sat, 04 Apr 2015 21:44:10 +0300 (IDT) Date: Sat, 04 Apr 2015 21:44:10 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <83fv8foi1u.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: zhangda82@gmail.com Message-id: <83egnzohs5.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> <83fv8foi1u.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 04 Apr 2015 21:38:21 +0300 > From: Eli Zaretskii > Cc: 20237@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. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 15:06:18 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 19:06:18 +0000 Received: from localhost ([127.0.0.1]:44903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeTOc-0005tS-7O for submit@debbugs.gnu.org; Sat, 04 Apr 2015 15:06:18 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:60866) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeTOZ-0005t5-4T for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 15:06:16 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NMA00H00Q5D2Q00@mtaout27.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 22:01:00 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00F3JQ5OVA10@mtaout27.012.net.il>; Sat, 04 Apr 2015 22:01:00 +0300 (IDT) Date: Sat, 04 Apr 2015 22:06:09 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <83egnzohs5.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: zhangda82@gmail.com, =?iso-8859-1?Q?Fabi=E1n?= Ezequiel Gallina Message-id: <83d23jogri.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT 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> <83fv8foi1u.fsf@gnu.org> <83egnzohs5.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 04 Apr 2015 21:44:10 +0300 > From: Eli Zaretskii > Cc: 20237@debbugs.gnu.org > > > Date: Sat, 04 Apr 2015 21:38:21 +0300 > > From: Eli Zaretskii > > Cc: 20237@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. There's probably one more issue here, and maybe this is the root cause of the problem. This part of the backtrace you posted: make-comint-in-buffer("Python" "*Python*" "c\\:/Python27/Scripts/ipython.exe" nil "-i" "--profile=dev" "--colors=Linux") apply(make-comint-in-buffer "Python" "*Python*" "c\\:/Python27/Scripts/ipython.exe" nil ("-i" "--profile=dev" "--colors=Linux")) python-shell-make-comint("c\\:/Python27/Scripts/ipython.exe -i --profile=dev --colors=Linux" "Python" nil) run-python("c\\:/Python27/Scripts/ipython.exe -i --profile=dev --colors=Linux") seems to indicate that split-string-and-unquote, called by python-shell-make-comint, fails to remove the backslash before the colon. I don't understand why this happens. Can you see what's going on inside python-shell-make-comint? Fabián, can you help us out here? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 15:07:24 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 19:07:24 +0000 Received: from localhost ([127.0.0.1]:44908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeTPe-0005wT-SP for submit@debbugs.gnu.org; Sat, 04 Apr 2015 15:07:23 -0400 Received: from mail-qg0-f51.google.com ([209.85.192.51]:33962) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeTPc-0005w5-C2 for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 15:07:20 -0400 Received: by qgfi89 with SMTP id i89so189470qgf.1 for <20237@debbugs.gnu.org>; Sat, 04 Apr 2015 12:07:15 -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=Q1pM/zZ0e093KsdZ7gdwiMxdOcVL3o6JvNG69B8DRbY=; b=lU9nb7JxxSSX0uCzkSd6JtnD8AxYv1ZYTBBHgvI2stIUtrKzNgW+6/AUYmLuejawHg jAPzY2SyfVmRI/3XfZlxBN0CWTcRbwtnlqxC/ViBYdWfXqDzr63U9b6fTvoPQ5oVXr+1 jEPNrnAKok4N6at7fYxQbquloopSOJXdIB1BJ5iq0TYQiMvAHeWZw5C6oK4iZUDzOq84 evNsTf4sgq1WBHeMBwESZktTAyvNevhmOUhjoPbEzzIwPOGP2TXIOl8BoTF6ef20YEZL CkNoCAjOW48GmutzzqyS9BeRCHH5sRMTayov22JB7fgqf7eRPsoUsmVmms0y9ejPT8Qp XsCg== X-Received: by 10.140.102.180 with SMTP id w49mr2861696qge.82.1428174435063; Sat, 04 Apr 2015 12:07:15 -0700 (PDT) Received: from [192.168.1.11] (pool-108-7-46-219.bstnma.fios.verizon.net. [108.7.46.219]) by mx.google.com with ESMTPSA id j94sm8326827qgd.47.2015.04.04.12.07.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Apr 2015 12:07:14 -0700 (PDT) Message-ID: <5520365D.6070102@gmail.com> Date: Sat, 04 Apr 2015 15:07:09 -0400 From: Da Zhang User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly 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> <83fv8foi1u.fsf@gnu.org> <83egnzohs5.fsf@gnu.org> In-Reply-To: <83egnzohs5.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------060900020809080700080809" X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) This is a multi-part message in MIME format. --------------060900020809080700080809 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 >> Cc: 20237@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. --------------060900020809080700080809 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit 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@gnu.org>
Cc: 20237@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.

--------------060900020809080700080809-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 16:16:00 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 20:16:00 +0000 Received: from localhost ([127.0.0.1]:44921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeUU3-0000IM-DD for submit@debbugs.gnu.org; Sat, 04 Apr 2015 16:15:59 -0400 Received: from mail-qc0-f179.google.com ([209.85.216.179]:35306) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeUU1-0000Hx-BA for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 16:15:58 -0400 Received: by qcbii10 with SMTP id ii10so644693qcb.2 for <20237@debbugs.gnu.org>; Sat, 04 Apr 2015 13:15:51 -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=GjUE+piGNV7zG1KpjRK+tPTtxu+1+64VfqaqimNsm1A=; b=gJrNHrl72RajGZ8Xsr0jAH6ZCLMPeeiRBL25vwcOtotUAiulP4acRRRUtZTSjI+Rq1 avUQZcxKVj5TmPhgy8eq81/IKWAOU1Nx6e3IwMrWMXqTjKe/Pxf7Q9O/kJynsoUfx3vk JiT/CeFYXPiv4FlNlQlpKxbqTpF+1rOc3ZAch68bPGsVC4eHq2aRCs58ck6pa5P7CDkq zMKPMiXy0dGzJhgbFnz9jlDr59sr7YWeNS6KD0VrWuUZJL0Wz/lJ28m305ldF9QxqpZy s5+neOyrUy8/fz4OkioUnjStD3IOfy4zy+u7BEqV4SnOmueZ+kxSUxTPcgS807LJ6+nO bUMw== X-Received: by 10.140.28.203 with SMTP id 69mr9306942qgz.5.1428178551722; Sat, 04 Apr 2015 13:15:51 -0700 (PDT) Received: from [192.168.1.11] (pool-108-7-46-219.bstnma.fios.verizon.net. [108.7.46.219]) by mx.google.com with ESMTPSA id f77sm92720qka.9.2015.04.04.13.15.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Apr 2015 13:15:51 -0700 (PDT) Message-ID: <55204672.80002@gmail.com> Date: Sat, 04 Apr 2015 16:15:46 -0400 From: Da Zhang User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Eli Zaretskii , =?windows-1252?Q?Fabi=E1n_Ezequiel_?= =?windows-1252?Q?Gallina?= Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly 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> <83fv8foi1u.fsf@gnu.org> <83egnzohs5.fsf@gnu.org> <83d23jogri.fsf@gnu.org> In-Reply-To: <83d23jogri.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------020407070503070901040600" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) This is a multi-part message in MIME format. --------------020407070503070901040600 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hi Eli, I set debug tag using C-u C-M-x on the definition of python-shell-make-comint but when I bring up the python shell using elpy-shell-send-region-or-buffer or elpy-shell-switch-to-shell the python-shell-make-comint was not invoked. Any thoughts? BTW, for using cygwin's environment under Windows Emacs, is cygwin-mount the only solution? I enabled (require 'cygwin-mount) (cygwin-mount-activate) in my .emacs, and the previous set up of using cygwin64/bin/bash as shell works. Thanks. Da On 4/4/2015 3:06 PM, Eli Zaretskii wrote: >> Date: Sat, 04 Apr 2015 21:44:10 +0300 >> From: Eli Zaretskii >> Cc: 20237@debbugs.gnu.org >> >>> Date: Sat, 04 Apr 2015 21:38:21 +0300 >>> From: Eli Zaretskii >>> Cc: 20237@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. > There's probably one more issue here, and maybe this is the root cause > of the problem. This part of the backtrace you posted: > > make-comint-in-buffer("Python" "*Python*" "c\\:/Python27/Scripts/ipython.exe" nil "-i" "--profile=dev" "--colors=Linux") > apply(make-comint-in-buffer "Python" "*Python*" "c\\:/Python27/Scripts/ipython.exe" nil ("-i" "--profile=dev" "--colors=Linux")) > python-shell-make-comint("c\\:/Python27/Scripts/ipython.exe -i --profile=dev --colors=Linux" "Python" nil) > run-python("c\\:/Python27/Scripts/ipython.exe -i --profile=dev --colors=Linux") > > seems to indicate that split-string-and-unquote, called by > python-shell-make-comint, fails to remove the backslash before the > colon. I don't understand why this happens. Can you see what's going > on inside python-shell-make-comint? > > Fabián, can you help us out here? --------------020407070503070901040600 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Hi Eli,

I set debug tag using C-u C-M-x on the definition of

python-shell-make-comint

but when I bring up the python shell using 
elpy-shell-send-region-or-buffer
or 
elpy-shell-switch-to-shell

the python-shell-make-comint was not invoked. 
Any thoughts?

BTW, for using cygwin's environment under Windows Emacs, is cygwin-mount the only solution?
I enabled 
(require 'cygwin-mount)
(cygwin-mount-activate)
in my .emacs, and the previous set up of using cygwin64/bin/bash as shell works.

Thanks.

Da 


On 4/4/2015 3:06 PM, Eli Zaretskii wrote:
Date: Sat, 04 Apr 2015 21:44:10 +0300
From: Eli Zaretskii <eliz@gnu.org>
Cc: 20237@debbugs.gnu.org

Date: Sat, 04 Apr 2015 21:38:21 +0300
From: Eli Zaretskii <eliz@gnu.org>
Cc: 20237@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.
There's probably one more issue here, and maybe this is the root cause
of the problem.  This part of the backtrace you posted:

  make-comint-in-buffer("Python" "*Python*" "c\\:/Python27/Scripts/ipython.exe" nil "-i" "--profile=dev" "--colors=Linux")
  apply(make-comint-in-buffer "Python" "*Python*" "c\\:/Python27/Scripts/ipython.exe" nil ("-i" "--profile=dev" "--colors=Linux"))
  python-shell-make-comint("c\\:/Python27/Scripts/ipython.exe -i --profile=dev --colors=Linux" "Python" nil)
  run-python("c\\:/Python27/Scripts/ipython.exe -i --profile=dev --colors=Linux")

seems to indicate that split-string-and-unquote, called by
python-shell-make-comint, fails to remove the backslash before the
colon.  I don't understand why this happens.  Can you see what's going
on inside python-shell-make-comint?

Fabián, can you help us out here?

--------------020407070503070901040600-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 17:12:30 2015 Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 21:12:30 +0000 Received: from localhost ([127.0.0.1]:44942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeVMj-0002Yn-Vv for submit@debbugs.gnu.org; Sat, 04 Apr 2015 17:12:30 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:51661) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeVMh-0002YO-CA for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 17:12:28 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NMA00K00W1IMS00@a-mtaout23.012.net.il> for 20237@debbugs.gnu.org; Sun, 05 Apr 2015 00:12:20 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00K8MW8KIR60@a-mtaout23.012.net.il>; Sun, 05 Apr 2015 00:12:20 +0300 (IDT) Date: Sun, 05 Apr 2015 00:12:21 +0300 From: Eli Zaretskii Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly In-reply-to: <55204672.80002@gmail.com> X-012-Sender: halo1@inter.net.il To: Da Zhang Message-id: <83bnj3oax6.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> <83fv8foi1u.fsf@gnu.org> <83egnzohs5.fsf@gnu.org> <83d23jogri.fsf@gnu.org> <55204672.80002@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20237 Cc: fgallina@gnu.org, 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 04 Apr 2015 16:15:46 -0400 > From: Da Zhang > CC: 20237@debbugs.gnu.org > > I set debug tag using C-u C-M-x on the definition of > python-shell-make-comint > > but when I bring up the python shell using > elpy-shell-send-region-or-buffer > or > elpy-shell-switch-to-shell > > the python-shell-make-comint was not invoked. > Any thoughts? It should be called by run-python, see your backtrace you posted earlier. > BTW, for using cygwin's environment under Windows Emacs, is cygwin-mount the only solution? I'm not aware of any other. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 05 03:13:00 2015 Received: (at control) by debbugs.gnu.org; 5 Sep 2015 07:13:00 +0000 Received: from localhost ([127.0.0.1]:49333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZY7em-0002E1-9C for submit@debbugs.gnu.org; Sat, 05 Sep 2015 03:13:00 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:50357) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZY7ej-0002Ds-Hw for control@debbugs.gnu.org; Sat, 05 Sep 2015 03:12:58 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NU600N00ZOBZT00@mtaout25.012.net.il> for control@debbugs.gnu.org; Sat, 05 Sep 2015 10:09:36 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NU600LRCZVZSF20@mtaout25.012.net.il> for control@debbugs.gnu.org; Sat, 05 Sep 2015 10:09:36 +0300 (IDT) Date: Sat, 05 Sep 2015 10:13:02 +0300 From: Eli Zaretskii Subject: Re: bug#21421: 24.5; python mode interpreter path problem on windows. In-reply-to: X-012-Sender: halo1@inter.net.il To: control@debbugs.gnu.org Message-id: <83d1xx8hkx.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) merge 21421 20237 thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 01 22:54:20 2016 Received: (at 20237) by debbugs.gnu.org; 2 Jun 2016 02:54:20 +0000 Received: from localhost ([127.0.0.1]:50354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8Im4-0000kb-34 for submit@debbugs.gnu.org; Wed, 01 Jun 2016 22:54:20 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:33099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8Im2-0000kI-Kw for 20237@debbugs.gnu.org; Wed, 01 Jun 2016 22:54:18 -0400 Received: by mail-oi0-f42.google.com with SMTP id k23so57818621oih.0 for <20237@debbugs.gnu.org>; Wed, 01 Jun 2016 19:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to; bh=azqUXn51vpJM0xIScaIEXs9VXxhY6LCoEO16nGPKZOI=; b=zWdCRp+L0SIn3N1FveGp8zxOhuu1oX7nFpkZ3Y0kMlUNKXuPEmT6vagTggnoXpliWP TuwUul11L6tAhhgzuZp+0ud4Wwib0fxkw0E3CxCu4TLkgIcBZ0rzQS8b11lYpiGCDLed LwFgCgEz64l+rHtUielTjcermp69DUdrlDcQH4wnhyK99yRc5f9rVaTAGyo//6Z3zYut DVPzeLemzm/74xleI+6ikruSy27FWP7Ey4gwUTm16ek8ycY2oJJLHp6g6CEQfTuCxLtj sdlDH4zUS1wBksZ3/QvLFRr+YgEhZN+A0iV61KHrtk/YE/cDbWTfX8hOWfihKZLEzQvt fGXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to; bh=azqUXn51vpJM0xIScaIEXs9VXxhY6LCoEO16nGPKZOI=; b=iiRPEuGwT6Osa6sBgYBg9J0nLDiJIdidsci5P4ORvGiMcQs1hZh4wCEnx6lQCJBy82 1KHvb0iSbLEMIOwurOlpEu5xXZWXm1CGTRtkKhEPqWMwzyjcze8kLxlg9S80gcScZRnE vAHwhcrkUGMQWEuhudjN8CAk0UBiNhsXSEJ5E/9pMXp1vnoNZ4CIuDEMC5LQKerydshL AHvfNwu3xEpZs4W62DruKhIqEE9w+/DGILBJ4UrVcB0K6eXaULbw4AFrcj1PdK4LZYOJ 1hDj2bJS1tJGblngnQUMjYA/EhOqvipFO/uLt6gxMEeNuY2EKKIzJF5Blw1M4EzOAAp4 CqIA== X-Gm-Message-State: ALyK8tK3H1MOQjK6fBf+fFs5nLOnLxW10ngT8p/D92XBQgl9UrBM8tFom5/2P7KJCiqUlWTLfG0YHNYfZf5J2w== MIME-Version: 1.0 X-Received: by 10.202.168.143 with SMTP id r137mr26208130oie.40.1464836053050; Wed, 01 Jun 2016 19:54:13 -0700 (PDT) Received: by 10.157.34.169 with HTTP; Wed, 1 Jun 2016 19:54:13 -0700 (PDT) Date: Wed, 1 Jun 2016 22:54:13 -0400 X-Google-Sender-Auth: XJV9FOi6-1GgZkS5n3FH08J3xCU Message-ID: Subject: bug#20237: Emacs built on Windows cannot figure out path correctly From: Noam Postavsky To: 20237@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 20237 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) tag 20237 + notabug quit If I understand correctly, there was no Emacs bug here, right? From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 04 05:15:12 2016 Received: (at 20237) by debbugs.gnu.org; 4 Jun 2016 09:15:12 +0000 Received: from localhost ([127.0.0.1]:53726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b97fk-000547-Lo for submit@debbugs.gnu.org; Sat, 04 Jun 2016 05:15:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b97fj-00053v-29 for 20237@debbugs.gnu.org; Sat, 04 Jun 2016 05:15:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b97fa-0000Cg-Iu for 20237@debbugs.gnu.org; Sat, 04 Jun 2016 05:15:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b97fa-0000Cc-Fv; Sat, 04 Jun 2016 05:15:02 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2365 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b97fY-0001bi-Na; Sat, 04 Jun 2016 05:15:01 -0400 Date: Sat, 04 Jun 2016 12:15:29 +0300 Message-Id: <838tylwc0e.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: (message from Noam Postavsky on Wed, 1 Jun 2016 22:54:13 -0400) Subject: Re: bug#20237: Emacs built on Windows cannot figure out path correctly References: <551ADED4.4010903@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 20237 Cc: 20237@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Wed, 1 Jun 2016 22:54:13 -0400 > From: Noam Postavsky > > If I understand correctly, there was no Emacs bug here, right? Right. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 04 23:20:44 2016 Received: (at control) by debbugs.gnu.org; 5 Jun 2016 03:20:44 +0000 Received: from localhost ([127.0.0.1]:54831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9OcG-0001tO-LU for submit@debbugs.gnu.org; Sat, 04 Jun 2016 23:20:44 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:35682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9OcE-0001t6-Kl for control@debbugs.gnu.org; Sat, 04 Jun 2016 23:20:42 -0400 Received: by mail-oi0-f48.google.com with SMTP id w184so181435615oiw.2 for ; Sat, 04 Jun 2016 20:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=fn1RTKzCc6lCPCpWhr++0EjoxGYOS4Z+ywYDDWGzzpc=; b=bqm/OYOsZoR/DWitrIMOKoJE21DtgAo35bpFt0SU+jMO50ObL7otFHper3iMhEs1lS 64MU7NYaI2Z9HnRnEWnpgouX9fmIduROw7BO4BR2y0NZ5Xfvl+w9lVzFZ1A/HoxcpMsD 6eqdffwxVXeNx6vmaW/ufq0YZNmGttf0vfkqM0QYyUdQHDXW9DYDJSzjdyaEbQ/AP7cz z5rG3GTBrcwCQU5BlOLwX6zHMT7ckCBgMk49vCwD7A1+SuoFdk0Cqzj/vSwzTLE70LNO mvWT1fhFD5HUDj+xbpCWhJK0oINN5wsMbUNjbCrz9EROQ3nkCKqf3P6kDsnGvOo1W8EB cuqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=fn1RTKzCc6lCPCpWhr++0EjoxGYOS4Z+ywYDDWGzzpc=; b=jbMUyujrrcbX1qSUXIbvI4uoWpO1qaEX/Yzdr5llv92VmOUptJYSPitbIaffInFjv3 nf1if9RltfbxcelG+oL6220e9iqmIvUCzdx2U296sn77foKM7IO6wpLB0LwJaFaOcZjK 6T2CHJGKftK5aZgO6kOShi3LdMGfeMpm/XWCZKSfhX5S0vh5g9bT79Ed37VeN1kPIUP+ wtvs9B1e48OqVcatHn0GynzreUWJiixEVLt5K0adjLDy7ChMtsXB36BuqxgiZfVn0PNR 987zydflPkWJPDXEfzPdjmFcYLDzWgn3Pm3vm/wsCla/uzV61WNyEJL/kz93H52TR9xz IBuQ== X-Gm-Message-State: ALyK8tJ+kB/YVgtB/8gHT4l9sBPO4MeiWGHDVarHn28+Hq1zT/oGXlG/K8WwcOUA5cP/R1su9yyLNnd2e5rppg== X-Received: by 10.202.168.131 with SMTP id r125mr5576130oie.40.1465096837331; Sat, 04 Jun 2016 20:20:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.5.168 with HTTP; Sat, 4 Jun 2016 20:20:36 -0700 (PDT) From: Noam Postavsky Date: Sat, 4 Jun 2016 23:20:36 -0400 X-Google-Sender-Auth: 7CzqBV1RCnvNsncaq37nuLbAh2U Message-ID: Subject: bug#20237: Emacs built on Windows cannot figure out path correctly To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) close 20237 From unknown Sat Jun 21 12:13:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 03 Jul 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator