You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--edit-command (-e) in cider-start-menu is ignored when cider.el is natively compiled #4201
changed the title [-]--edit-command (-e) in cider-start-menu appears to do nothing[/-][+]--edit-command (-e) in cider-start-menu is ignored when cider.el is natively compiled[/+]on Sep 27, 2026
Thanks for narrowing it down to native compilation, that was the key. cider-edit-jack-in-command is defined further down in cider.el than the menu code that let-binds it, and native-comp compiles each file in a fresh Emacs, so the binding came out lexical and never reached the jack-in code. Fixed in #4205.
Activity
byronclark commentedon Sep 15, 2026
If it helps, here's the minimal config (LLM generated) I used to make sure this wasn't caused by my configuration:
Saved as
minimal-init.eland emacs started withemacs -Q -l minimal-init.el[-]--edit-command (-e) in cider-start-menu appears to do nothing[/-][+]--edit-command (-e) in cider-start-menu is ignored when cider.el is natively compiled[/+]byronclark commentedon Sep 27, 2026
Updated the title and emacs version in the description; this appears to only happen when native compilation is enabled.
Here's a minimal config where the issue does not happen:
And then if I comment out the
(setq native-comp-jit-compilation nil)form and restart I get the-eignored behavior once native compilation finishes.[Fix #4201] Bind the menu options dynamically when compiled on their own
bbatsov commentedon Sep 29, 2026
Thanks for narrowing it down to native compilation, that was the key.
cider-edit-jack-in-commandis defined further down in cider.el than the menu code thatlet-binds it, and native-comp compiles each file in a fresh Emacs, so the binding came out lexical and never reached the jack-in code. Fixed in #4205.byronclark commentedon Sep 29, 2026
thank you for the fix!
[Fix #4201] Bind the menu options dynamically when compiled on their own
[Fix clojure-emacs#4201] Bind the menu options dynamically when compi…