all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using Org-mode for literate Emacs configuration with use-package
@ 2024-07-09 19:39 Sébastien Gendre
  2024-07-13 13:45 ` John Kitchin
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Sébastien Gendre @ 2024-07-09 19:39 UTC (permalink / raw)
  To: GNU Emacs text editor

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

Hello,

I am using Org-mode and the elisp function `(org-babel-load-file)` to
write my Emacs configuration into an Org-mode document. It's very
useful to document my configuration and I can quickly do exports to HTML
or PDF when a friend want to know more about my configuration.

But, I have a problem.

Sometimes, I need to split a package configuration into multiple
sections of my Org-mode document. For example Org-mode, because I set a
lot of settings. By spiting my config, I can correctly document each
option and organize it in a more comprehensible way.

But with the elisp function `(use-package)`, I need to join each package
configuration into the call of `(use-package)` function. Which prevent
me from splitting my config into Org-mode sections.

I was thinking of writing Org-mode source block with different parts of
my `(use-package)` call, so I can distribute it into different section of my
Org-mode document. But in this case, I can no-longer evaluate my
`(use-package)` call directly from my Org-mode document.


Do you have any suggestion ? How do you manage this problem ?


Best regards

-------
Gendre Sébastien

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <87le2acq2f.fsf__13832.1084481262$1720874764$gmane$org@k-7.ch>]

end of thread, other threads:[~2024-07-27  7:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 19:39 Using Org-mode for literate Emacs configuration with use-package Sébastien Gendre
2024-07-13 13:45 ` John Kitchin
2024-07-15 17:13   ` Sébastien Gendre
2024-07-13 14:36 ` Ihor Radchenko
2024-07-15 17:17   ` Sébastien Gendre
2024-07-15 17:32     ` Ihor Radchenko
2024-07-13 17:56 ` Dominic Martinez
2024-07-15 17:20   ` Sébastien Gendre
2024-07-15  9:37 ` Rens Oliemans
2024-07-15 17:20   ` Sébastien Gendre
2024-07-16  6:02 ` Björn Bidar
     [not found] <87le2acq2f.fsf__13832.1084481262$1720874764$gmane$org@k-7.ch>
2024-07-27  7:47 ` Dilip via General discussions about Org-mode.

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.