So there is ido-completing-read
that seems perfect to assign to completing-read-function
. There is no customization interface though.
How is the user supposed to enable ido-completing-read
for all completing reads?
Seems that convetions is to provide a customization per each package separatelly:
(setq org-completion-use-ido t)
(setq magit-completing-read-function 'magit-ido-completing-read)
(setq gnus-completing-read-function 'gnus-ido-completing-read)
Or use https://github.com/DarwinAwardWinner/ido-ubiquitous that tries to do the correct thing always.
ido-ubiquitous
is just a hack to use ido
wherever possible.
Commented
Aug 24, 2015 at 21:04
Basic setup is just:
(setq
ido-create-new-buffer 'always
ido-enable-flex-matching t
ido-everywhere t)
(ido-mode 1) ; ido for switch-buffer and find-file
Next, to use it everywhere install ido-ubiquitous
and activate it:
(ido-ubiquitous-mode 1) ; use IDO everywhere
ido-vertical
is highly recommended:
(setq ido-vertical-define-keys 'C-n-and-C-p-only)
(ido-vertical-mode 1) ; display IDO vertically
Don't forget about Smex.
completing-read-function
so I guess wiki is older than the function (it usesdefadvice
). Does not really answer my question....ido
?ido-ubiquitous
, or else just set the variable by hand:(setq completing-read-function #'completing-read-ido)
.(setq completing-read-function #'completing-read-ido)
won't work becausecompleting-read-ido
doesn't handle all the different collection types thatcompleting-read-function
might receive (bug#15430).