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 ms0.migadu.com with LMTPS id ABJCMyyFhWHP8QAAgWs5BA (envelope-from ) for ; Fri, 05 Nov 2021 20:25:32 +0100 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 0Fy9LiyFhWFaLwAAbx9fmQ (envelope-from ) for ; Fri, 05 Nov 2021 19:25:32 +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 2FA6D9C14 for ; Fri, 5 Nov 2021 20:25:32 +0100 (CET) Received: from localhost ([::1]:48598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mj4qA-0002NF-6z for larch@yhetil.org; Fri, 05 Nov 2021 15:25:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj4pH-0002N2-50 for emacs-orgmode@gnu.org; Fri, 05 Nov 2021 15:24:35 -0400 Received: from outbound.soverin.net ([2a01:4f8:fff0:2d:8::215]:50485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj4pF-0006hw-DT for emacs-orgmode@gnu.org; Fri, 05 Nov 2021 15:24:34 -0400 Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 377BE61103; Fri, 5 Nov 2021 19:24:30 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net From: Noboru Ota To: Uwe Brauer , emacs-orgmode@gnu.org Subject: Re: Introducing Org-transclusion In-Reply-To: <87pmrer0hi.fsf@mat.ucm.es> References: <87fssispc2.fsf@nobiot.com> <87pmrer0hi.fsf@mat.ucm.es> Date: Fri, 05 Nov 2021 20:24:24 +0100 Message-ID: <87o86yl82f.fsf@nobiot.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a01:4f8:fff0:2d:8::215; envelope-from=me@nobiot.com; helo=outbound.soverin.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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.29 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636140332; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=j20qk37Z9ZjxjjxUG13D7kam1My2A9LXLxQLHnE9dnw=; b=tLXHDmo9fqu2CalpnpEdQU+nP/NvKkjhmgU2ZrpN+2obEnn2GDkLHq2ilGkGiQsvyAUpkJ MJQSRxKE6RmBpUb55HzWZESnXbQmznNMvRg0E5HtHw8LQ0L24nVHrtFV7XOBKPtkeJYZ5K IqRayArffyrO++5jCOqnytcRgjtWtV0vzQeTiSAah9WKDYE1rSlrqC/+pcIFPiTffFfOuX RJp9saHxEZkw/CJp5m2dK/GOOwoqqm1TAcJ/7bdXLxyRhG/oFe9VUKfr2n8Mq6q8AgcNw8 fqUpUBX9X/v0cTyIwATxoGywfVhJUa6t6vtMSSQycSy/1QMR65usMf96VcI9Tw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636140332; a=rsa-sha256; cv=none; b=b9Pw0hJwohrDZOn506iRzoP13s79CHpWENQYJ2sETsP45S1EUpyT8BgyL0Dvk+BFf1KD/h eZHrLj+TAORpQ/Yl4l4dxqgnhcs85yUJrke6LA6/4+AaEa6akIrCslzdvBguZgg/4Ebbnr APsmQQ75vR3I27YkUxHoqYf+xf8ijQVoC5pNVzMRO2BGtpW/TkO6hhQvyMH9jiIWTmNVue NKTbr/jYUUdJUuRQYCca8W8tRhjea/oB/mF4uvGvDdI1qTtHz8fbGsb1UqJds69drFwPua V57hEXUr7oiA6Gnx/BzqhEkxwd4RTjoT52rZuJLMnF/HX+YFmsuMNxtfJbqzwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -0.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 2FA6D9C14 X-Spam-Score: -0.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: WS3m4S70Q9T1 Uwe Brauer writes: > If I include the content of another org file (say Russell) into my > main.org file > > 1. I can export main.org to say latex and that latex file includes > the corresponding content of Russell. > 2. It is a one way bridge, I cannot modify the content of Russell in > main.org, right? You can. Put your point on the read-only copied text content in main.org (transcluded text) and press "e" to call the "org-transclusion-live-sync-start" command. The transcluded text and source will get an overlay, which lets you edit and sync the changed content real-time. This works both ways. There are some restrictions if the source file is Org file; you will get a message telling you that you cannot activate live-sync for these cases. This is due to the way I use Org elements. I might be able to find a way later with this helpful community. The restriction is documented in the docstring of the "live-sync-start" command. Here is an excerpt: For transclusions of Org elements or a buffer, live-sync works only on the following elements: center-block, drawer, dynamic-block, latex-environment, paragraph, plain-list, quote-block, special-block table, and verse-block. Let me know if you have more questions. Thank you for taking interest :) Noboru