From mboxrd@z Thu Jan 1 00:00:00 1970 From: abonnements Subject: Re: Using sessions. Date: Mon, 01 Dec 2014 17:48:35 +0100 Message-ID: <547C9BE3.6090707@thierry-pelle.eu> References: <544DEA6E.6030409@thierry-pelle.eu> <87a937wfx5.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvU9c-0000Cz-Gu for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 11:49:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvU9T-0007N8-Hj for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 11:48:52 -0500 Received: from 1.mo2.mail-out.ovh.net ([46.105.63.121]:51407 helo=mo2.mail-out.ovh.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvU9T-0007MS-CH for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 11:48:43 -0500 Received: from mail403.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 1CD41FFAAA2 for ; Mon, 1 Dec 2014 17:48:42 +0100 (CET) In-Reply-To: <87a937wfx5.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Le 01/12/2014 16:25, Bastien a =E9crit : > abonnements writes: > >> I wonder if it is worth including this usage in the manual? > Can you specify the suggestion by sending a patch? > > Thanks! > Hi, sorry if this is the second time I send it but the first time failed=20 (for my MUA). I hope this work, 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 =20 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= . =20 -By default, a session is not started. - -A string passed to the @code{:session} header argument will give the ses= sion -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 i= s +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 =20 @node noweb @subsubsection @code{:noweb}