From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 09 15:50:26 2015 Received: (at submit) by debbugs.gnu.org; 9 Oct 2015 19:50:26 +0000 Received: from localhost ([127.0.0.1]:34640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkdgO-00055E-6y for submit@debbugs.gnu.org; Fri, 09 Oct 2015 15:50:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34054) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkcpi-0003ix-Td for submit@debbugs.gnu.org; Fri, 09 Oct 2015 14:56:00 -0400 Received: from lists.gnu.org ([208.118.235.17]:60225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkcpi-0000zw-81 for submit@debbugs.gnu.org; Fri, 09 Oct 2015 14:55:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkcpV-0002zl-G6 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 14:55:58 -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, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zkcof-0007z9-69 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 14:55:45 -0400 Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]:34998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkcoe-0007yS-Ls for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 14:54:52 -0400 Received: by igbkq10 with SMTP id kq10so41556949igb.0 for ; Fri, 09 Oct 2015 11:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=2+JUFxLa8EqtV/5jB0fcIfKeBZ+vOok4uR82w9Tc9Lg=; b=tLHl1k9wAg1KJkJFQ3ILxCg+x14/azoFp/DWFHmoIjtL1NFFV+8v8MYhZwpqeFpQ3M m/bfKqAy3tgy58uJzU6K42ZiKM/SYfjD+VzJJ//DePjfzock984vZxlSeSRAwfO9r9Xz bl0gah7PxYG7Q/pu4ifb0TuP/mIXbHhATw21RMsrCDsOSwI79wTF0C9SPMvOTgFkqTXV X6Okq6MkD0z5hLsk5gqYy/MNLfmvGDUbrMZu+r3cBUdCdOaKUUqro5DowmoPL3PbKQHe xciqCAmog0TkJBAvhgRgVqMbjmvD121tp6+Da3JpOBwtmTbJP0RLfmyeLH2uUrR4TFvM ZRig== X-Received: by 10.50.4.65 with SMTP id i1mr1121273igi.0.1444416892035; Fri, 09 Oct 2015 11:54:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.84.138 with HTTP; Fri, 9 Oct 2015 11:54:32 -0700 (PDT) From: Matthew Alhonte Date: Fri, 9 Oct 2015 14:54:32 -0400 Message-ID: Subject: 25.0.50; Slashes, Windows, and IPython To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a11c2a3a0c1ea400521b083ae X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::233 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 09 Oct 2015 15:50:22 -0400 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.0 (----) --001a11c2a3a0c1ea400521b083ae Content-Type: text/plain; charset=UTF-8 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." Found out from here ( https://stackoverflow.com/questions/24666816/emacs-warning-an-error-occurred-while-loading-emacs-el ) that emacs on Windows knows to turn forward slashes into backslashes. Edited it to be like this: (defcustom python-shell-interpreter "C:/Users/Matt/Anaconda/python.exe" "Default Python interpreter for shell." :type 'string :group 'python) (defcustom python-shell-interpreter-args "-i C:/Users/Matt/Anaconda/Scripts/ipython-script.py" "Default arguments for the Python interpreter." :type 'string :group 'python) And it worked! Maybe change the warning in python.el? Thanks, Matt In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-08-18 on KAEL Repository revision: 07ebe42546abbc9823c9ce3c7b2e397b551838a1 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=-O3 -fomit-frame-pointer -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Emacs-Lisp Minor modes in effect: helm-descbinds-mode: t helm-mode: t shell-dirtrack-mode: t projectile-global-mode: t projectile-mode: t recentf-mode: t highlight-parentheses-mode: t rainbow-delimiters-mode: t yas-global-mode: t yas-minor-mode: t winner-mode: t window-numbering-mode: t volatile-highlights-mode: t global-vi-tilde-fringe-mode: t vi-tilde-fringe-mode: t global-undo-tree-mode: t undo-tree-mode: t savehist-mode: t popwin-mode: t global-page-break-lines-mode: t page-break-lines-mode: t Info-breadcrumbs-in-mode-line-mode: t ido-vertical-mode: t flx-ido-mode: t global-evil-surround-mode: t evil-surround-mode: t global-evil-search-highlight-persist: t evil-search-highlight-persist: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-mode: t evil-jumper-mode: t evil-escape-mode: t global-anzu-mode: t anzu-mode: t eval-sexp-fu-flash-mode: t global-diff-hl-mode: t diff-hl-mode: t global-hl-line-mode: t xterm-mouse-mode: t global-auto-revert-mode: t evil-leader-mode: t evil-mode: t evil-local-mode: t which-key-mode: t override-global-mode: t diff-auto-refine-mode: t spacemacs-additional-leader-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Recent messages: user-error: Please specify a file name for the buffer Saving file c:/Program Files/emacs/share/emacs/25.0.50/lisp/progmodes/python.el... Wrote c:/Program Files/emacs/share/emacs/25.0.50/lisp/progmodes/python.el Compiling c:/Program Files/emacs/share/emacs/25.0.50/lisp/progmodes/python.el...done Wrote c:/Program Files/emacs/share/emacs/25.0.50/lisp/progmodes/python.elc Mark saved where search started [2 times] Mark set Mark saved where search started [2 times] interpreter-mode-alist: Alist mapping interpreter names to major modes. Invalid face reference: t [15 times] Load-path shadows: c:/Users/Matt/AppData/Roaming/.emacs.d/elpa/helm-20151006.1001/helm-multi-match hides c:/Users/Matt/AppData/Roaming/.emacs.d/elpa/helm-core-20151004.958/helm-multi-match c:/Users/Matt/AppData/Roaming/.emacs.d/elpa/seq-20150928.1218/seq hides c:/Program Files/emacs/share/emacs/25.0.50/lisp/emacs-lisp/seq Features: (shadow mail-extr emacsbug message rfc822 mml mml-sec mailabbrev gmm-utils mailheader sendmail mail-utils helm-command helm-elisp helm-eval edebug sort skeleton tramp-sh misearch multi-isearch helm-descbinds helm-mode helm-files image-dired tramp tramp-compat tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-grep helm-regexp helm-plugin helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap helm-utils helm-help helm-types helm helm-source eieio-compat helm-multi-match helm-lib dired find-func async projectile grep compile ibuf-ext ibuffer recentf tree-widget highlight-parentheses hideshow rainbow-delimiters yasnippet server winner window-numbering etags xref project volatile-highlights vi-tilde-fringe undo-tree diff smooth-scrolling smartparens-config saveplace savehist py-yapf powerline powerline-separators color powerline-themes popwin page-break-lines info+ ido-vertical-mode flx-ido flx ido exec-path-from-shell evil-surround evil-search-highlight-persist evil-numbers evil-lisp-state smartparens evil-jumper evil-indent-textobject evil-exchange evil-escape evil-args evil-anzu anzu info cider-eval-sexp-fu eval-sexp-fu rx highlight diminish diff-hl vc-dir ewoc vc vc-dispatcher company-web company web-completion-data adaptive-wrap hybrid-mode ielm pp comint ansi-color hl-line xt-mouse autorevert filenotify core-evilified-state evil-leader evil evil-integration evil-maps evil-commands evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common windmove thingatpt rect evil-digraphs evil-vars ring which-key quelpa url-parse auth-source gnus-util password-cache url-vars package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json lisp-mnt use-package bind-key s ucs-normalize vc-git diff-mode wid-edit solarized-dark-theme solarized dash core-configuration-layer cl-seq finder-inf core-dotspacemacs ht cl warnings package epg-config eieio byte-opt bytecomp byte-compile cl-extra help-mode easymenu seq cconv eieio-core cl-macs gv core-spacemacs derived edmacro kmacro cl-loaddefs cl-lib core-keybindings easy-mmode core-use-package-ext core-micro-state corelv core-toggle core-fonts-support core-spacemacs-buffer core-funcs core-themes-support advice core-auto-completion core-release-management core-emacs-backports subr-x pcase time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 795718 736194) (symbols 56 48097 17) (miscs 48 535 1402) (strings 32 96795 260046) (string-bytes 1 3028696) (vectors 16 82878) (vector-slots 8 2024527 372434) (floats 8 1011 1610) (intervals 56 5724 3812) (buffers 976 19)) --001a11c2a3a0c1ea400521b083ae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,=C2=A0

