From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Matthew Alhonte <mattalhonte@gmail.com>
Cc: 21656@debbugs.gnu.org
Subject: bug#21656: 25.0.50; Slashes, Windows, and IPython
Date: Sun, 03 Dec 2017 10:54:28 -0500 [thread overview]
Message-ID: <87mv2ziz7v.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAOBpnhHFnYKA9XiK5zU0ki2BjeQb5Agxu=ssp8WW3qtKaWrJng@mail.gmail.com> (Matthew Alhonte's message of "Fri, 9 Oct 2015 14:54:32 -0400")
close 21656 26.1
quit
Matthew Alhonte <mattalhonte@gmail.com> writes:
> Hello,
>
> Python.el has this text:
>
> " ;; Running IPython on Windows needs more tweaking. The way you
> should
> ;; set `python-shell-interpreter' and `python-shell-interpreter-args'
> ;; is as follows (of course you need to modify the paths according to
> ;; your system):
>
> ;; (setq python-shell-interpreter "C:\\Python27\\python.exe"
> ;; python-shell-interpreter-args
> ;; "-i C:\\Python27\\Scripts\\ipython-script.py")
> "
>
> I uncommented the code, but got an error saying " error: Non-hex
> digit used for Unicode escape."
Presumably you forgot to double the backslashes like in the example,
e.g., something like
(defcustom python-shell-interpreter
"C:\Users\\Matt\\Anaconda\\python.exe"...
^^
> (defcustom python-shell-interpreter "C:/Users/Matt/Anaconda/
> python.exe"
> "Default Python interpreter for shell."
> :type 'string
> :group 'python)
>
> And it worked! Maybe change the warning in python.el?
I changed the text in emacs-26 to forward slashes to reduce the chances
of confusion.
[1: afb04f7f3c]: 2017-12-03 10:01:12 -0500
Use forward slashes for python w32 config example (Bug#21656)
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=afb04f7f3cb75c7c744d8fa8cd1cd70ad1755e6f
prev parent reply other threads:[~2017-12-03 15:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-09 18:54 bug#21656: 25.0.50; Slashes, Windows, and IPython Matthew Alhonte
2015-11-05 9:36 ` Juanma Barranquero
2017-12-03 15:54 ` Noam Postavsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mv2ziz7v.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=21656@debbugs.gnu.org \
--cc=mattalhonte@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.