Am 03.12.2013 07:08, schrieb Arun Persaud:
Hi

being able to use python as a source block is great, but I often stumble
over the fact that when using sessions you have to treat empty lines in
a special way (i.e. as the end of an indentation block).

I was wondering if it would be easy to create an ipython mode, something
like

#+BEGIN_SRC ipython ...

where the content for a session is copied over to an ipython buffer
using the ipython magic %cpaste. This way empty lines should be treated
correctly.


Using the magic command, as shown in Rasmus' answer, should work.
If not, as for python-mode.el, please file a bug-report at

https://bugs.launchpad.net/python-mode

Reply via email to