smex
smex copied to clipboard
Smex forces ido-max-prospects 10
Hi!
smex-completing-read
overrides ido-max-prospects
with 10 and it is not customizable. I'm not sure if it's reasonable to ignore user ido customization (for example, I preffer when ido-max-prospects
is 3). I think it should be customizable at least (maybe with smex-max-prospects
).
If you have the following code in your emacs config files, you can override it. I agree that it should probably be a variable to override.
(require 'smex)
(defun smex-completing-read (choices initial-input)
(let ((ido-completion-map ido-completion-map)
(ido-setup-hook (cons 'smex-prepare-ido-bindings ido-setup-hook))
(ido-enable-prefix nil)
(ido-enable-flex-matching smex-flex-matching)
(ido-max-prospects 100) ; Only change from default
(minibuffer-completion-table choices))
(ido-completing-read (smex-prompt-with-prefix-arg) choices nil nil
initial-input 'extended-command-history (car choices))))