]> git.notmuchmail.org Git - notmuch/commit
emacs: notmuch-mua-prompt-for-sender: don't force Ido on users
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 10 Jan 2021 14:00:56 +0000 (15:00 +0100)
committerDavid Bremner <david@tethera.net>
Wed, 13 Jan 2021 11:23:11 +0000 (07:23 -0400)
commit37bb41a7929b0abdaaafd8bf1f67e32a9c75a0ec
treeba2b2beb0edfa29fd925917ba612b9c97d1b39b9
parent3f16dd76118e72d7451bf3276092681b7ea946b0
emacs: notmuch-mua-prompt-for-sender: don't force Ido on users

We shouldn't force `ido-completion-read' on users who do not otherwise
use Ido.  Unfortunately simply turning on `ido-mode' does not change
every `completing-read' into a `ido-completing-read', instead it only
changes file and buffer completion.

I do realize that existing Ido users will initially dislike this
change, but I would like to encourage them to see this as an
opportunity to learn about Fido.

Unlike `ido-mode', build-in `fido-mode' confirms to the standard
completion API, so turning it on causes every `completing-read' to
use the Fido completion mechanism and which is similar to the Ido
mechanism:

> An enhanced `icomplete-mode' that emulates `ido-mode'.  This global
> minor mode makes minibuffer completion behave more like `ido-mode'
> than regular `icomplete-mode'."
emacs/notmuch-mua.el