emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Second proposal for ":session" doc


From: Thierry Pellé
Subject: [O] [PATCH] Second proposal for ":session" doc
Date: Sun, 07 Dec 2014 11:51:33 +0100

Hi, here is a proposal for some change on the ":session" header doc.

Comments are welcome!
Thierry


diff --git a/doc/org.texi b/doc/org.texi
index c1e84d4..45e177e 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -15566,7 +15566,9 @@ execution.
 @cindex @code{:session}, src header argument
 
 The @code{:session} header argument starts a session for an interpreted
-language where state is preserved.  By default, a session is not started.
+language.  All code block of this langage is executed into the same
+interpreter process, the state of the session being preserved as long as Emacs
+runs.  By default, a session is not started.
 
 @itemize @bullet
 @item @code{none}
@@ -15574,9 +15576,9 @@ The default.  Each block is evaluated in its own 
session.  The session is
 not preserved after the evaluation.
 @item @code{other}
 Any other string passed to the @code{:session} header argument will give the
-session a name.  All blocks with the same session name share the same
-session.  Using different session name enables concurrent sessions (even for
-the same interpreted language).  E.g., @code{:session mysession}.
+session a name (possibly empty).  All blocks with the same session name share
+the same session.  Using different session name enables concurrent sessions
+(for the same interpreted language).  E.g., @code{:session mysession} or 
@code{:session}.
 @end itemize
 
 @node noweb



reply via email to

[Prev in Thread] Current Thread [Next in Thread]