Fork me on GitHub
#emacs
<
2022-07-18
>
otfrom09:07:15

I'm trying to make a library that configures a number of things around vertico. I'm using use-package in the library and then calling it in using use-package and straight. It doesn't seem like anything under the :config keys in the package code is being called though. Any idea what I might be doing wrong?

otfrom09:07:29

I've created an init function here: https://github.com/MastodonC/kixi-emacs/blob/master/kixi-emacs.el#L582-L584 that does some of the work in the config bits and that seems to work if I put call it from the :config section of my init.el. Do I have to do that for all the :config sections here?

ag15:07:18

> It doesn't seem like anything is being called afaik by default, everything is lazy-loaded. i.e., :defer t. You may need to tweak :after or :commands key.

ag16:07:13

I wonder if there's a good way of diagnosing straight.el loading order.

otfrom16:07:22

fundamentally, I think my problem is I'm trying to create a package, but idk

otfrom16:07:33

I'm learning more about use-package and straight than I really wanted to 😉