GNU bug report logs - #20237
Emacs built on Windows cannot figure out path correctly

Previous Next

Package: emacs;

Reported by: Da Zhang <zhangda82 <at> gmail.com>

Date: Tue, 31 Mar 2015 17:53:02 UTC

Severity: normal

Tags: notabug

Merged with 21421

Found in version 24.5

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: zhangda82 <at> gmail.com, Fabián Ezequiel Gallina <fgallina <at> gnu.org>
Cc: 20237 <at> debbugs.gnu.org
Subject: bug#20237: Emacs built on Windows cannot figure out path correctly
Date: Sat, 04 Apr 2015 22:06:09 +0300
> Date: Sat, 04 Apr 2015 21:44:10 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 20237 <at> debbugs.gnu.org
> 
> > Date: Sat, 04 Apr 2015 21:38:21 +0300
> > From: Eli Zaretskii <eliz <at> gnu.org>
> > Cc: 20237 <at> debbugs.gnu.org
> > 
> > I think you need to use this instead:
> > 
> >   (setq python-shell-interpreter "/cygdrive/C/Python27/Scripts/ipython")
> > 
> > Or something like that -- I don't use Cygwin, so I might be mistaken
> > about the exact format you need to use.
> 
> Actually, if you use this format, you'd probably also need to use
> cygwin-mount as well.

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?




This bug report was last modified 8 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.