From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: two sets of default header arguments for one language
Date: Thu, 10 Sep 2015 15:54:05 +0200 [thread overview]
Message-ID: <m2vbbi4bya.fsf@charm-ecran.irisa.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 701 bytes --]
Hello,
I’m writing some lab exercises where I have a fairly long list of header
arguments for each source block. I know I can use language-specific
default arguments, but I need to switch between questions (short list):
#+begin_src ocaml :tangle tp1.ml
and answers
#+begin_src ocaml :exports results :results verbatim drawer :post wrap-myres(text=*this*) :tangle tp1_ans.ml
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?
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Last week athmospheric CO₂ average (Updated September 6, 2015, Mauna Loa Obs.):
377.86 ppm
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
next reply other threads:[~2015-09-10 13:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 13:54 Alan Schmitt [this message]
2015-09-10 21:00 ` two sets of default header arguments for one language Thomas S. Dye
2015-09-11 9:30 ` Alan Schmitt
2015-09-10 21:16 ` Rainer M Krug
2015-09-10 21:25 ` Nicolas Goaziou
2015-09-11 7:09 ` Rainer M Krug
2015-09-11 9:33 ` Alan Schmitt
2015-09-11 16:27 ` Nicolas Goaziou
2015-09-18 10:17 ` Rainer M Krug
2015-09-10 22:28 ` Charles C. Berry
2015-09-10 22:39 ` Charles C. Berry
2015-09-11 9:36 ` Alan Schmitt
2015-09-14 14:39 ` Alan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2vbbi4bya.fsf@charm-ecran.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.