Completiong for first word invoked even when cursor is before the first word

2011-05-01 Thread Ville Skyttä
Hello, Completion functions seem to be invoked for the first word even when the cursor is before that word. For example: $ foo() { echo ; echo completing; } $ foo # hit Ctrl-A to go to beginning of line (before foo), then Tab completing Same thing if there's whitespace before the first word and

Re: bug on [A-Z] and [a-z]

2011-05-01 Thread Jonathan Nieder
Hi, ri...@inf.ufpr.br wrote: > When running "echo [A-Z]*" , it shows all files/dirs of current > directory, not only those starting with capital letters. I tried > different locales such as: POSIX, C, en_US, pt_BR > > Repeat-By: > $ mkdir a && cd a > $ touch a b c; mkdir D