]> git.notmuchmail.org Git - notmuch/commit
emacs: notmuch-address-expand-name: use the actual initial-input
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 10 Jan 2021 14:01:12 +0000 (15:01 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 15 Jan 2021 10:49:07 +0000 (06:49 -0400)
commita2bf29ad359539ed48a75ebb593897382d9a1de4
treedfcd6afabca3e611bd8c776797c13065f7c1cc66
parent055294454fb944a2aec062fbb974665b02d9eaeb
emacs: notmuch-address-expand-name: use the actual initial-input

Users may type some text into the buffer on an address line, before
actually invoking address completion.  We now use that text as the
initial input when we begin address completion.

Previously we did knowingly replace the actual initial input with some
completion candidate that happens to match. Which candidate is used is
essentially random, at least when the actual initial input is short.
As a result users very often had to begin completion by deleting the
less than helpful "initial input".
emacs/notmuch-address.el