wip: complete-word tweak

Signed-off-by: Takeshi Banse <takebi@laafc.net>
tweak completeword a bit

Signed-off-by: Takeshi Banse <takebi@laafc.net>
Respect completer-vars right before the returns

Signed-off-by: Takeshi Banse <takebi@laafc.net>
Clear compstate[old_list]

Signed-off-by: Takeshi Banse <takebi@laafc.net>
WIP: Add _match/_approximate coordinates.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
install _afu_match, too.

To traking _match completer, use the _afu_match instead.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
Extract match handling code from the main func.

Separate match and approximate handling code from the `auto-fu`
function to its own `with-afu-match-handling`.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
Rename with-afu-completer-trackings.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
rename some functions.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
2 more fixes.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
Add comments.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
if omit this, extra tab key will be needed.

Yes, it *IS* needed.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
This function was renamed.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
Update the _match/_approximate notes.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
keep buffer and squeeze the comp funcs suffixes.

% git show oo
⇒ move the selection cursur to the 'todo'
⇒ enter ':'

Signed-off-by: Takeshi Banse <takebi@laafc.net>
Handle _match's result properly.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
More fun with _match. THIS IS SUBJECT TO CHANGE

Signed-off-by: Takeshi Banse <takebi@laafc.net>
spelling fix

Signed-off-by: Takeshi Banse <takebi@laafc.net>
introduce afu_match_rec_p

For example, 'ls *' → select the “original” → expands "*" and in the
menuselecting state.
To prevent these annoying behavior, add a tracking variable whether
_match handling code is being taken into account or not.

Signed-off-by: Takeshi Banse <takebi@laafc.net>
remove an extra white space appended by magic-space

Signed-off-by: Takeshi Banse <takebi@laafc.net>