[IPython-User] qtconsole questions about run after %edit magic command, and tab setting
Thu Oct 20 11:09:05 CDT 2011
Thanks a lot for the reply! I will take a look at those and see if there
is anything I can do.
On Tue, 18 Oct 2011 22:46:52 -0500, Fernando Perez <firstname.lastname@example.org>
> Hi Joon,
> sorry for the slow reply, just keeping up with the storm of pull
> requests has the core team more or less maxed out, and we can't quite
> keep up with the user list.
> On Sat, Sep 17, 2011 at 10:20 PM, Joon Ro <email@example.com> wrote:
>> 1. Is there easy way to run the last script edited with %edit magic
>> I can do %run /tmp/ipython_edit_9YlocI.py but I have copy & paste the
>> path, so it would be great if there is any easier way.
> No, but it's a reasonable request... The information is lying around
> in pieces, it's just a matter of hooking it together: %edit knows its
> prior history, so %run just needs to query it.
> If you take a stab at this we'd be glad to review a pull request,
> otherwise feel free to open an issue about it; perhaps someone else
> will jump on it.
>> 2. It seems %edit -p is not working. It just opens up the editor with
>> another tmp file. Is this a bug or is there something wrong with my
>> (I'm using gvim as the editor) It seems it works in the terminal
> Unfortunately %edit works rather sub-optimally with the qtconsole.
> Feel free to file an issue about this one, it's probably a bug on our
>> 3. Is there any way to set the indent behavior? Currently when I press
>> key ipython inserts \t. I want it to insert 4 spaces instead, and I was
>> wondering if there is any setting where I can do this.
> Opened as https://github.com/ipython/ipython/issues/900. I'd really
> like to see this one fixed before 0.12, it's annoying to have to
> manually insert spaces when for some reason the autoindent fails.
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the IPython-User