emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Proposal for «session» documentation
@ 2014-12-21  9:54 Thierry Pellé
  2014-12-22  3:27 ` Aaron Ecay
  2014-12-22 10:50 ` Rasmus
  0 siblings, 2 replies; 6+ messages in thread
From: Thierry Pellé @ 2014-12-21  9:54 UTC (permalink / raw)
  To: emacs-orgmode, aaronecay

Hi,
  I added description for empty names and used the suggestion of Aaron.

Hope it's not too frenchy ;-)


diff --git a/doc/org.texi b/doc/org.texi
index 3612bba..72ad0d9 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -15559,8 +15559,8 @@ execution.
 @subsubsection @code{:session}
 @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.
+The @code{:session} header argument starts a (possibly named) session for an interpreted
+language where state is preserved.  All code blocks sharing the same name are exectuted by the same interpreter process.  By default, a session is not started.
 
 @itemize @bullet
 @item @code{none}
@@ -15568,9 +15568,10 @@ 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.  If the given name is empty, the session is named as the
+language used in the block.  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}.
 @end itemize
 
 @node noweb

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-17  9:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-21  9:54 [PATCH] Proposal for «session» documentation Thierry Pellé
2014-12-22  3:27 ` Aaron Ecay
     [not found]   ` <5497D44F.9040105@thierry-pelle.eu>
     [not found]     ` <CAFcZrT3mbz2Ny6Ge-axJ5UKzN_3qGYJippywGSxLgEUk=6T4Xw@mail.gmail.com>
     [not found]       ` <5497EB3A.2050906@thierry-pelle.eu>
2015-01-17  3:48         ` Aaron Ecay
2015-01-17  7:20           ` abonnements
2015-01-17  9:39             ` Achim Gratz
2014-12-22 10:50 ` Rasmus

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).