emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom Gillespie <tgbugs@gmail.com>
To: HJ <orgmode-1@hj.proberto.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: temporary inclusion of a read-only file / inline element into orgmode buffer
Date: Wed, 6 Jan 2021 15:18:47 -0500	[thread overview]
Message-ID: <CA+G3_PPAJsnFBu1+JhLJbdQO7QfF2B2dxmtY4dVrGtQX=q9Rew@mail.gmail.com> (raw)
In-Reply-To: <87d4b6c4-aa92-8d98-5a1c-33fe13f77646@XXXXXXXXX.XXX>

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


  reply	other threads:[~2021-01-06 20:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 17:47 temporary inclusion of a read-only file / inline element into orgmode buffer HJ
2021-01-06 20:18 ` Tom Gillespie [this message]
2021-01-07  4:35   ` Christopher Miles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+G3_PPAJsnFBu1+JhLJbdQO7QfF2B2dxmtY4dVrGtQX=q9Rew@mail.gmail.com' \
    --to=tgbugs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode-1@hj.proberto.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).