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


Groups > gnu.bash.bug > #14827 > unrolled thread

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

Started byChet Ramey <chet.ramey@case.edu>
First post2018-11-16 11:34 -0500
Last post2018-11-16 11:34 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#14827 — Re: [PATCH] initial word completion: fix completion of prefix

FromChet Ramey <chet.ramey@case.edu>
Date2018-11-16 11:34 -0500
SubjectRe: [PATCH] initial word completion: fix completion of prefix
Message-ID<mailman.4146.1542386101.1284.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web