diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-06-21 11:05:02 -0700 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-06-21 11:05:02 -0700 |
commit | d315f253d4e815eac1610fa16d444bb1178ec4fd (patch) | |
tree | c46f82190036e130c0af5afd697669a44a204243 | |
parent | 3f3fc513b74ebc76d3d469ac4f1b839eaa211316 (diff) | |
download | org-mode-d315f253d4e815eac1610fa16d444bb1178ec4fd.tar.gz |
doc: more explicit about the mechanism through which interactive evaluation of code is performed
Thanks to Herbert Sitz for stressing the importance of this point.
* doc/org.texi (Results of evaluation): More explicit about the
mechanism through which interactive evaluation of code is performed.
-rw-r--r-- | doc/org.texi | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/doc/org.texi b/doc/org.texi index cfb5314..176475f 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -12789,11 +12789,19 @@ future work.) @subsection Session @subsubsection @code{:results value} -The code is passed to the interpreter running as an interactive Emacs -inferior process. The result returned is the result of the last evaluation -performed by the interpreter. (This is obtained in a language-specific -manner: the value of the variable @code{_} in Python and Ruby, and the value -of @code{.Last.value} in R). +The code is passed to an interpreter running as an interactive Emacs inferior +process. Only languages which provide tools for interactive evaluation of +code have session support, so some language (e.g., C and ditaa) do not +support the @code{:session} header argument, and in other languages (e.g., +Python and Haskell) which have limitations on the code which may be entered +into interactive sessions, those limitations apply to the code in code blocks +using the @code{:session} header argument as well. + +Unless the @code{:results output} option is supplied (see below) the result +returned is the result of the last evaluation performed by the +interpreter. (This is obtained in a language-specific manner: the value of +the variable @code{_} in Python and Ruby, and the value of @code{.Last.value} +in R). @subsubsection @code{:results output} The code is passed to the interpreter running as an interactive Emacs |