-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Cannot use vertico-mode for M-x in emacs -q #32
Comments
Your Emacs 28 is too old :) |
Oh? It does work in my personal configuration on this same version of Emacs. |
I just ran EDIT: Did this again in another instance of |
Yes, because you are using Marginalia there. The problem is that M-x defines its own annotators and I proposed to change the affixation-function definition in upstream (see emacs-mirror/emacs@d8e037e). Since Emacs master/native-comp had been broken recently and Vertico is not a widespread package, I didn't bother about fixing this issue to support broken Emacs master versions. How do you install Emacs master? I am also using Emacs master now for testing and I do a recompile every few days. |
The loading order bug you are observing though is weird. Are you sure that it worked like this? In any case you need an Emacs newer than emacs-mirror/emacs@d8e037e or Emacs 27.1 or 27.2. You probably also remember the completion--require-match issue, which somehow shows that Emacs master is a moving target. So I am not aiming to make my packages compatible with broken Emacs master versions. The only promise I make is 27.1, 27.2 and a reasonably current master. And from time to time breakage happens even on a new master commit, e.g., two days ago M-x was broken due to some invalid commit. |
Oh, I see. (By the way, the problem isn't that you proposed the change, but rather that it was accepted. 😛) I guess we should just close this then.
I use this Debian repo: http://emacs.ganneff.de/ (On my Chromebook compiling is slow and awkward and I have very little disk space so I'd rather not install all the dev packages and the full GCC tool chain.)
No, I'm not sure. I tried again and couldn't get |
I wouldn't call the versions I've seen problems with "broken". But if you change "broken" to "all", I fully agree with the sentiment. 😉 |
😆 (But actually the change is quite reasonable. The old calling convention was mostly accidental and defined through how the default UI calls the affixation function.)
Makes sense. I hope not too many people are affected by this (using distribution archives like you). I thought this ganneff page was outdated, but now it seems to have gotten some updates recently. I hope it gets another recent update soon. I have to compile Emacs master myself in order to test a few patches.
I have no idea then why it worked. |
Of course. But some are really broken. See for example #13. This was actually an interesting one, since there was a bug in native compilation which got only triggered by Consult and Vertico. It seems that I am the only person who writes propertized string literals which got then hash-consed together ;) |
I did see the propertized literals native compilation bug! That was an interesting one. And yes, propertized literals do not seem popular. I don't use them just because I feel I can write code to propertize faster than I could look up the correct literal syntax... |
I don't really know why I used them. Maybe propertize is even executed at compile time by the bytecode compiler since it is marked as Another one I've observed in |
Vertico works perfectly in my personal configuration, but if I try
emacs -Q
, thenM-x package-initialize
,M-x vertico-mode
, and thenM-x
again, Vertico displays the number of candidates:1/3860 M-x
and an error message:The error occurs with
M-x
, but not withfind-file
, for example.The text was updated successfully, but these errors were encountered: