From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oLJwD0wQNWA2SAAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 14:25:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0C/hCkwQNWCXTgAA1q6Kng (envelope-from ) for ; Tue, 23 Feb 2021 14:25:16 +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 95F8EE03E for ; Tue, 23 Feb 2021 15:25:15 +0100 (CET) Received: from localhost ([::1]:51622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEYcj-0001Uc-TX for larch@yhetil.org; Tue, 23 Feb 2021 09:25:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEYcH-0001UV-BB for emacs-orgmode@gnu.org; Tue, 23 Feb 2021 09:24:45 -0500 Received: from hiwela.pair.com ([209.68.5.201]:57988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEYcF-0008Sw-7z for emacs-orgmode@gnu.org; Tue, 23 Feb 2021 09:24:45 -0500 Received: from hiwela.pair.com (localhost [127.0.0.1]) by hiwela.pair.com (Postfix) with ESMTP id D86F5980645 for ; Tue, 23 Feb 2021 09:24:36 -0500 (EST) Received: from minshall-entroware-apollo.cliq.com (unknown [95.8.212.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hiwela.pair.com (Postfix) with ESMTPSA id ACAC28F0957 for ; Tue, 23 Feb 2021 09:24:36 -0500 (EST) Received: from apollo2.minshall.org (localhost [IPv6:::1]) by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id C885A630C4 for ; Tue, 23 Feb 2021 17:24:33 +0300 (+03) From: Greg Minshall To: emacs-orgmode@gnu.org Subject: org-in-org X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Feb 2021 17:24:33 +0300 Message-ID: <819173.1614090273@apollo2.minshall.org> Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu; helo=hiwela.pair.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (policy=none); 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-Migadu-Queue-Id: 95F8EE03E X-Spam-Score: -2.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: xOb0CS1t4Ar/ i have a question about org-in-org source blocks. i volunteered to help in an effort to provide a tutorial of using the ESS (Emacs Speaks Statistics) package for R, in particular, from org mode. i'd like to write my contribution as a .org file. i'd like to include fragments of org code, including source blocks (in R). and, i'd like to show various result types. so, i'd like to be able to have the #+RESULTS show up in the org-in-org source block as exported inside the containing .org file. and, i'd like to trigger all this from a makefile, using some emacs batch script to export the containing .org file into a .html or .pdf file. (i *think*) what i would like to end up with is what it would like if i had manually opened the org-in-org source blocks (C-c=E2=80=8C'), then went= to each (or, possibly, selected, i guess) source blocks inside *that* (org-in-org) source block, and executed each, producing a #+RESULTS block for each, then closed the org-in-org source block (C-c=E2=80=8C', aga= in), and then exported the containing .org file. is this possible? any ideas? cheers, Greg