Gary Oberbrunner writes:
> Thanks, Eric.
>
> The -i is definitely needed on Windows, I just retested without it and it
> hangs. With your latest fix, it works again.
>
> I think there's a bug in your patch though; line 211 refers to a
> nonexistent function org-babel-python-earmufs. I think you
Thanks, Eric.
The -i is definitely needed on Windows, I just retested without it and it
hangs. With your latest fix, it works again.
I think there's a bug in your patch though; line 211 refers to a
nonexistent function org-babel-python-earmufs. I think you mean
-with-earmufs?
--
Gary
Gary Oberbrunner writes:
> On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte wrote:
>
>>
>> Because of quirks of the python language, when executing outside of a
>> session, it is necessary to explicitly specify a return.
>> ...
>>
>> This is clearly stated in the Python documentation on Worg.
>> ht
Am 29.03.2013 20:59, schrieb Gary Oberbrunner:
On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte wrote:
Because of quirks of the python language, when executing outside of a
session, it is necessary to explicitly specify a return.
...
This is clearly stated in the Python documentation on Worg.
h
Am 29.03.2013 17:47, schrieb Eric Schulte:
As we've proven a couple of times now, Python session are broken with
the newest version of Emacs (since the upstream change to an entirely
new python.el implementation).
I've just pushed up a fix to ob-python.el so that sessions should now
work with t
On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte wrote:
>
> Because of quirks of the python language, when executing outside of a
> session, it is necessary to explicitly specify a return.
> ...
>
> This is clearly stated in the Python documentation on Worg.
> http://orgmode.org/worg/org-contrib/bab
Am 29.03.2013 17:47, schrieb Eric Schulte:
As we've proven a couple of times now, Python session are broken with
the newest version of Emacs (since the upstream change to an entirely
new python.el implementation).
I've just pushed up a fix to ob-python.el so that sessions should now
work with t
It works exactly as advertised for me. Many thanks!!
On Fri, Mar 29, 2013 at 2:50 PM, Eric Schulte wrote:
> >
> > But it does not appear to support named session:
> >
> > Works with a named session.
> > #+begin_src python :session foo
> > x = 9
> > x
> > #+end_src
> >
> > #+RESULTS:
> > : N
>
> But it does not appear to support named session:
>
> Works with a named session.
> #+begin_src python :session foo
> x = 9
> x
> #+end_src
>
> #+RESULTS:
> : None
>
> #+begin_src python :session foo
> x
> #+end_src
>
> #+RESULTS:
>
> Thanks,
>
> Evan
>
Thanks for reporting this, I've jus
Org-mode version 8.0-pre (release_8.0-pre-203-g993e3e @
/home/evan/Documents/org/elisp/org-mode/lisp/)
GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of
2013-03-21 on evan-Dell-System-Inspiron-N7110 [2 times]
I installed the patched version. It does hold session definition:
#+
Andreas Röhler writes:
> Am 29.03.2013 17:20, schrieb Eric Schulte:
>
>> A valid opinion, in fact I think I defended that point of view myself,
>
> Hi Eric,
>
> so, if I'm saying: let's make things considerably easier, working right from
> the spot,
> why not try that?
>
> What I need still is a
Am 29.03.2013 17:20, schrieb Eric Schulte:
A valid opinion, in fact I think I defended that point of view myself,
Hi Eric,
so, if I'm saying: let's make things considerably easier, working right from
the spot,
why not try that?
What I need still is a specification, what :session and the oth
> As we've proven a couple of times now, Python session are broken with
> the newest version of Emacs (since the upstream change to an entirely
> new python.el implementation).
I've just pushed up a fix to ob-python.el so that sessions should now
work with the latest version of Emacs. I hope this
John Hendy writes:
> On Fri, Mar 29, 2013 at 10:09 AM, Eric Schulte wrote:
>
>> >> with current
>> >>
>> >> GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05
>> >>
>> >> Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
>> >> MY_PATH/emacs-24.3/lisp/org/)
>> >>
>> >> pyt
Andreas Röhler writes:
> Am 29.03.2013 16:09, schrieb Eric Schulte:
with current
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05
Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
MY_PATH/emacs-24.3/lisp/org/)
python from org-sour
On Fri, Mar 29, 2013 at 10:09 AM, Eric Schulte wrote:
> >> with current
> >>
> >> GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05
> >>
> >> Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
> >> MY_PATH/emacs-24.3/lisp/org/)
> >>
> >> python from org-source seems comple
On Fri, Mar 29, 2013 at 10:09 AM, Eric Schulte
wrote:
>
> >> with current
> >>
> >> GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of
2013-03-05
> >>
> >> Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
> >> MY_PATH/emacs-24.3/lisp/org/)
> >>
> >> python from org-source seems comp
Am 29.03.2013 16:09, schrieb Eric Schulte:
with current
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05
Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
MY_PATH/emacs-24.3/lisp/org/)
python from org-source seems completely broken.
For example:
#+BEGIN_SRC python
>> with current
>>
>> GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05
>>
>> Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
>> MY_PATH/emacs-24.3/lisp/org/)
>>
>> python from org-source seems completely broken.
>>
>> For example:
>>
>> #+BEGIN_SRC python
>> 1+2
>> #+EN
On Fri, Mar 29, 2013 at 9:47 AM, Andreas Röhler <
andreas.roeh...@easy-emacs.de> wrote:
> Hi Gary,
>
> > Am 29.03.2013 13:11, schrieb Gary Oberbrunner:
>
> Does this assume org-babel-python-mode is set to 'python-mode? The
>> default
>> is 'python, I believe. I don't think you should unconditio
Hi Gary,
> Am 29.03.2013 13:11, schrieb Gary Oberbrunner:
Does this assume org-babel-python-mode is set to 'python-mode? The default
is 'python, I believe. I don't think you should unconditionally
call py-send-string-return-output like that.
Also, why would you avoid calling org-babel-python
[sorry, forgot to "reply all" -- Gary]
-- Forwarded message --
From: Gary Oberbrunner
Date: Thu, Mar 28, 2013 at 10:43 PM
Subject: Re: [O] run python from org, draft
To: Andreas Röhler
Does this assume org-babel-python-mode is set to 'python-mode? The default
is 'python, I bel
22 matches
Mail list logo