Python.el has t= his text:

" ;; Running IPython on Windows nee= ds more tweaking.=C2=A0 The way you should
;; set `python-shell-i= nterpreter' and `python-shell-interpreter-args'
;; is as = follows (of course you need to modify the paths according to
;; y= our system):

;; (setq python-shell-interpreter &qu= ot;C:\\Python27\\python.exe"
;; =C2=A0 =C2=A0 =C2=A0 python-= shell-interpreter-args
;; =C2=A0 =C2=A0 =C2=A0 "-i C:\\Pytho= n27\\Scripts\\ipython-script.py")
"

I uncommented the code, but got an error saying " =C2=A0error: N= on-hex digit used for Unicode escape."

Found = out from here ( https://stackoverflow.= com/questions/24666816/emacs-warning-an-error-occurred-while-loading-emacs-= el ) that emacs on Windows knows to turn forward slashes into backslash= es.=C2=A0 Edited it to be like this:

(defcustom py= thon-shell-interpreter "C:/Users/Matt/Anaconda/python.exe"
<= div>=C2=A0 "Default Python interpreter for shell."
=C2= =A0 :type 'string
=C2=A0 :group 'python)

(defcustom python-shell-interpreter-args "-i C:/Users/Matt/An= aconda/Scripts/ipython-script.py"
=C2=A0 "Default argum= ents for the Python interpreter."
=C2=A0 :type 'string
=C2=A0 :group 'python)

And it worked!= =C2=A0 Maybe change the warning in python.el? =C2=A0

Thanks,
Matt


In GNU Em= acs 25.0.50.1 (x86_64-w64-mingw32)
=C2=A0of 2015-08-18 on KAEL
Repository revision: 07ebe42546abbc9823c9ce3c7b2e397b551838a1
=
Windowing system distributor `Microsoft Corp.', version 6.3.9600
Configured using:
=C2=A0`configure --prefix=3D/z/emacs -= -host=3Dx86_64-w64-mingw32
=C2=A0--target=3Dx86_64-w64-mingw32 --= build=3Dx86_64-w64-mingw32 --with-wide-int
=C2=A0--with-jpeg --wi= th-xpm --with-png --with-tiff --with-rsvg --with-xml2
=C2=A0--wit= h-gnutls --with-sound=3Dyes --with-file-notification=3Dyes
=C2=A0= --without-dbus --without-imagemagick 'CFLAGS=3D-O3 -fomit-frame-pointer=
=C2=A0-g0 -pipe' 'LDFLAGS=3D-static-libgcc -static-libst= dc++ -static -s
=C2=A0-Wl,-s''

C= onfigured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL G= NUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

I= mportant settings:
=C2=A0 value of $LANG: ENU
=C2=A0 lo= cale-coding-system: cp1252

Major mode: Emacs-Lisp<= /div>

Minor modes in effect:
=C2=A0 helm-descb= inds-mode: t
=C2=A0 helm-mode: t
=C2=A0 shell-dirtrack-= mode: t
=C2=A0 projectile-global-mode: t
=C2=A0 project= ile-mode: t
=C2=A0 recentf-mode: t
=C2=A0 highlight-par= entheses-mode: t
=C2=A0 rainbow-delimiters-mode: t
=C2= =A0 yas-global-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 = winner-mode: t
=C2=A0 window-numbering-mode: t
=C2=A0 v= olatile-highlights-mode: t
=C2=A0 global-vi-tilde-fringe-mode: t<= /div>
=C2=A0 vi-tilde-fringe-mode: t
=C2=A0 global-undo-tree-= mode: t
=C2=A0 undo-tree-mode: t
=C2=A0 savehist-mode: = t
=C2=A0 popwin-mode: t
=C2=A0 global-page-break-lines-= mode: t
=C2=A0 page-break-lines-mode: t
=C2=A0 Info-bre= adcrumbs-in-mode-line-mode: t
=C2=A0 ido-vertical-mode: t
=C2=A0 flx-ido-mode: t
=C2=A0 global-evil-surround-mode: t
=C2=A0 evil-surround-mode: t
=C2=A0 global-evil-search-hig= hlight-persist: t
=C2=A0 evil-search-highlight-persist: t
=C2=A0 show-smartparens-global-mode: t
=C2=A0 show-smartparens= -mode: t
=C2=A0 smartparens-mode: t
=C2=A0 evil-jumper-= mode: t
=C2=A0 evil-escape-mode: t
=C2=A0 global-anzu-m= ode: t
=C2=A0 anzu-mode: t
=C2=A0 eval-sexp-fu-flash-mo= de: t
=C2=A0 global-diff-hl-mode: t
=C2=A0 diff-hl-mode= : t
=C2=A0 global-hl-line-mode: t
=C2=A0 xterm-mouse-mo= de: t
=C2=A0 global-auto-revert-mode: t
=C2=A0 evil-lea= der-mode: t
=C2=A0 evil-mode: t
=C2=A0 evil-local-mode:= t
=C2=A0 which-key-mode: t
=C2=A0 override-global-mode= : t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 spacemacs-ad= ditional-leader-mode: t
=C2=A0 global-eldoc-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
= =C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t=
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression= -mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-numbe= r-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 hs-minor= -mode: t

Recent messages:
user-error: Pl= ease specify a file name for the buffer
Saving file c:/Program Fi= les/emacs/share/emacs/25.0.50/lisp/progmodes/python.el...
Wrote c= :/Program Files/emacs/share/emacs/25.0.50/lisp/progmodes/python.el
Compiling c:/Program Files/emacs/share/emacs/25.0.50/lisp/progmodes/pytho= n.el...done
Wrote c:/Program Files/emacs/share/emacs/25.0.50/lisp= /progmodes/python.elc
Mark saved where search started [2 times]
Mark set
Mark saved where search started [2 times]
=
interpreter-mode-alist: Alist mapping interpreter names to major modes= .
Invalid face reference: t [15 times]

L= oad-path shadows:
c:/Users/Matt/AppData/Roaming/.emacs.d/elpa/hel= m-20151006.1001/helm-multi-match hides c:/Users/Matt/AppData/Roaming/.emacs= .d/elpa/helm-core-20151004.958/helm-multi-match
c:/Users/Matt/App= Data/Roaming/.emacs.d/elpa/seq-20150928.1218/seq hides c:/Program Files/ema= cs/share/emacs/25.0.50/lisp/emacs-lisp/seq

Feature= s:
(shadow mail-extr emacsbug message rfc822 mml mml-sec mailabbr= ev
gmm-utils mailheader sendmail mail-utils helm-command helm-eli= sp
helm-eval edebug sort skeleton tramp-sh misearch multi-isearch=
helm-descbinds helm-mode helm-files image-dired tramp tramp-comp= at
tramp-loaddefs trampver shell pcomplete format-spec dired-x di= red-aux
ffap helm-buffers helm-elscreen helm-tags helm-bookmark h= elm-adaptive
helm-info bookmark helm-locate helm-grep helm-regexp= helm-plugin
helm-external helm-net browse-url xml url url-proxy = url-privacy
url-expand url-methods url-history url-cookie url-dom= suf url-util
mailcap helm-utils helm-help helm-types helm helm-so= urce eieio-compat
helm-multi-match helm-lib dired find-func async= projectile grep compile
ibuf-ext ibuffer recentf tree-widget hig= hlight-parentheses hideshow
rainbow-delimiters yasnippet server w= inner window-numbering etags xref
project volatile-highlights vi-= tilde-fringe undo-tree diff
smooth-scrolling smartparens-config s= aveplace savehist py-yapf powerline
powerline-separators color po= werline-themes popwin page-break-lines
info+ ido-vertical-mode fl= x-ido flx ido exec-path-from-shell
evil-surround evil-search-high= light-persist evil-numbers evil-lisp-state
smartparens evil-jumpe= r evil-indent-textobject evil-exchange evil-escape
evil-args evil= -anzu anzu info cider-eval-sexp-fu eval-sexp-fu rx
highlight dimi= nish diff-hl vc-dir ewoc vc vc-dispatcher company-web
company web= -completion-data adaptive-wrap hybrid-mode ielm pp comint
ansi-co= lor hl-line xt-mouse autorevert filenotify core-evilified-state
e= vil-leader evil evil-integration evil-maps evil-commands
evil-com= mand-window evil-types evil-search evil-ex evil-macros
evil-repea= t evil-states evil-core evil-common windmove thingatpt rect
evil-= digraphs evil-vars ring which-key quelpa url-parse auth-source
gn= us-util password-cache url-vars package-build mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns
mail-prsvr json lisp-mnt use-package bind-key s ucs-normalize vc-g= it
diff-mode wid-edit solarized-dark-theme solarized dash
core-configuration-layer cl-seq finder-inf core-dotspacemacs ht cl
=
warnings package epg-config eieio byte-opt bytecomp byte-compile
=
cl-extra help-mode easymenu seq cconv eieio-core cl-macs gv
= core-spacemacs derived edmacro kmacro cl-loaddefs cl-lib
core-key= bindings easy-mmode core-use-package-ext core-micro-state corelv
= core-toggle core-fonts-support core-spacemacs-buffer core-funcs
c= ore-themes-support advice core-auto-completion core-release-management
core-emacs-backports subr-x pcase time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w= 32
ls-lisp disp-table w32-win w32-vars term/common-win tool-bar d= nd fontset
image regexp-opt fringe tabulated-list newcomment elis= p-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow tim= er select scroll-bar
mouse jit-lock font-lock syntax facemenu fon= t-core frame cl-generic cham
georgian utf-8-lang misc-lang vietna= mese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 h= ebrew greek romanian slovak czech
european ethiopic indian cyrill= ic chinese charscript case-table epa-hook
jka-cmpr-hook help simp= le abbrev minibuffer cl-preloaded nadvice
loaddefs button faces c= us-face macroexp files text-properties overlay
sha1 md5 base64 fo= rmat env code-pages mule custom widget
hashtable-print-readable b= ackquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 16 795718 73619= 4)
=C2=A0(symbols 56 48097 17)
=C2=A0(miscs 48 535 1402= )
=C2=A0(strings 32 96795 260046)
=C2=A0(string-bytes 1= 3028696)
=C2=A0(vectors 16 82878)
=C2=A0(vector-slots = 8 2024527 372434)
=C2=A0(floats 8 1011 1610)
=C2=A0(int= ervals 56 5724 3812)
=C2=A0(buffers 976 19))

=
--001a11c2a3a0c1ea400521b083ae-- From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 05 04:37:36 2015 Received: (at 21656) by debbugs.gnu.org; 5 Nov 2015 09:37:36 +0000 Received: from localhost ([127.0.0.1]:54104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZuGz9-0004ls-Uh for submit@debbugs.gnu.org; Thu, 05 Nov 2015 04:37:36 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:34905) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZuGz8-0004lk-9s for 21656@debbugs.gnu.org; Thu, 05 Nov 2015 04:37:34 -0500 Received: by lbbes7 with SMTP id es7so31157509lbb.2 for <21656@debbugs.gnu.org>; Thu, 05 Nov 2015 01:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=i3L5S9fzz1b9DKw9+QrYfaR07og7sQAkyxBmM5pnySM=; b=n50wH+h5nF/eyj5Bny2OHKz/IWXVN+KWgLowWG0LM7HE8JwUMWWb5DUYLD+xfOMzvp lTJTd26D8qb3BCUmOvrt6NSzcgEBQrPOP2o7spwTA2MlligkHAPo2FWbxH8V1fNFYTNJ DCxeVTJs513SChgk90GaRN7Uzska9GHeQxLDd/FHdS8L5ePXgi2+Kfxj807KmL/l3C76 GGAVAQJGHYzCbhaWywGFguDH3wu9QjMVl9PB/v3Pl/xD8GpM7xRb0K9ayRpyqfRji0Ge fFEJTegQ9ky3RTXEzoQb19uEbNmg2HVMh5rCepf31PvbNCZLskWhS/IEh10C6JBfivL7 w8rg== X-Received: by 10.112.234.163 with SMTP id uf3mr3339668lbc.15.1446716253253; Thu, 05 Nov 2015 01:37:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.217.132 with HTTP; Thu, 5 Nov 2015 01:36:53 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Thu, 5 Nov 2015 10:36:53 +0100 Message-ID: Subject: Re: bug#21656: 25.0.50; Slashes, Windows, and IPython To: Matthew Alhonte Content-Type: multipart/alternative; boundary=001a11c317e85db7f00523c7e0c1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21656 Cc: 21656@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 (/) --001a11c317e85db7f00523c7e0c1 Content-Type: text/plain; charset=UTF-8 On Fri, Oct 9, 2015 at 8:54 PM, Matthew Alhonte wrote: > ;; (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." How did you get the error? Evaluating that code should work (it does for me). --001a11c317e85db7f00523c7e0c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Fri, Oct 9, 2015 at 8:54 PM, Matthew Alhonte <mattalhonte@gmail.com> wrote:
=
> ;; (setq python-shell-interpreter "C:\\Python27\\python.= exe"
> ;; =C2=A0 =C2=A0 =C2=A0 python-shell-interpreter-args
= > ;; =C2=A0 =C2=A0 =C2=A0 "-i C:\\Python27\\Scripts\\ipython-script= .py")
> "
>
> I uncommented the code, but got a= n error saying " =C2=A0error: Non-hex digit used for Unicode escape.&q= uot;

How did you get the error? Evaluating that code shou= ld work (it does for me).

--001a11c317e85db7f00523c7e0c1-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 03 10:54:39 2017 Received: (at 21656) by debbugs.gnu.org; 3 Dec 2017 15:54:39 +0000 Received: from localhost ([127.0.0.1]:43562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLWbG-0005q8-QF for submit@debbugs.gnu.org; Sun, 03 Dec 2017 10:54:39 -0500 Received: from mail-it0-f43.google.com ([209.85.214.43]:42907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLWbE-0005pp-5i; Sun, 03 Dec 2017 10:54:37 -0500 Received: by mail-it0-f43.google.com with SMTP id p139so7367099itb.1; Sun, 03 Dec 2017 07:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=JzmrtEk3wXAhzq06lRDlcQeuyCLM+Y82l/FTdGT7CNs=; b=ntynWKLW4VsOai10LAFW7euZXQDpJbGz2rdIIzvbw70/7HkSqU5H8MIMgamzXx9Icv OFFd+KNZx0Q6Tt+R+LVmP1C11XhdZ6MKvk85Pmiwrgw78UdylzGW9LmQvEv65xNs0CzS TnffJSF8ggyKfjMM81j0dh7+vNAyrQ/geb0Iy37CC9pZGUJb3j7MaZ0+6Cq1OJoG8Ix2 MUe6KfcUe9nP4MzfxIQDIHFsKTucAd/gMNFpJXMafeXZ51ZlvXI7qdileqtss0p+HcFc EOsBlSd+14qRI4QDZJCMOxstLgMQVc1sJxwCBaQogablFMBTbzmgeV2ql6WeEIuk98iu oX8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=JzmrtEk3wXAhzq06lRDlcQeuyCLM+Y82l/FTdGT7CNs=; b=jU9sXUHYb4pp0ooW4iWVWxErYSccgLcOF9ZFusaUW28r+Qg+LvuPlSsgCN/jjLlZgZ Fh3e+IFkQH3ugVk6NKVyjn78MVzYsSPSeaA778MKrzXokUP1BZSGfa0gE2FoxFqB79dw +PcqlCbtxpn3omANQKxTGpX9gORFCBHRFhfsJCDlW/cU8CIaIKj60brdZJ1qh5D4eUVJ 8fEimWq7axRfWwRw1a3UHBUi64Vj5DZ1MrOAAS+BYwc8yQAUV2j+gEWHmPCabim0DsuH qCspoiQJOi7vipk97L/n+FXimBL3WN0yJC0oKHkOP/6dOou16SSH01WR8dxl/Fzmk2jF fpAA== X-Gm-Message-State: AKGB3mL6oqUNmKX7jjNFgamfi7HsmzoDHJrp7I94bM+YjJ6UA6qzQy/r ST9migYEbNYntLTacp4t8XKzIA== X-Google-Smtp-Source: AGs4zMa/pFJ4E0bZEO5yFM78EX+G4NVBWxk5Xq0emmX0S0KaL26jJFxPflmuVV47RK2DVncGendE4Q== X-Received: by 10.36.224.201 with SMTP id c192mr1272894ith.94.1512316470447; Sun, 03 Dec 2017 07:54:30 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v129sm4893847ioe.79.2017.12.03.07.54.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Dec 2017 07:54:29 -0800 (PST) From: Noam Postavsky To: Matthew Alhonte Subject: Re: bug#21656: 25.0.50; Slashes, Windows, and IPython References: Date: Sun, 03 Dec 2017 10:54:28 -0500 In-Reply-To: (Matthew Alhonte's message of "Fri, 9 Oct 2015 14:54:32 -0400") Message-ID: <87mv2ziz7v.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 21656 Cc: 21656@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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) close 21656 26.1 quit Matthew Alhonte writes: > Hello,=C2=A0 > > Python.el has this text: > > " ;; Running IPython on Windows needs more tweaking.=C2=A0 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" > ;; =C2=A0 =C2=A0 =C2=A0 python-shell-interpreter-args > ;; =C2=A0 =C2=A0 =C2=A0 "-i C:\\Python27\\Scripts\\ipython-script.py") > " > > I uncommented the code, but got an error saying " =C2=A0error: 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" > =C2=A0 "Default Python interpreter for shell." > =C2=A0 :type 'string > =C2=A0 :group 'python) > > And it worked!=C2=A0 Maybe change the warning in python.el? =C2=A0 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=3Dafb04f7f3cb75c7c= 744d8fa8cd1cd70ad1755e6f From unknown Sat Aug 09 13:22:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Jan 2018 12:24:07 +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