From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6FX8LsxPfWGkCgEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 15:59:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2IedKsxPfWE5FgAAB5/wlQ (envelope-from ) for ; Sat, 30 Oct 2021 13:59:40 +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 E0EDC7B8 for ; Sat, 30 Oct 2021 15:59:39 +0200 (CEST) Received: from localhost ([::1]:35926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgotW-0005oO-Re for larch@yhetil.org; Sat, 30 Oct 2021 09:59:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgork-0004v0-7A for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 09:57:48 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:35336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgori-0004i8-Gb for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 09:57:47 -0400 Received: by mail-pg1-x52f.google.com with SMTP id q187so12733131pgq.2 for ; Sat, 30 Oct 2021 06:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=tQvdrDAjdQH5MYH7FY5rCWh43YCSjzFWM/aFduhiX/A=; b=a3ob7dpZXxy4lK1CDAJabXiXRS3Q4Fj0R8sOkITwm5/LTX/svNSzKNFpd/tdTWIP4o e97D6wzGAPipY1luXDM4PxwL/L3brnjg+/8rK7OzOX3AeZdOfCA1Rj/maZKyPAkcZBQK TvjcG71RtN5cakL03MKME+HezCEWqtaOT36sM4u2UJZl8yqe3E2FiXw6B5e8/hSIoGpN xcCPSQFK0WWrdP+eDpsHSAYAX/OQEY7ZGDqg8me8X6R5SYhDwaR/oI6jqviy9HFpEB5a kQQKnoDaKi32zZLtsyiRT3HDcJz5I75pz70bsbrOTo7fzVoN9wUbMIeMOjCOz0VRXwEl 2GsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=tQvdrDAjdQH5MYH7FY5rCWh43YCSjzFWM/aFduhiX/A=; b=jfEEYwiuXbJcpaMOIuyNQc1TGJV6uHsRoDQerDHQc4ln8gjZDiQtsGc1AtEHEWZzWm rezwaYyYR7B6ilnFr0R0XDaECS7pWn9z3uN5LSybJIINMTnRlJT1QCy1BgA+WOBItIlK 7hrb1JHDhPfIiWCFTQPo4olSg8bApWWLOWpitEAHscS6k8n+JVnnCgNyFwFjCtJrRflB uxHt5oqaTNFZXSSXA129J9wcmw+/FxHnQrVoZVgU56687uD0yQQE2aw5x6fJ5ziFr9Sp Odtnb7qNBf7k7iJ0WyLcr+LELgkHGT3jImhpe4ejZaDwdpSRpOEfbDW8+yaRu0aWAWSH pP9A== X-Gm-Message-State: AOAM533ak3rPhPdL0+EeTENnqCsC+SqnNJPUe61RuozeILWD0R6jszRR /tkBpH6gEsOs3JpC7Bmjg7I= X-Google-Smtp-Source: ABdhPJy1UTbxySNDe221PJLSDZt4Gr19ZaBCZvbpm1jojQ6SEaKQb34qvGlX3bTI2ZFdiKeLzTX1cA== X-Received: by 2002:a63:7e01:: with SMTP id z1mr12864613pgc.238.1635602265084; Sat, 30 Oct 2021 06:57:45 -0700 (PDT) Received: from localhost ([103.125.234.111]) by smtp.gmail.com with ESMTPSA id kk3sm9670806pjb.57.2021.10.30.06.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 06:57:44 -0700 (PDT) From: Ihor Radchenko To: Noboru Ota Subject: Re: Introducing Org-transclusion In-Reply-To: <87fssispc2.fsf@nobiot.com> References: <87fssispc2.fsf@nobiot.com> Date: Sat, 30 Oct 2021 21:59:13 +0800 Message-ID: <87h7cysjf2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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: emacs-orgmode@gnu.org 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=1635602379; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=tQvdrDAjdQH5MYH7FY5rCWh43YCSjzFWM/aFduhiX/A=; b=Hml54fY9t5vrcEZUV+jryv9+tZWa1wWFIDsBfUlhvS0m0BLVFixAqVgq+i+bPlnL/8WQiS vpVwv4HbPQOCbYJfN/GS8XpEPK3BkWVlNODB/K+URZtfujuZ7GSv+C1hre9MiaTf+2jt4A fiz7XL76D4tY0RooKgd473K6I5hp0FRc+1lMDWXx9vO4zSSstcKwRxLPsEQVpAFR15Jviw Q+SV7wAyFTCmRxxC/fXNCkqjHkyHvphA6BmmkKunPXvYgkSj87te6Q5OpsrceBTX9dQ/P6 cr4NScgEXdKV64+vCQ8fs3pYJi0SKBlHyHQFVNLQ2/iL/rAXW2j+t+JefV6bog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635602379; a=rsa-sha256; cv=none; b=UIDTLIljFtcwZntvGJapuNSST6Exb8SowHzEusKcQLYhvEFepEdbncgdTY+CcnAZQG1rqv zRP9qjJQnguwfP9O6ogeXt+8kILJB3EtRfIEQJpLmmaYUOAoieqMsMo6eTDW78PiHwA6nt H5sKlztvYTju4XPLTov9pd87pnzjQzhmhoEqbqL2a/bX8OFgEx2M3c6VhSOScsS1lB92zg zAwQcW9hLAiv+tAaD/eTEfSVq0pohO4wHXX5SsvQWCcIs0VBiu4Ci2Pi8Tn98Zeb/NzxA2 dg3u7dKyX1RPy9zk5Oq357oMZ/1wPuSS2tu3IDAuy4zyk512tC/XQgjxlEB4Lw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a3ob7dpZ; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a3ob7dpZ; dmarc=pass (policy=none) header.from=gmail.com; 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: E0EDC7B8 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: dWBVdpi0hJoT Noboru Ota writes: > This is my first post to Org mailing list. Welcome ;) > Is this type of add-on packages worth considering for inclusion into > Org? I am asking this question without knowing the practice of how > these things are considered in this mailing list; apologies if I am > missing the context. The feedback I have received includes requests for > me to put this discussion forward in this mailing list, so some people > find it useful if Org-transclusion were part of Org. You have my +100500 to have this package as part of Org :D The package may allow several interesting things in Org: 1. An alternative way to structure headings Currently, we have a rigid headline structures in Org and alternative tag-based approaches like Org Roam. Headline transclusion will allow same subtree under several headings (aka file system symlinks). 2. A much faster tangle system. If we can directly transclude and sync contents of source blocks with actual programming language buffer, C-c ' can trivially support flycheck-mode and provide a more IDE-like experience while still benefiting from literate programming style. 3. Visible #+INCLUDE directives. I recall multiple requests to be able to see the INCLUDEd files right inside source Org buffer. 4. Dynamic Org files like agenda views, but made of transcuded headlines. Such files can be kept in Org mode with all its features. Transculation has been requested many times by different users. Some relevant links: - https://emacs.stackexchange.com/questions/51814/embed-org-task-list-from-other-subtree - https://www.reddit.com/r/emacs/comments/dz5xeb/is_there_a_way_to_include_an_org_file_in_another/ - https://www.reddit.com/r/emacs/comments/flxqei/cloningmirroring_a_region_to_some_other_location/fl22ele/ - https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00141.html - https://emacs.stackexchange.com/questions/57608/split-code-across-multiple-src-blocks - https://lists.gnu.org/archive/html/help-gnu-emacs/2020-06/msg00151.html - https://reddit.com/r/emacs/comments/debean/possible_to_embed_another_org_file_or_entry_in_an/]] Other attempted implementations: - https://github.com/legalnonsense/org-clones - https://github.com/magnars/multifiles.el - https://github.com/vspinu/lentic - https://github.com/whacked/transclusion-minor-mode Best, Ihor