Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14827

Re: [PATCH] initial word completion: fix completion of prefix

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] initial word completion: fix completion of prefix
Date 2018-11-16 11:34 -0500
Message-ID <mailman.4146.1542386101.1284.bug-bash@gnu.org> (permalink)
References <20181109185217.15127-1-bluca@debian.org>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] initial word completion: fix completion of prefix Chet Ramey <chet.ramey@case.edu> - 2018-11-16 11:34 -0500

csiph-web