From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: two sets of default header arguments for one language Date: Thu, 10 Sep 2015 23:16:26 +0200 Message-ID: <5043E6AE-A82F-4F2A-8486-7826BA466703@gmail.com> References: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za9Cq-0003HE-Sz for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 17:16:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Za9Cm-0007Dd-S1 for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 17:16:32 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:34826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za9Cm-0007DR-LZ for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 17:16:28 -0400 Received: by wicge5 with SMTP id ge5so40607092wic.0 for ; Thu, 10 Sep 2015 14:16:28 -0700 (PDT) In-Reply-To: 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: Alan Schmitt Cc: emacs-orgmode Envoy=C3=A9 de mon iPhone > Le 10 sept. 2015 =C3=A0 15:54, Alan Schmitt a =C3=A9crit : >=20 > Hello, >=20 > I=E2=80=99m writing some lab exercises where I have a fairly long list of h= eader > arguments for each source block. I know I can use language-specific > default arguments, but I need to switch between questions (short list): >=20 > #+begin_src ocaml :tangle tp1.ml >=20 > and answers >=20 > #+begin_src ocaml :exports results :results verbatim drawer :post wrap-myr= es(text=3D*this*) :tangle tp1_ans.ml >=20 > Is there a way to have two sets of default arguments for a given > language, or can I declare a new language just for the sake of different > arguments? >=20 Do macros work for properties ? If yes, you could degine two macro, one for e= ach set of properties.=20 Rainer=20 > Thanks, >=20 > Alan >=20 > --=20 > OpenPGP Key ID : 040D0A3B4ED2E5C7 > Last week athmospheric CO=E2=82=82 average (Updated September 6, 2015, Mau= na Loa Obs.): > 377.86 ppm