Show More
@@ -33,7 +33,9 b'' | |||||
33 | ;; |
|
33 | ;; | |
34 | ;; You can customize the arguments passed to the IPython instance at startup by |
|
34 | ;; You can customize the arguments passed to the IPython instance at startup by | |
35 | ;; setting the ``py-python-command-args`` variable. For example, to start |
|
35 | ;; setting the ``py-python-command-args`` variable. For example, to start | |
36 |
;; always in ``pylab`` mode with hardcoded light-background colors, you can |
|
36 | ;; always in ``pylab`` mode with hardcoded light-background colors, you can | |
|
37 | ;; use:: | |||
|
38 | ;; | |||
37 | ;; (setq py-python-command-args '("-pylab" "-colors" "LightBG")) |
|
39 | ;; (setq py-python-command-args '("-pylab" "-colors" "LightBG")) | |
38 | ;; |
|
40 | ;; | |
39 | ;; |
|
41 | ;; | |
@@ -43,7 +45,6 b'' | |||||
43 | ;; properly will also require changes to ipython that will likely have to wait |
|
45 | ;; properly will also require changes to ipython that will likely have to wait | |
44 | ;; for a larger rewrite scheduled some time in the future. |
|
46 | ;; for a larger rewrite scheduled some time in the future. | |
45 |
;; |
|
47 | ;; | |
46 | ;; Also note that you currently NEED THE CVS VERSION OF PYTHON.EL. |
|
|||
47 | ;; |
|
48 | ;; | |
48 | ;; Further note that I don't know whether this runs under windows or not and |
|
49 | ;; Further note that I don't know whether this runs under windows or not and | |
49 | ;; that if it doesn't I can't really help much, not being afflicted myself. |
|
50 | ;; that if it doesn't I can't really help much, not being afflicted myself. |
@@ -210,14 +210,19 b' file is::' | |||||
210 |
(require 'ipython) |
|
210 | (require 'ipython) | |
211 |
|
211 | |||
212 | This should give you full support for executing code snippets via |
|
212 | This should give you full support for executing code snippets via | |
213 | IPython, opening IPython as your Python shell via C-c !, etc. |
|
213 | IPython, opening IPython as your Python shell via ``C-c !``, etc. | |
|
214 | ||||
|
215 | You can customize the arguments passed to the IPython instance at startup by | |||
|
216 | setting the ``py-python-command-args`` variable. For example, to start always | |||
|
217 | in ``pylab`` mode with hardcoded light-background colors, you can use:: | |||
|
218 | ||||
|
219 | (setq py-python-command-args '("-pylab" "-colors" "LightBG")) | |||
214 |
|
220 | |||
215 | If you happen to get garbage instead of colored prompts as described in |
|
221 | If you happen to get garbage instead of colored prompts as described in | |
216 | the previous section, you may need to set also in your .emacs file:: |
|
222 | the previous section, you may need to set also in your .emacs file:: | |
217 |
|
223 | |||
218 |
(setq ansi-color-for-comint-mode t) |
|
224 | (setq ansi-color-for-comint-mode t) | |
219 |
|
225 | |||
220 |
|
||||
221 | Notes: |
|
226 | Notes: | |
222 |
|
227 | |||
223 | * There is one caveat you should be aware of: you must start the |
|
228 | * There is one caveat you should be aware of: you must start the |
General Comments 0
You need to be logged in to leave comments.
Login now