I found Selectrum after some annoyances with Helm and Ivy/Counsel came up. Cool project!
Question: do you plan to support pluggable display functions? I don't like showing completions in a vertical minibuffer, because resizing the minibuffer causes all windows to resize in a jarring manner. This especially affects Emacs in full-screen mode on large monitors. ivy-posframe solves this problem for Ivy, and Ivy itself supports pluggable display functions which allow posframe alternatives, such as showing completions in the current window.
That seems reasonable. I want to be cautious about making things _too_ flexible, but I agree that a way to at the very least put the candidates in a posframe would be desirable. Perhaps the user may supply an alist of functions for setup, display, and teardown. Some refactoring of the control flow would be necessary to make it work outside the minibuffer, but I think it's doable. Thanks for the suggestion.
One can also use https://github.com/muffinmad/emacs-mini-frame.
I can confirm that mini-frame seems to be compatible with Selectrum. Nice!
@gcv emacs-mini-frame is now documented in the README; is that an adequate solution for your use case?
I tried it, and agree it works. Thanks.
This didn't work for me I get the following error as soon as I try to use M-x:
Error in post-command-hook (selectrum--minibuffer-post-command-hook): (error "Cannot resize a minibuffer-only frame")
Find file gets a bit further, but after a few completions I get the same and the menu stop update.
Are you using the most recent version? The error should be gone since yesterday (#154). You probably also want to use the config from the wiki.
Ah, that might be it. I am using 20200806.1322
Seeing the other one was merged yesterday, I will try to update. Thanks!
You are welcome! Open another issue if something else with mini-frame isn't working for you, I only tested it shortly and don't use it myself.