From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OGMKDyrRql/VeQAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 17:43:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4PfbCirRql9rHAAAbx9fmQ (envelope-from ) for ; Tue, 10 Nov 2020 17:43:06 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CCB199402A2 for ; Tue, 10 Nov 2020 17:43:04 +0000 (UTC) Received: from localhost ([::1]:48766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcXfa-0004wc-Ka for larch@yhetil.org; Tue, 10 Nov 2020 12:43:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcXeV-0004wP-BO for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 12:41:55 -0500 Received: from mx0a-00395d01.pphosted.com ([148.163.133.170]:50578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcXeS-0002xD-PO for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 12:41:54 -0500 Received: from pps.filterd (m0173170.ppops.net [127.0.0.1]) by mx0a-00395d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AAHbCNu015360; Tue, 10 Nov 2020 09:41:48 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=aG8t0aqpEk3GKspfPv3jQhV6TnWaeW25LzZwrhNtQfU=; b=ZCvPRpKw1Mes/FvBwI6zyxRJvMXvYwOIv5R7bZU6jS52LQApbQdmp3+JPlFkdU+6SXKe hJI7DUJO6DAQL3JmfiyZ6cjaKaK3e9Kv61DUZCGaW0tOydrvQPxfOhpjNMe1BhI3QFF8 6YLtKcZ7239q1RiCmNbKeIRE7FFHf89qNX0LF+UKHWTmijf34Ls7IXDnOsPEh7IzHVxe 3o4Z201+ps/TMIwQAhsB6DxuGM3WYeIyPsXzw35zDPvpIudU2yoPtbeP2+KEzVaLPg2j NrPoDMIkW3NiMHNLI7AttZr1Kari5a8ix4IlHKhbiB7G4bKws4cemqKFeia1/LN9j+ru wQ== Received: from secdlpezp05.ucsd.edu ([40.112.251.180]) by mx0a-00395d01.pphosted.com with ESMTP id 34qfm6t55r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Nov 2020 09:41:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aW9WYfsXl4llIxbk9dd7K5MqODJgRP97nxPsz6NsR4J32koeCz6eZG0JSg9XVXLvFFoE0jaP7aHzTPThr8/lXshzqRhn/W5qUM3DGUHEdKjNhxMa8LrMNhDph9nN9YkxsIqtm1RCgyU3jFokF0oXQNJhX/ppaVupWqa0BX2Nlwj+gUFZn5zGIvMBBLqhr0z4NlRsp4Uox6hgclNl7q//xtmN04xcrpV9RCXWbUf5+WdaYb8mWDXrriEakoOWPUBigO4HlA4A1WtI6PVBHrEEMfYOAw+o1ddln4sWtuqDOrGmgoX//n92+Vs8Dkop4AU+3KuHRNUJ6ISf/RiKvZ3uDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aG8t0aqpEk3GKspfPv3jQhV6TnWaeW25LzZwrhNtQfU=; b=PqSxV7UMhHVQET/Vs6k8n9Waknj3H9sA2W/kTZHJM+dDiwLhfB0GCz0qN8jh+OnOnxTHo3FCFN+9PmYo6KW+ZXdgCeT1mnK9o2oUe1ZNqqQZWnPxcOVwDPXoFqm4z6jpDaTwTR0sA/1q+WOzFHZps2AEackhfIokhv++sowTtxm3WTTs6ubPsqDKrGAepEC+bStNfmJaio6ugdNB7cZZByeIVLzulf2r05LYwcy2RvXPmHEqrG5QU5Tce8oRC2x4E0zATxLiZph/BafVRqZ+xMZsfDqEsyQ7PnS2Eqy8cRvdkr/O+peI+Qp7X6TBfswF3jTqbw4eiWPftbmAWMlTzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aG8t0aqpEk3GKspfPv3jQhV6TnWaeW25LzZwrhNtQfU=; b=eHXNlFVhN+c4mbLjy+rwIOnnSd6x7IwfumBHefO/eif9saytnRgJo1QfQFWR8C6EGqF4rbRnWEvLSUgpspGyPThCCtQtWb0LNugC5jMKWV8nBQEBidwzN7kMzLmvRCIH6Q0mXw0c4kyGqrIRQeKQ9LH7OhFiymcV2TJO9GsBlfI= To: Diego Zamboni Subject: Re: How to wrap Org code generated by a source block? Thread-Topic: How to wrap Org code generated by a source block? Thread-Index: AQHWt4jBsMgQq8vg6UGVja5w3ctcng== Date: Tue, 10 Nov 2020 17:41:45 +0000 Message-ID: <43B88A5C-E21D-42B5-9AC7-F33908FB4EEC@health.ucsd.edu> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2600:1702:1021:b0:a5f7:793e:409c:20a3] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 00eff51f-95b1-4a5d-990d-08d8859fe48e x-ms-traffictypediagnostic: BY5PR19MB3651: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yRDWBtzEmzCs60LQnJWP5+RQCTCIMrQvAxrdIwzjle85+p5z7R0knD1GaulB2ubqSX66EAD/HS+9er5VxQtUfZtPdd6B/5uj3G5Z2Z+UctAzKXUnWb8yLfdKvzZ881/2DlOjRkCsV1fsz4gxX3JhtqrQYQQTiX5AKCfax/UK2c6JEM6kJJXlY0O5rPGS9gtgJcCKxgvipN1dCIRXcCMPVImXQUC7Mb0jSRvt+oUTdawXzU4DRYfvqH6Yf8774fLucL1xcYMEZGIhOvBVZovNyz5+uw20boqB7YmX/EkTNPod8Vj5thtJ4XqUcKqzIqWSC3vPMXfFy3T6U/5JvgATRw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(376002)(136003)(346002)(396003)(8676002)(478600001)(316002)(71200400001)(2906002)(33656002)(8936002)(4326008)(6916009)(186003)(53546011)(6486002)(6506007)(2616005)(66446008)(76116006)(66476007)(6512007)(83380400001)(5660300002)(4744005)(75432002)(64756008)(66556008)(86362001)(786003)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?dAXgz8GH0Ds6XmR370n7THw68bzDphUTBzVyh0HDlbc6/cuPcROtIhWdmNLN?= =?us-ascii?Q?GwnJ6/DZr3roKOPhUIVxx7UtQ6nRET3lViV7rx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SIalm/1f8g=3D=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00eff51f-95b1-4a5d-990d-08d8859fe48e X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2020 17:41:45.3160 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GzaKkJuOKIwf/qEbid0fb83JApgcYIWvLWNJfk3GZyH/fqnsZMxe5+OACJL2tK9zPZyb4k+PLxsDdaSduka4tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR19MB3651 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-10_07:2020-11-10, 2020-11-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 mlxlogscore=667 impostorscore=0 spamscore=0 priorityscore=1501 bulkscore=0 clxscore=1011 phishscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011100124 Received-SPF: pass client-ip=148.163.133.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0a-00395d01.pphosted.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/10 12:41:49 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=ucsd.edu header.s=campus header.b=ZCvPRpKw; dkim=fail (headers rsa verify failed) header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=eHXNlFVh; arc=reject (signature check failed: fail, {[1] = sig:microsoft.com:reject}); dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 1.49 X-TUID: uQq9GK/j8CFm > On Nov 10, 2020, at 6:13 AM, Diego Zamboni wrote: >=20 > I want to generate some parts of my document programmatically from an ema= cs-lisp src block - i.e. the code produces Org markup which I want to then = export. Is there a way to wrap the #+RESULTS block in an environment that s= till gets evaluated as Org text (e.g. when exporting)? >=20 >=20 Try `:results drawer' You can also do fancy stuff using `:wrap "src ..."' where `...' is a langua= ge and additional header args. One language choice is `org', but I don't th= ink this approach is what you need. HTH, Chuck=