[Bash-completion-devel] [bash-completion-Bugs][311390] DBTS 466067: complete-into-brace should use programmable completion

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Fri Jan 30 08:45:09 UTC 2009


Bugs item #311390, was opened at 30/01/2009 09:45
Status: Open
Priority: 3
Submitted By: David Paleino (hanska-guest)
Assigned to: Nobody (None)
Summary: DBTS 466067: complete-into-brace should use programmable completion  
Distribution: None
Originally reported in: Debian BTS
Original bug number: 466067


Initial Comment:
complete-into-braces, as documented, performs filename completion.
This is quite awkwards, since when a programmable completion is
available, it means in many cases that filenames are not valid
completions.

I do agree that it would not be reasonable to expand to all possible
completions, since eg. it would be pointless to expand all possible
option flags - this example shows that the problem is not trivial to
handle.

OTOH, it would seem that a first intermediary step would be useful, by
allowing brace completion of everything returned by the pgorammable
completion, that does not start with a hyphen.  For cases where it
does make sense, it is a huge usability improvement, and for cases
where it does not, it is likely not to make less sense than
brace-completing filenames - anyway, as today, the user can undo the
expansion if it does not fit.


----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311390&group_id=100114



More information about the Bash-completion-devel mailing list