Closed Randy1Burrell closed 3 years ago
Thanks, should be fixed with 7abe54f
Hey @justbur, thanks for your speedy response. This still isn't fixed for me though, and it only happens whenever I invoke C-x.
@justbur for context, here's my configuration for which-key:
(require-package 'which-key)
(add-hook 'after-init-hook 'which-key-mode)
(setq-default which-key-idle-delay 0)
(with-eval-after-load 'which-key
(diminish 'which-key-mode))
I'm also running lsp-mode
with which-key-integration
(use-package lsp-mode
:commands (lsp lsp-deferred)
:hook (lsp-mode . efs/lsp-mode-setup)
:init
(setq lsp-keymap-prefix "s-8"
lsp-idle-delay 0.1
lsp-headerline-breadcrumb-enable t)
:config
(lsp-enable-which-key-integration t))
Hm, I'm pretty sure I identified the problem. Are you sure you updated which-key?
Yes, I'm pretty sure. These are the steps I took:
M-x auto-package-update-now
then test.M-x package-delete
then reinstalled it and test.M-x package-delete
and then reinstalled it, restarted Emacs and...Still the same problem in each case.
ok, that seems like it should work. To be certain it's not an issue with an old version being loaded, can you clone this repo, execute M-x eval-buffer
in the which-key.el file in the repo, and then see if you get the same error? If so, please post the backtrace again, so I can check to see if you're getting the same error or a new one. Thanks
@justbur it works when I do what you suggested. So the error seems to be fixed that way, but not the best solution when it comes to auto-updates. Any suggestion(s) here?
It's hard to say exactly from what you've told me, but it seems that somehow you were stuck on the older version. Here are some possibilities:
The package did recompile so that's not it. It's unlikely that it wasn't updated because I looked into that. I'm pulling from Melpa so that's not it either. Maybe I updated from Melpa before they grabbed the update from Github. The current versioned date on the package I'm using right now is 20210622.1720, which is a few days ago, so I will try reinstalling and let you know.
Yeah, it's working now
Thanks, @justbur for your help. Much appreciated.
I'm getting this error after an update of which key today:
Here the output after I have toggle-debug-on-error turned on:
Can anyone help me fix this? Much appreciated.