Skip to content
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 running timer ‘which-key--update’: (void-function take) #373

Closed
rochgs opened this issue Apr 22, 2024 · 3 comments
Closed

Error running timer ‘which-key--update’: (void-function take) #373

rochgs opened this issue Apr 22, 2024 · 3 comments

Comments

@rochgs
Copy link

rochgs commented Apr 22, 2024

Hello there 👋

When I input a prefix and wait for suggestion, I get not suggestions but the message:

Error running timer ‘which-key--update’: (void-function take)

Checking the native compile log I see a related warning:

which-key.el:2019:24: Warning: the function ‘take’ is not known to be defined.

I can see take is called from that point in the code. Other than that, I know little to none about Lisp or Emacs built-in functions (if that's what that take is), so I don't know what else to do. I have the same configuration in another machine with the exact Emacs version. You can check my configuration here, if needed. I am doing nothing fancy. Installing emacs-which-keys with straight here, then (which-key-mode 1) here.

My Emacs version:

GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-05-14, modified by Debian

Any tip will be more than welcome. Thank you 🙇

@rochgs
Copy link
Author

rochgs commented Apr 23, 2024

Quick update. This no longer applies:

I have the same configuration in another machine with the exact Emacs version

Straight just updated the packages and now I have the same issue in the other instance,

I see the call to take was added two weeks ago. I suppose that made the package incompatible with my Emacs version or it added new requirements I am missing.

@justbur
Copy link
Owner

justbur commented Apr 23, 2024

Should be fixed now. We're prepping this package to be included in emacs itself, and take is now a built-in function, but I see it was only added recently.

@rochgs
Copy link
Author

rochgs commented Apr 23, 2024

Should be fixed now.

Indeed!

We're prepping this package to be included in emacs itself

Those are excellent news 🙌

Thank you for your time and effort.

@rochgs rochgs closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants