-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⛔ Error (use-package): use-package: Unrecognized keyword: :pretty-hydra #53
Comments
What version of Emacs and |
I'm using
And I just realized that I didn't took a tag while compiling it myself. Shall I switch to stable commit and retry my setup to see if it's fixed? And use-package is at 2.4.5 |
Just switched to a stable emacs 29.1 version
Same version of use-package and bug still here |
Don't you need to load hydra by demand as well? |
It doesn't work too :/ I'm a bit at a loss here with use-package beahviour. |
What is the full use-package expression that you use that gives this error? |
This one
|
Without actually testing it, I wonder if it's the To use
Try removing the |
So I tried to remove all after's and using only I've found a solution with ;; hydra
(use-package major-mode-hydra)
(elpaca-wait) By placing an elpaca wait after I think it prevents elpaca from loading the rest of the file. But I thought it was use-package who was in charge of parsing this init file. I will ask them what the hell is going on |
elpaca messes around with loading things by loading asyncronouslly. As use-package and the :pretty-hydra are in a macro you need all of those bits loaded before using them. So you need loading of use-package (well not since 29.1 as now in emacs) and loading pretty-hydra and hydra before an elpaca-wait. Then after the elpaca-wait you can use your code I found elpaca requires too much changing and reordering of code to easily switch to - straight.el and package.el just required a few lines except for non standard packages. |
Hello,
I've got a problem loading the
:pretty-hydra
keyword for use-package even if I request it with:demand t
. Do you have any tips for this? ThanksThe text was updated successfully, but these errors were encountered: