Igor, I've attached a new version of incremental completion that is roughly as fast as the previous non-incremental version and is also a bit clearer than any incremental completion patch I've sent so far.
Also answers to your questions below: On 11 September 2012 21:21, Igor Murzov <e-m...@date.by> wrote: > > Looks like this one works much slower than the previous. Fixed by reverting key elements to be as in the previous incremental completion change, but changed the way "mode" modifies the output to be a bit clearer. > * if you want to use _make_sed_escape() only once, then > why you need it at all? That was just for clarity. The attached patch reverts to not bothering - but it does add escaping for comma because the clever expression to output only part of the name can use less escaping inline by following the form s,lexpr,rexpr, instead of s/lexpr/rexpr/ Regards Tristan
commit-49a24cd-incremental-completion
Description: Binary data
_______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel