-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Provide an alternative to counsel-unicode #4
Comments
Why is that needed? For me Emacs 27.1 already shows the unicode character and the name if I call insert-char. I have bound insert-char to "C-c u" in my init.el. What else do you have in mind? Do you want to see the hex code etc? Please note that I have never really used ivy. I've been on ido for years and only recently upgraded to selectrum. Therefore if you want something specific, I appreciate a detailed description! |
You're absolutely right, sorry. I was thinking of showing the preview of the unicode charter along with the name. I am on Emacs 28 (commit: |
Yes, I am currently trying to find out which part of my elaborate init.el is resposible for the preview 😂 |
I looked into the code of Maybe they added an option in Emacs 28 which disables annotations by default? Edit: Actually it seems that some things have been changed in 28, there is no |
I am looking into it right now, but it seems to add |
@manuel-uberti It seems the affixations funtion is a VERY recent addition! It supports prefix and suffix! See the commit emacs-mirror/emacs@3b74059! Also ping @clemera - it seems Emacs 28 will support prefix and suffix via the affixation function! We just discussed this! Maybe selectrum could already start supporting the affixation metadata? |
Oh, well, I am too much on the bleeding edge I see. :) |
Yes, very much too much 😆 But if you are on it and currently not busy studying it would be great if you could help test consult on 28! I don't have 28 yet (still waiting util gccmacs hits master...) |
Sure thing. Let me install it and give it a spin. |
A quick run went very well. I tried
Now, if only |
Cool, did you try the preview too? This is a more intricate feature. Even if you don't like it could you try it? This would help. Regarding consult-unicode, I am not sure if we should add it here since the benefit over the standard insert-char seems to be rather marginal (If there is even one with the affixation function...) |
Yes, I tried with the preview. It's a bit distracting for me when switching buffers, but it works as expected. As for |
Thank you for testing!
For me it works with 26 and 27, I guess it should also work with some configuration on 28. |
I see, then I guess we can close it here, since it does not seem related neither to |
@manuel-uberti The preview seems to be particularly useful if one wants to do recursive edits of the preview. But this probably applies more to consult-line, consult-mark and consult-outline. I made sure that editing works and does not move the candidates. So you can jump back and forth between an active search and the buffer. |
Hi,
just an idea maybe worth looking into. Also, there is insert-char-preview that offers a more generic approach than
counsel-unicode
.The text was updated successfully, but these errors were encountered: