Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44317
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'ignored': 0.07; 'skip:" 60': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:\\ 10': 0.09; 'python': 0.11; '"from': 0.16; '"in': 0.16; '+---': 0.16; 'footnotes': 0.16; 'outdated': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:` 30': 0.16; 'thanks,': 0.17; 'skip:p 40': 0.19; 'slightly': 0.19; 'import': 0.22; 'header :User-Agent:1': 0.23; 'library,': 0.24; 'refers': 0.24; "i've": 0.25; 'skip:" 40': 0.26; 'header:X-Complaints-To:1': 0.27; 'received:24': 0.27; 'skip:p 30': 0.29; "i'm": 0.30; 'included': 0.31; 'run': 0.32; 'actively': 0.33; 'programmers': 0.33; 'but': 0.35; 'done': 0.36; 'hi,': 0.36; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'received:org': 0.40; 'how': 0.40; 'most': 0.60; 'developed': 0.63; '24.': 0.84; 'received:shawcable.net': 0.84; 'received:wp.shawcable.net': 0.84; 'shell,': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Seb <spluque@gmail.com> |
| Subject | IPython in Emacs |
| Date | Wed, 24 Apr 2013 22:35:14 -0500 |
| Organization | Church of Emacs |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | s0106c8d719636840.wp.shawcable.net |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
| Cancel-Lock | sha1:IDd/chFH6EbV8SkKqL4soRp4mCs= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1050.1366862111.3114.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366862111 news.xs4all.nl 15925 [2001:888:2000:d::a6]:42270 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44317 |
Show key headers only | View raw
Hi,
Please excuse the slightly off-topic query. I'm learning Python, using
the IPython (0.13) shell, and wanted to run it from Emacs 24. AFAICT,
python.el is the most actively developed library, and is included in
Emacs. How do experienced Python programmers set up their python.el to
make the best of it? I've done it following the recommendations given
in the library¹:
(setq
python-shell-interpreter "ipython"
python-shell-interpreter-args ""
python-shell-prompt-regexp "In \\[[0-9]+\\]: "
python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: "
python-shell-completion-setup-code
"from IPython.core.completerlib import module_completion"
python-shell-completion-module-string-code
"';'.join(module_completion('''%s'''))\n"
python-shell-completion-string-code
"';'.join(get_ipython().Completer.all_completions('''%s'''))\n")
but this may be a little outdated as it refers to IPython 0.11.
Thanks,
Seb
+--- Footnotes ---+
¹ Ignored recommended setting for `python-shell-interpreter-args'
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
IPython in Emacs Seb <spluque@gmail.com> - 2013-04-24 22:35 -0500
Re: IPython in Emacs rusi <rustompmody@gmail.com> - 2013-04-24 21:38 -0700
Re: IPython in Emacs Seb <spluque@gmail.com> - 2013-04-25 08:01 -0500
Re: IPython in Emacs rusi <rustompmody@gmail.com> - 2013-04-25 06:54 -0700
Re: IPython in Emacs Seb <spluque@gmail.com> - 2013-04-25 17:18 -0500
Re: IPython in Emacs rusi <rustompmody@gmail.com> - 2013-04-25 21:06 -0700
csiph-web