From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Thierry_Pell=E9?= Subject: Doc patch : using session none Date: Mon, 01 Dec 2014 17:40:58 +0100 Message-ID: <547C9A1A.3020004@thierry-pelle.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvU2L-0005wr-D3 for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 11:41:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvU2C-0003l1-89 for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 11:41:21 -0500 Received: from 3.mo2.mail-out.ovh.net ([46.105.58.226]:34240 helo=mo2.mail-out.ovh.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvU2C-0003ki-1V for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 11:41:12 -0500 Received: from mail403.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 6B810FF98E0 for ; Mon, 1 Dec 2014 17:41:10 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I hope this works (and is correct), it's the first time I dare ... diff --git a/doc/org.texi b/doc/org.texi index d508c06..c229187 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -15563,13 +15563,18 @@ execution. @cindex @code{:session}, src header argument The @code{:session} header argument starts a session for an interpreted -language where state is preserved. +language where state is preserved. By default, a session is not started. -By default, a session is not started. - -A string passed to the @code{:session} header argument will give the session -a name. This makes it possible to run concurrent sessions for each -interpreted language. +@itemize @bullet +@item @code{none} +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}. +@end itemize @node noweb @subsubsection @code{:noweb}