emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Load Org Babel Languages on Demand
@ 2020-02-15  4:41 Uros Perisic
  2020-02-17  0:01 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Uros Perisic @ 2020-02-15  4:41 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

In Doom Emacs (https://github.com/hlissner/doom-emacs), Org's babel
packages aren't loaded all at once with org-babel-do-load-languages, but on
demand when their src blocks are encountered (fontified) or executed. Same
with its export backends.

Dooms maintainer, Henrik Lissner, has kindly extracted his code into a gist
(https://gist.github.com/hlissner/14b42de71c65945f55a31b393af0391b)
following a GitHub issue (
https://github.com/hlissner/doom-emacs/issues/2536#issuecomment-586088410)
and the interest expressed in a Reddit thread (
https://www.reddit.com/r/emacs/comments/f3ed3r/how_is_doom_emacs_so_damn_fast/fhixxjx/
).

I think this would make the org-mode literate programming experience
significantly smoother.

Any thoughts on including this in org-mode?

[-- Attachment #2: Type: text/html, Size: 1303 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Load Org Babel Languages on Demand
  2020-02-15  4:41 Load Org Babel Languages on Demand Uros Perisic
@ 2020-02-17  0:01 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-02-17  0:01 UTC (permalink / raw)
  To: Uros Perisic; +Cc: emacs-orgmode

Hi Uros,

Uros Perisic <uros.m.perisic@gmail.com> writes:

> I think this would make the org-mode literate programming experience
> significantly smoother.
>
> Any thoughts on including this in org-mode?

This looks like a good idea.  We are close to releasing 9.4, so it too
late for this release, but feel free to send a patch for this, we can
apply it later on.

Please read https://orgmode.org/worg/org-contribute.html if you want
to contribute a patch.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-17  0:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15  4:41 Load Org Babel Languages on Demand Uros Perisic
2020-02-17  0:01 ` Bastien

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).