From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +JguGAh3kmZnZgAAe85BDQ:P1 (envelope-from ) for ; Sat, 13 Jul 2024 12:46:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +JguGAh3kmZnZgAAe85BDQ (envelope-from ) for ; Sat, 13 Jul 2024 14:46:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720874760; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-message-id: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=3g40Q6G5U+s54vdwvQKJD5momv9BJfI5vQgFr28wkgY=; b=qtZvV3Vb7caTrZ6TSvec+Z1sG6ER9OP8TIZSwJ/s0W4jjM0JcPsTTMHnU+EFqcxY7VNXCH hnT9ZctAPODV844AnKTUKfw3KEyUO83yl359LY0guHTxm72qT0VpRszy/Q9Xv0yGZd5uBO daQUgmnt37ojWjhjmYVlL5toy40SOYeCJlfnvQApMU3qDi75h7XjDTAkFWDRsEBnHPwNCm BBPiCHb+YWtQOg4Oz0abvecEHWtByLfWu/e8ckztE9QlOXVaP4Guaiixg3BZ395QpjYy5V jmtyZvlMVfn7DxgaseSYK4njoKC5h2WdAwBpe8WkAe5+2fdrrYtCT7PZlELi9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720874760; a=rsa-sha256; cv=none; b=nZYD54lL0RoG+gYO6uR4MhcFKzWLJKz4y/vOK2pYXudvQ0B14m2aTV36m0dGdQ2BqDCw/I Dycc2chAm0DQm1fAi0753cZnKNiY+Vl9CQuRT6k/VtWX1bupvXlPwGqZ3b7rfxZ6a3X03E yM8ZsVkf5d7qIWe65gMr8P/Yu0mFpXnO1GpBYS/vjOlfVgzjsEaCnuA0eNM/FCSYWwI8fc 5KLUcyGQeQw140tmzG7cHAO2J8KJdTouszkxsW4Ztt8DOaJlTdKb2TU1Kf/oI4rWJeTMw5 y1at0L7pTaCzfxk6JauChsoONG1ULkQ5yqkAP17ZFThradX/vb21o4341GyW6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F105715853 for ; Sat, 13 Jul 2024 14:45:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSc7b-00048o-Nl; Sat, 13 Jul 2024 08:45:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSc7Z-000487-1r for emacs-orgmode@gnu.org; Sat, 13 Jul 2024 08:45:01 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSc7X-0000QD-Ac for emacs-orgmode@gnu.org; Sat, 13 Jul 2024 08:45:00 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id D0439E8109 for ; Sat, 13 Jul 2024 14:44:55 +0200 (CEST) Resent-To: "emacs-orgmode@gnu.org" Resent-From: =?utf-8?Q?S=C3=A9bastien_Gendre?= Resent-Date: Sat, 13 Jul 2024 14:44:55 +0200 Resent-Message-ID: <87bk31tq9k.fsf@k-7.ch> Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by k-7.ch (Postfix) with ESMTPS id 69DB5E8109 for ; Tue, 9 Jul 2024 21:41:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRGgz-0005S9-4v; Tue, 09 Jul 2024 15:40:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRGgw-0005Rj-Db for help-gnu-emacs@gnu.org; Tue, 09 Jul 2024 15:39:58 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRGgu-00011Q-Nk for help-gnu-emacs@gnu.org; Tue, 09 Jul 2024 15:39:58 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 1941EE8109 for ; Tue, 9 Jul 2024 21:39:53 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: GNU Emacs text editor Subject: Using Org-mode for literate Emacs configuration with use-package User-Agent: mu4e 1.12.1; emacs 29.4 Date: Tue, 09 Jul 2024 21:39:52 +0200 Message-ID: <87le2acq2f.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list X-TUID: epWWoyJTXnU0 Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, MAILING_LIST_MULTI=-1, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: F105715853 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.70 X-Spam-Score: -7.70 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=C2=A0? How do you manage this problem=C2=A0? Best regards =2D------ Gendre S=C3=A9bastien --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmaNkggLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p6Ziw/9GuO/hLtF0vafCwFWlY6zNYkvzUv4nIr6F6zjO3lR 5f56ybMPCttCQpim4gh+Y10P3iKtQloemcFmUgbNArtArFha47yiLt+uoRQ6V6VB dYoQzVxtkLBrBA/yj1bi/oEB+T7qBuWUe4sCPA8Az2H1QWKggNgQgJZW6CfT1V4T lAHNDOcGJX89SIF94pqNJmezb6pEKVn0lMl56DxrK9+0SW64O2dVfPxs9G8M/lHN XcsSKnhybvupxwJf4wP4nCeiBCJj0FHOt84HOLCD10Qu3tYe11aOdmcvDwEO7Wt3 WDSglBg4bnaa/AmosTvAtDz5mJnZC9LKkuRoyxkGzEWG/QZ9ctssp1SjJ19CZu3G FpsdCRdB3LjSzajxgqgqvA/khlLwU0X+Gu05wwQron17eDGHtk1dYnSetrHBZ0BL ozuXs8PjQeQTStq984sZw+oRR7aTZ207IHe5YRv5XqroLrkXJaXmtQ1moOK5VSys wNvL5D9jUIsy1fj8rfa+ET5Y8P9LBP7ZR3KOYFgq0NKsBgeV+WV/1aWf332ht1Lj 32WDo8CgBuCiF5OQOeG8GVXFRu/hsUFlQ9v7YO7147rIy953PjO8lSAt6d9Q931o Q/eyg1g+5r/RwnzDtEn+3JZm3NXbJTbmVp/ZQD6gve93Pu3iEs1BtMGmyURBa08a LR0= =1+/U -----END PGP SIGNATURE----- --=-=-=--