Closed wamyuk closed 1 year ago
Thanks for the detailed report. Package installation happens asynchronously, so the code you want to run after the package is installed or activated should be passed as the BODY of the elpaca macro.
(elpaca nano-theme
(load-theme 'nano-dark t))
See also: https://github.com/progfolio/elpaca#why-did-my-init-file-execute-out-of-order
That resolved my issue, thank you. :)
Emacs Version
GNU Emacs 28.2 build 2 x86_64-unknown-linux-gnu GTK+ Version 3.24.34 cairo version 1.16.0
build-options: cairo gif gmp gnutls harfbuzz jpeg json m17n nativecomp png sound svg tiff xml xpm ~dbus ~imagemagick
Operating System
Void Linux 6.0.10_1 x86_64 GNU/Linux
Bug Description
I tried installing several different packages but ran into this same issue.
Did a fresh start with just two files init.el and early-init.el with the following contents:
Once fetching package sources completes I get the error mentioned in the log output.
elpaca-log
shows the following:Then if I do
elpaca-rebuild nano-theme
I get:Now with
M-x customize-themes
I'm able to activate the theme, but when I restart emacs I again come across the same error mentioned in log output. Although ".config/emacs/elpaca/builds/nano-theme/" has all related theme files.elpaca-log
again shows the same queued status:I tried
(elpaca-use-package nano-theme)
but got same results. I also got this same issue when I tried it in termux on android phone.Relevant log output
Edit: added build options