[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Org-mode for literate Emacs configuration with use-package
From: |
Rens Oliemans |
Subject: |
Re: Using Org-mode for literate Emacs configuration with use-package |
Date: |
Mon, 15 Jul 2024 11:37:03 +0200 |
Sébastien Gendre <seb@k-7.ch> writes:
> Sometimes, I need to split a package configuration into multiple
> sections of my Org-mode document. [...] By splitting my config, I
> can correctly document each option and organize it in a more
> comprehensible way.
If I understand your usecase correctly, you would find Org's Noweb useful (See
"16.11 Noweb Reference Syntax" of the Org manual).
See the attached example file. Take note of the ':noweb yes' header argument,
and the NAME of the referenced code block.
example.org
Description: Lotus Organizer
Best,
Rens