your example works for me without any changes. "return 42" works as well.
it returns None and there are no errors in the *bug_report* buffer.
I'm using:
GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22,
modified by Debian
Org mode version 9.3.6 (release_9.3.6-739-g0c1740.
On 01.07.20 18:55, Philip Blagoveschensky wrote:
#+begin_src python :session bug_report
def foobar():
for i in range(5):
pass
print "hello world"
foobar()
#+end_src
Works here like this:
#+begin_src python :results output
def foobar():
for i in range(5):
pass
`org-capture' does not pass its KEYS argument to
`org-capture-goto-target'.
(Must not be a common use-case, as git blame points to
org-capture's introduction 10 years ago!)
The attached patch does just that.
Wasn't sure if this was worthy of a NEWS entry. Will add if
needed.
Thanks,
Nichol
Consider the following org-babel block:
#+begin_src python :session bug_report
def foobar():
for i in range(5):
pass
print "hello world"
foobar()
#+end_src
When I run it, this is what I see in the *bug_report* buffer:
def foobar():
... for i in range(5):
... p
Dear org-mode users,
I would like to report a bug in filtered mode for org-mode. Take this
given file as example:
---
* Some heading 1
** Some header to remove:sometag:
** Some header to keep :othertag:
Good morning Nicolas,
On 01/07/2020 05:46, Nicolas Goaziou wrote:
There are multiple ways to draw a diagram from a table. […]
I didn't check but I think Org Plot predates Org Babel. It probably
wouldn't exist otherwise.
I'm happy it exists. it has a very low entrance threshold, just use it
Hello,
Mario Frasca writes:
> IMO, we are keeping org-plot artificially basic.
Exactly.
There are multiple ways to draw a diagram from a table. One could use
gnuplot, or asymptote, or R, or, matplotlib… From a design point of
view, there is no particular reason to favor one way or the other,