reddit / emacs

Limit number of lines in find-file or execute-extended-command (M-x)

RepublicWorried · 2022-11-02 08:52
I am using fido-vertical (which in turn supposedly employs icomplete) and when I hit said key combinations there are like 20 suggestions displayed to start with. How can I limit this list to like 5 or sth. in the hope to make those command executions snappier?
7890yuiop · 2022-11-02 12:15
I don't use fido, but I'd be awfully surprised if *displaying* the options was the slow part. Is it equally slow if you run `emacs -Q` and `M-x fido-vertical-mode`? If that's "snappy" and your regular config is not, then the problem presumably isn't the number of items being shown.
RepublicWorried · 2022-11-02 17:10
vanilla yields the same behavior, i.e. slight lag. Seems to be an issue with fido
7890yuiop · 2022-11-04 00:25
Customize the icomplete group? There's a delay for large sets -- but it's only 0.15 seconds...