Carsten Dominik <carsten.domi...@gmail.com> writes: > On May 17, 2010, at 4:39 PM, Michael Sperber wrote: > >> >> Carsten Dominik <carsten.domi...@gmail.com> writes: >> >>> This is a really non-standard way for a mode definition which I guess >>> should be fixed in XEmacs. I have made that change anyway. Eric or >>> Dan, please note this change I made in the Babel sources. >> >> As someone else pointed out, python-mode.el is something different >> from >> python.el: >> >> https://launchpad.net/python-mode >> >> In particular, fixing the require won't be enough: org-babel-python.el >> uses `run-python' and interacts with the inferior Python, whereas >> python-mode.el defines `py-shell'. >> >> Should I try to abstract over the differences? > > Yes, this would be much appreciated. (I think, Eric or Dan?)
Hi Michael, Yes, that would be appreciated. As you say, our only dependence on python.el is this requirement for a suitable inferior python comint buffer, currently supplied by `run-python'. I'll just note that this is not a requirement for absolutely vanilla, default org-babel operation: by default org-babel runs interpreters as external shell processes; persistent emacs sessions using inferior processes are made available as an option for certain languages via the :session argument. Dan > >> >>>> 3.) >>>> >>>> When editing a src block with C-c ' in a temporary buffer in it's >>>> native mode and then switching back with C-c ' to the original org >>>> file, whenever I try to save a file with C-x C-s (not only the org >>>> file) I'll get the message >>>> >>>> This is not a sub-editing buffer, something is wrong... >> >> Could you provide a little bit more context on what you did? I'm not >> very familiar with org-src (which I assume this is about), so a >> step-by-step recipe would help me greatly. >> >> -- >> Cheers =8-} Mike >> Friede, Völkerverständigung und überhaupt blabla > > - Carsten _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode