Thank you for the fixes, the second one is already done, applied the
first and the third one.
Please, add cover letters, when sending a patch series. It gives a
basic understanding of patch series purpose and allows to reply to the
whole patch series, rather than a particular patch.
--
2.41.0
[PATCH 2/3] rde: feature-power-menu: Fix (require 'all-the-icons).
Export this patch
---
src/rde/features/emacs-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rde/features/emacs-xyz.scm b/src/rde/features/emacs-xyz.scm
index a3a5a98b..db1b810a 100644
--- a/src/rde/features/emacs-xyz.scm+++ b/src/rde/features/emacs-xyz.scm
@@ -1925,7 +1925,7 @@ supply custom menu items in the form of modules.")))
"Prompt for an action on the power-menu, and make this action."
(interactive)
,@(if (get-value 'emacs-all-the-icons config)
- ,((require 'all-the-icons)) '())+ '((require 'all-the-icons)) '()) (let* ((selected
(completing-read
"power-menu command:"
--
2.41.0
[PATCH 3/3] feature-emacs: Make native-comp-eln-load-path respect XDG base dirs.
Export this patch
Even with native-comp-jit-compilation set to nil, ~/.config/emacs/eln-cache
would fill up with asynchronous native compilation cache.
This is partly expected because of trampolines, see the manual
https://www.gnu.org/software/emacs/manual/html_node/elisp/Native_002dCompilation-Variables.html
This commit makes the eln-cache go to "XDG_CACHE_HOME"/emacs. You might need
to restart emacs two times to get back your normal emacs experience.
---
src/rde/features/emacs/early-init.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/rde/features/emacs/early-init.el b/src/rde/features/emacs/early-init.el
index ae02aa98..90f3b96f 100644
--- a/src/rde/features/emacs/early-init.el+++ b/src/rde/features/emacs/early-init.el
@@ -23,3 +23,5 @@
;; they are installed and site files are compiled when gccemacs is installed.
;; (setq comp-deferred-compilation nil)
(setq native-comp-jit-compilation nil)
+(startup-redirect-eln-cache+ (concat (or (getenv "XDG_CACHE_HOME") "~/.cache") "/emacs"))
--
2.41.0