From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: launch/run IPython in emacs buffer
Date: Fri, 01 Oct 2010 11:30:26 +0200 [thread overview]
Message-ID: <4CA5AA32.3070805@easy-emacs.de> (raw)
In-Reply-To: <87ocbf5rhg.fsf@pobox.com>
Am 30.09.2010 14:46, schrieb Tom Roche:
>
> I can run IPython in an emacs buffer, but would appreciate help with
> either of 2 problems:
>
> 0 opening an IPython buffer "from anywhere." I can open IPython in an
> emacs buffer with the sequence
>
Hi,
Ipython sends code to python.
From a common emacs buffer this was done by pymacs.
Didn't try it last times.
> * open buffer on a python file, e.g. C-x C-f /tmp/py.py
> * C-c !
>
> This seems to work appropriately, e.g. M-p scrolls IPython history.
> However
>
> * I'd like also to be able to open an IPython buffer from anywhere (in
> emacs), since I often use IPython as a calculator and scratchpad.
>
> * I don't know of an existing command or config that does this.
>
> * I don't know enough elisp to do this.
>
> Hence I'd appreciate a pointer to an existing command or config, or
> some elisp (or both) that will open an IPython buffer from anywhere in
> emacs.
>
> 1 fix M-p in IPython in shell-mode. When I run IPython in emacs shell
> mode (i.e. running `ipython` from a prompt after running `M-x shell`),
> IPython runs (with correct prompt, thanks Andrew Wilson). But when I
> attempt to scroll IPython history (with M-p at the IPython prompt), I
> instead get bash history. Is there a way to make shell-mode pass the
> M-p event to IPython?
interesting point.
ipython has it's own user and devel list
maybe send your request here
http://mail.scipy.org/mailman/listinfo/ipython-user
also see
http://ipython.scipy.org/moin/
resp.
http://github.com/ipython/ipython/issues
Andreas
--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/
>
> FWIW, I'm running
>
> Ubuntu 10.04.1 LTS, GNOME, 64-bit
> GNU Emacs 23.1.50.1 from ubuntu package=emacs-snapshot
> IPython 0.10 from ubuntu package
> python-mode 5.1.0 from https://launchpad.net/python-mode/
> Python 2.6.5 from ubuntu package
>
> TIA, Tom Roche<Tom_Roche@pobox.com>
>
>
prev parent reply other threads:[~2010-10-01 9:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-30 12:46 launch/run IPython in emacs buffer Tom Roche
2010-09-30 20:06 ` Richard Everson
2010-10-01 23:33 ` Tom Roche
2010-10-01 9:30 ` Andreas Röhler [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=4CA5AA32.3070805@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
/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.