From: Bob Heffernan <bob.heffernan@gmail.com>
To: Arthur Miller <arthur.miller@live.com>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Org mode & "literate programming": including files
Date: Wed, 7 Apr 2021 09:28:33 +0100 [thread overview]
Message-ID: <20210407082833.xtrxpwyczgghxb7l@bob-nuc> (raw)
In-Reply-To: <AM9PR09MB4977C896AB5FF031E90CECAE96759@AM9PR09MB4977.eurprd09.prod.outlook.com>
On 21-04-07 05:54, Arthur Miller wrote:
> I saw your question on reddit, and I saw somebody already posted you an
> answer. You are looking for `org-babel-lob-ingest`.
>
> Check the SX link posted to you on Reddit, it has what you are asking for:
>
> https://emacs.stackexchange.com/questions/31999/config-examples-and-use-cases-of-library-of-babel
Arthur,
From what I understand, the library of babel is a feature to glob
regularly used (named) code blocks into a single file, for use in
other org files. While this looks as if it could be used to achieve
what I want (first, ingest some code into the library, then use it
elsewhere) I was hoping for something similar to the sort of thing
that is present in most programming language REPLs: load whatever
source file you want, then use the procedures therein.
> Hope it works for you and don't forgett to say thanks to the guy on Reddit.
I'll take a closer look at it and thanks for your help.
(& you're right, I need to go back to reddit and respond!)
Regards,
Bob
next prev parent reply other threads:[~2021-04-07 8:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 18:38 Org mode & "literate programming": including files Bob Heffernan
2021-04-06 20:18 ` Nikolay Kudryavtsev
2021-04-06 21:59 ` Bob Heffernan
2021-04-07 3:54 ` Arthur Miller
2021-04-07 8:28 ` Bob Heffernan [this message]
2021-04-07 16:47 ` Arthur Miller
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210407082833.xtrxpwyczgghxb7l@bob-nuc \
--to=bob.heffernan@gmail.com \
--cc=arthur.miller@live.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).