Re: [PATCH] initial word completion: fix completion of prefix
From:
Chet Ramey
Subject:
Re: [PATCH] initial word completion: fix completion of prefix
Date:
Fri, 16 Nov 2018 11:34:43 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
On 11/9/18 1:52 PM, Luca Boccassi wrote:
> If the user types:
>
> gcfile.c
>
> And positions the cursor of 'f', a programmable completion enabled on
> initial word (-I) will fail to run. This is because the parsing gives
> priority first to the _minimal programmable completion that does
> nothing, and then if that is disabled it gives the next priority to
> command completion, unlike what happens when completing a full word,
> stopping the initial word completion from working.
Thanks for the report and patch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/