emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Berry, Charles" via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Diego Zamboni <diego@zzamboni.org>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: How to wrap Org code generated by a source block?
Date: Tue, 10 Nov 2020 20:13:34 +0000	[thread overview]
Message-ID: <18CF2BF2-7EB3-44DC-A508-D8F0778C4F9B@health.ucsd.edu> (raw)
In-Reply-To: <CAGY83EcuDQfcPu_dwwMLp4Rog+oDhV4USt8vwa6E8gzz89q8hw@mail.gmail.com>

> On Nov 10, 2020, at 10:10 AM, Diego Zamboni <diego@zzamboni.org> wrote:
> I tried also with =:wrap src org=, but then upon export it's exported literally as Org src code, instead of interpreted as such. The drawer was exactly what I needed, and allows reevaluation of the block, replacing all the results correctly.

If you have loaded `ob-org.el', this is the moral equivalent to drawer:

#+header:  :wrap "src org :exports results :results replace"

But it is so awkward, I would not use it.



  reply	other threads:[~2020-11-10 20:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10 14:13 Diego Zamboni
2020-11-10 17:41 ` Berry, Charles via General discussions about Org-mode.
2020-11-10 18:10   ` Diego Zamboni
2020-11-10 20:13     ` Berry, Charles via General discussions about Org-mode. [this message]
2020-11-11  1:44     ` Ihor Radchenko

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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18CF2BF2-7EB3-44DC-A508-D8F0778C4F9B@health.ucsd.edu \
    --to=emacs-orgmode@gnu.org \
    --cc=ccberry@health.ucsd.edu \
    --cc=diego@zzamboni.org \
    --subject='Re: How to wrap Org code generated by a source block?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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