From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Xemacs incompatibilities Date: Mon, 17 May 2010 14:47:22 -0400 Message-ID: <87bpcext51.fsf@stats.ox.ac.uk> References: <7z632uzu5k.fsf@vzell-de.de.oracle.com> <21F52756-A6A2-4D14-B5F2-DE2B0A4714D8@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47388 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OE5Ll-0002ry-JH for emacs-orgmode@gnu.org; Mon, 17 May 2010 14:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OE5Lf-0003yr-09 for emacs-orgmode@gnu.org; Mon, 17 May 2010 14:47:37 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:38553) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OE5Le-0003yR-P9 for emacs-orgmode@gnu.org; Mon, 17 May 2010 14:47:30 -0400 In-Reply-To: <21F52756-A6A2-4D14-B5F2-DE2B0A4714D8@gmail.com> (Carsten Dominik's message of "Mon, 17 May 2010 16:46:55 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: mailing-list-org-mode Mode , Michael Sperber , "Dr. Volker Zell" Carsten Dominik writes: > On May 17, 2010, at 4:39 PM, Michael Sperber wrote: > >> >> Carsten Dominik 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 =3D8-} Mike >> Friede, V=C3=B6lkerverst=C3=A4ndigung und =C3=BCberhaupt blabla > > - Carsten