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 mMhvLzmQ9l8sIQAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 04:38:17 +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 YKAuKzmQ9l+aagAAbx9fmQ (envelope-from ) for ; Thu, 07 Jan 2021 04:38:17 +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 53213940276 for ; Thu, 7 Jan 2021 04:38:17 +0000 (UTC) Received: from localhost ([::1]:60284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxN3w-0008A6-8P for larch@yhetil.org; Wed, 06 Jan 2021 23:38:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxN3D-00089w-2O for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 23:37:31 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:42538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxN3B-00042Q-Ed for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 23:37:30 -0500 Received: by mail-ej1-x62a.google.com with SMTP id d17so7957070ejy.9 for ; Wed, 06 Jan 2021 20:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:reply-to:accept-language:content-language :mime-version; bh=XuGUtZs1vPyxnj6bjmvizaqw39MGTg7N8ZChWH6T01s=; b=E/YyXBtxkG2qqSUIGxOHjmR397RbHYnizrZ63c0ZUl8L4auFlxEnS+REA6DXl4NZpg XAuP2I8JENfM6lgIK7Ah+lwggqHDKU6Am5/gsRt0YtmaFBBBscWHr4EnH+9iCj4KAowj AnyBcqd14drSKhomqt7Hl0OCt6eepwa81L8iYeeawvO9OO58n6yTuDKRf3pJD4zBum5e jr71QIoNeIWbbbY2Y6Rk9DEL7k7NCxO7ThrCeETAR1VaSRiYuPfbtU+e6ViPnBzQvEQP 0MIDsjgfjwncTQbd1BTqXTym8DWl11u189D6umZ9lKD7hP/CtIlT7rV0hp5EDj7JEmJI x6zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:reply-to:accept-language :content-language:mime-version; bh=XuGUtZs1vPyxnj6bjmvizaqw39MGTg7N8ZChWH6T01s=; b=hRIlQimqgyUJMo0qOT8rTPn5MrFeY1CbMVDCeKQSb+QJaH+d3StIG7haZxHi2ONm/R U1n9xlxQGl5LsptB01Cxkk5wJrdaaMvIGom9c5tnYez/y5JogMwPHKQ01cGZG9BmfK4r Usc0J7fXDFzy/HhFQl7ZRmaWI4s6qagJzx59nz46IRc+1PL41ImW7Hf8js1xw0vmOunU PoNYRXR+c3VMpF674T4aY7d9Um+bFhUce2hyDyJJvC71sC66IisN2lX7dgo6tgAnw+EN Hpbl8ycxvw6pIvJPHyQd2C3CGLRM3i1CNOXqTEQ054RDdBTNIZyzVE5EAJjPJhcb0ud5 vaeA== X-Gm-Message-State: AOAM533wJ8rsrLskf3lDmvUXPX8TD95rdmxpsdCKF3/1My8lj2aZ1M+a +qmuocZgIua1mzahkpIpWg== X-Google-Smtp-Source: ABdhPJw9HhDiyf/u4n/Go7a4JaoF9/T4dL2FWpI/tEReHmusaDfV/m5Xbb62mwKBpgFUdDdD/mhA1g== X-Received: by 2002:a17:906:4e50:: with SMTP id g16mr5351616ejw.191.1609994247629; Wed, 06 Jan 2021 20:37:27 -0800 (PST) Received: from VI1PR1001MB1070.EURPRD10.PROD.OUTLOOK.COM ([2603:1026:300:5a::5]) by smtp.gmail.com with ESMTPSA id y17sm1987759ejj.84.2021.01.06.20.37.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jan 2021 20:37:26 -0800 (PST) Received: from dark (183.246.146.135) by TYAPR01CA0022.jpnprd01.prod.outlook.com (2603:1096:404::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Thu, 7 Jan 2021 04:35:06 +0000 From: Christopher Miles To: Tom Gillespie Subject: Re: temporary inclusion of a read-only file / inline element into orgmode buffer Thread-Topic: temporary inclusion of a read-only file / inline element into orgmode buffer Thread-Index: AQHW5GL85sIR/F/H6EW9UEIo4rHmTqobCYCAgACKXwA= X-MS-Exchange-MessageSentRepresentingType: 1 Date: Thu, 7 Jan 2021 04:35:08 +0000 Message-ID: References: <87d4b6c4-aa92-8d98-5a1c-33fe13f77646@XXXXXXXXX.XXX> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 06 X-MS-Exchange-Organization-AuthSource: VI1PR1001MB1070.EURPRD10.PROD.OUTLOOK.COM X-MS-Has-Attach: yes X-MS-Exchange-Organization-Network-Message-Id: 60a93741-3160-4d6f-177a-08d8b2c59c9c X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 x-clientproxiedby: TYAPR01CA0022.jpnprd01.prod.outlook.com (2603:1096:404::34) To VI1PR1001MB1070.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:69::18) Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=numbchild@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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: , Reply-To: Christopher Miles Cc: "emacs-orgmode@gnu.org" , HJ Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.85 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=E/YyXBtx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 53213940276 X-Spam-Score: -0.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: ed7dhf8Tun15 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tom Gillespie writes: > Check out org-transclusion, it covers some of the use cases you > describe or could be used to implement them. The issue with giant > results, especially those that have very long lines, is more > challenging, but being able to specify that different output streams > should go to files instead of results might be a start, or having them > go to a file and having process do the equivalent of tail on the file > to continually update the results stream of the buffer would be really > useful (if it could be done without disrupting other editing flows. > The shortest path to splitting file vs buffer would probably be to > decorate org-bable-insert-result (in ob-core.el) to detect the size of > the result and write the full result to a separate buffer if it is > beyond the limit you set. Best, > Tom > > https://github.com/nobiot/org-transclusion This package is interesting, I want to use it in my package org-link-beauti= fy for previewing text file etc. https://github.com/stardiviner/org-link-beautify =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl/2j20ACgkQG13xyVro msNxcQf+N+7sJZQHKPmX70QEF6bCVs8y56ISRmLl9MwzwM5QtgXPEuQEjGaWAa9V KMvFmEri2qS7yOLL94ByDvRf6uFSHl5yvh3Q9cXpL1RX2a7+83C1HIzeKhJheWzl 26OK5mEHVNij3M+5HmdaNR2t4CUcRpLLZKae0mHFsGNT38JkGWJl6GzEja8Nz94q lVrEPbt1AKmdv+4yRZz4sVcMp9CcSyYqzjXhQtrWLn0e6nP0ZZ0n4bau73QsoBhI ux5SxX1r/B2fkKFZ0iQKXpu78VAhLfvduPHsIL1KBpD60w5its9QWh2haBDMDSM+ 55jX3l7PCd9fyHQTWjs82sIku//pAQ== =VKBs -----END PGP SIGNATURE----- --=-=-=--