I have a custom completer which provides a largish number of possible strings such as:
"Arrays" "Array Instances" "Array Literals" "Array Deletion" "Binary" "Loops" ... When completing single words everything is fine. However when completing an entry which contains a space, then things go wrong: One types "Arr" and hits TAB: The line autocompletes to "Array". Hit TAB again and the list of completions is shows: "Arrays" "Array Instances" "Array Literals" "Array Deletion" ... So far so good ... Now I want to choose "Array Literals", so I enter " L" and hit TAB. But instead of completing to "Array Literals", readline starts a new completion, and completes to "Array Loops" which is not a valid completion. I have tried fooling with rl_completer_word_break_characters, and rl_basic_break_characters, and other variables, but none seems to do anything useful. So my questions are: Is this a bug, or just me using the library incorrectly? Is there any way to get the behaviour which the user would intuitively expect? Thanks, J'
