-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Recent commits are incompatible with Emacs <29 #290
Comments
Corfu uses Compat.
This means Corfu or Compat wasn't updated properly. I don't know why. It is an issue with your package manager. Maybe restarting Emacs is all that is needed. Maybe you also have to reinstall Compat and Corfu. |
UPDATE: Be warned! The below compat pin ended up breaking other functionality in my doom setup, namely a hiccup in most magit commands - this issue appears to be more complicated than just repinning compat for now (as you can read in the linked issues below). After digging around a bit, there are some related doom PRs (doomemacs/doomemacs#7075) updating vertico/magit and other deps that seem to address getting everything updated - it seems like things will get updated and smoothed out soon enough. -- original comment: Thanks for the clue on this issue - compat looks very useful! It was indeed a package management problem. If it helps anyone else, my issue was compat being pinned by doom (or otherwise not pulling the compat-29.el file), so unpinning meant pointing to github and setting a new pin, i.e. in
Hopefully it wasn't pinned for some specific reason. (UPDATE: turns out it was! At this time of writing, this causes some magit commands to error out with: |
@russmatney Thanks. Yes, the problem with Straight seems to be two fold. It is a problem if certain packages are pinned and others are unpinned. In such scenarios great care has to be taken to ensure that everything installed is compatible. In your case you installed Corfu (which requires a new Compat) on Doom with an old pinned Compat. Recently there was also the problem that the Straight Compat mirror wasn't updated, see radian-software/straight.el#1049 and radian-software/gnu-elpa-mirror#14. I hope things stabilize a bit in the future as there has been a bit of a breakage caused by recent updates to Compat. |
@minad gotcha - thanks for sharing the context! |
This commit introduced
defvar-keymap
, which is only available from keymap.el in Emacs 29. When using Emacs 28,global-corfu-mode
fails with an error aboutvoid-variable corfu-map
.The text was updated successfully, but these errors were encountered: