[IPython-dev] Generic design for an IPython servers that talks to editors (TextMate, vi, emacs)

Barry Wark barrywark@gmail....
Wed Dec 10 13:15:02 CST 2008


On Tue, Dec 9, 2008 at 10:13 PM, Ville M. Vainio <vivainio@gmail.com> wrote:
> On Wed, Dec 10, 2008 at 3:29 AM, Brian Granger <ellisonbg.net@gmail.com> wrote:
>
>>> Also, as something of an aside, will it be possible to add executed
>>> lines/files to IPython's history?
>>
>> Can you ask this as a separate question on IPython-dev to Ville sees this?
>
> I can see this here. Unfortunately, I'm swamped.
>
>>> I've got a feeling this would involve modifying ipapi.runlines but
>>> I've no idea where to start.
>
> I suggest we create a whole new ipapi commands:
>
> ipapi.translate_block (pushes every line of block through prefilters
> and returns the new block)
>
> ipapi.runblock (pushes the whole block as single history entry)

+1

>
> --
> Ville M. Vainio
> http://tinyurl.com/vainio
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev
>


More information about the IPython-dev mailing list