emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: Eduardo Ochs <eduardoochs@gmail.com>
Cc: Alan Schmitt <alan.schmitt@polytechnique.org>,
	Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Using Org and eev together - problem with source blocks
Date: Sun, 10 Nov 2019 11:39:30 +0100	[thread overview]
Message-ID: <87zhh4ypzx.fsf@gmail.com> (raw)
In-Reply-To: <CADs++6iQVzC3Uz-_MeEXW3-AfPE5VDh6Tj8n9+Q5qeU+z-TpNw@mail.gmail.com>


On 2019-11-10 at 02:54 +01, Eduardo Ochs <eduardoochs@gmail.com> wrote...
> #+BEGIN_SRC python
> def square (x):
>     return x*x
>
> print(square(5))
> #+END_SRC
>
> [...] when I run the Python block with C-c C-c I always get a results
> block like this (without the indentation):
>
>   #+RESULTS:
>   : None
>
> What am I doing wrong? I expected an output of "25"... =(

Adding ":output results" makes this work for me, but I'm not using emacs24.

  -k.

  reply	other threads:[~2019-11-10 10:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-10  1:54 Using Org and eev together - problem with source blocks Eduardo Ochs
2019-11-10 10:39 ` Ken Mankoff [this message]
2019-11-10 14:36   ` Eduardo Ochs
2019-11-10 16:13     ` Ken Mankoff
2019-11-11 14:30       ` Eduardo Ochs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zhh4ypzx.fsf@gmail.com \
    --to=mankoff@gmail.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=eduardoochs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).