Leave failed switching from IPython to Python as comments
This commit is contained in:
parent
c54f1dc235
commit
cd4a380580
16
README.org
16
README.org
@ -1765,8 +1765,13 @@ backward compatibility. See table [[tab:org-latex-class-tag-placeholder]] and ty
|
|||||||
|
|
||||||
(with-eval-after-load 'ob-python
|
(with-eval-after-load 'ob-python
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
'(org-babel-python-command
|
;; Python hangs, but IPython does not.
|
||||||
"ipython3 --simple-prompt --HistoryAccessor.enabled=False")))
|
;; `(org-babel-python-command
|
||||||
|
;; ,(concat (or (executable-find "python3") (executable-find "python"))
|
||||||
|
;; " -E"))
|
||||||
|
`(org-babel-python-command
|
||||||
|
,(concat (or (executable-find "ipython3") (executable-find "ipython"))
|
||||||
|
" --simple-prompt --HistoryAccessor.enabled=False"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+caption[Customize =ob-python=]:
|
#+caption[Customize =ob-python=]:
|
||||||
@ -3581,7 +3586,12 @@ of [[https://github.com/jorgenschaefer/pyvenv#readme][pyvenv]]). Therefore, thi
|
|||||||
`(python-flymake-command '(,(executable-find "flake8") "-"))
|
`(python-flymake-command '(,(executable-find "flake8") "-"))
|
||||||
'(python-indent-guess-indent-offset nil)
|
'(python-indent-guess-indent-offset nil)
|
||||||
'(python-shell-completion-native-disabled-interpreters '("ipython3" "pypy"))
|
'(python-shell-completion-native-disabled-interpreters '("ipython3" "pypy"))
|
||||||
'(python-shell-interpreter "ipython3")
|
;; Python hangs, but IPython does not.
|
||||||
|
;; `(python-shell-interpreter
|
||||||
|
;; ,(or (executable-find "python3") (executable-find "python")))
|
||||||
|
;; '(python-shell-interpreter-args "-E -i")
|
||||||
|
`(python-shell-interpreter
|
||||||
|
,(or (executable-find "ipython3") (executable-find "ipython")))
|
||||||
'(python-shell-interpreter-args
|
'(python-shell-interpreter-args
|
||||||
"--simple-prompt --HistoryAccessor.enabled=False")))
|
"--simple-prompt --HistoryAccessor.enabled=False")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user