Re: [O] Babel Python sessions severely broken

2012-03-09 Thread Eric Schulte
Jacek Generowicz writes: > At Fri, 9 Mar 2012 13:31:05 -0700, > Eric Schulte wrote: > >> I look forward to upcoming patches. > > I've not dug around the implementation of babel before. Any pointers > on where to start? > Sure, The best place to look at is existing lisp/ob-*.el files both for Py

Re: [O] Babel Python sessions severely broken

2012-03-09 Thread Jacek Generowicz
At Fri, 9 Mar 2012 13:31:05 -0700, Eric Schulte wrote: > I look forward to upcoming patches. I've not dug around the implementation of babel before. Any pointers on where to start?

Re: [O] Babel Python sessions severely broken

2012-03-09 Thread Eric Schulte
Jacek Generowicz writes: > Hi, > > Picking up a few-month-old thread ... > > On Tue, 21 Jun 2011 10:26:17 -0700, Eric Schulte wrote: > >> You are suggesting that code to be run "interactively" should be written >> to an external file then loaded into the interactive session. This >> would certai

[O] Babel Python sessions severely broken

2012-03-09 Thread Jacek Generowicz
Hi, Picking up a few-month-old thread ... On Tue, 21 Jun 2011 10:26:17 -0700, Eric Schulte wrote: > You are suggesting that code to be run "interactively" should be written > to an external file then loaded into the interactive session. This > would certainly work around the syntax limitation o

Re: [O] [babel] python sessions

2011-07-04 Thread Eric Schulte
Andrea Crotti writes: > Eric Schulte writes: > >> >> From what I hear the situation should improve in Emacs24, as there is a >> ground up re-write which should contain much of the functionality of >> python-mode.el with the Emacs-amenable license of python.el. >> > > Nice to know, I use python-m

Re: [O] [babel] python sessions

2011-07-03 Thread Andrea Crotti
Eric Schulte writes: > > From what I hear the situation should improve in Emacs24, as there is a > ground up re-write which should contain much of the functionality of > python-mode.el with the Emacs-amenable license of python.el. > Nice to know, I use python-mode.el and emacs24, but I would vot

Re: [O] [babel] python sessions

2011-07-03 Thread Eric Schulte
Andrea Crotti writes: > Eric Schulte writes: >> >> This is true, in addition to being a language which is dependent upon >> whitespace characters, python has been tricky due to the many >> independent inferior python modes (python.el, python-mode.el, etc...) >> and to the fact that I personally

Re: [O] [babel] python sessions

2011-07-03 Thread Andrea Crotti
Eric Schulte writes: > > This is true, in addition to being a language which is dependent upon > whitespace characters, python has been tricky due to the many > independent inferior python modes (python.el, python-mode.el, etc...) > and to the fact that I personally and not very familiar with the

Re: [O] [babel] python sessions

2011-07-03 Thread Eric Schulte
Hi Andrea, Andrea Crotti writes: > I wanted to use sessions in python to do some nice literate programming > and splitting functions, but it doesn't work as expected. > > Here below a very simple example in python and ruby, where in ruby > everything seems to work well while in python it doesn't

[O] [babel] python sessions

2011-07-03 Thread Andrea Crotti
I wanted to use sessions in python to do some nice literate programming and splitting functions, but it doesn't work as expected. Here below a very simple example in python and ruby, where in ruby everything seems to work well while in python it doesn't... And by the way, what is that org_babel_py