aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Walters <markwalters1009@gmail.com>2016-09-27 16:45:27 +0100
committerDavid Bremner <david@tethera.net>2016-10-09 08:50:32 -0300
commit0c52b5d3b29205059dbd308fa8e52558df57401b (patch)
treeb148d8a8d307cd507a14f20a89f445e0d27fd9cb /test
parent385413e0596b65bb759ec246ed03bc1bf7423cb0 (diff)
emacs: include first match in address completion
The current code for address completion takes the list of possible completions (whether generated internally or externally), makes the first match the initial value for the completion, and puts all the others (but not the first match) into the possible completions. This has the nice effect that the <down> key takes you immediately to the next completion (whereas if the first match were included in the possible completions it would take you to the first match again). However, it has two side effects. First, once you have completed to the full match you find it says and try completing again you get told "no match" not "sole completion". Secondly, if you delete some of the text and try completing you don't get the first match as an option. This tries to get round most of these problems by including the full list of possible completions, but with the first match moved to the very end of the list.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions