Re: in completion, $COMP_WORDBREAKS should be ignored, unless there are no matches

2012-05-25 Thread Raphaël Droz
On Wed, May 23, 2012 at 01:11:27PM +0200, Vincent Lefevre wrote: > It seems that $COMP_WORDBREAKS annoys users when filenames contain > one of its characters: [...] > Unsetting $COMP_WORDBREAKS is not a solution, as completion would no > longer work in contexts where such characters are word separ

Re: locale specific ordering in EN_US -- why is a

2012-05-25 Thread Raphaël Droz
On Mon, May 21, 2012 at 12:19:26PM -0700, Linda Walsh wrote: > So which is correct? > > Anyone wanting to reference an upper or lower case range > [a-z] or [A-Z], is gonna hurt from this. > > My OS uses "en_US.UTF-8". I don't remember this bug having been cited here: https://bugs.launchpad.net/u

Re: old-menu-complete behavior in bash v4 / readline v6

2012-05-25 Thread Alan
By the way, if anyone wants a fix for this bug, here it is: In lib/readline/funmap.c, around line 107, make "menu-complete" map to rl_old_menu_complete: { "menu-complete", rl_old_menu_complete }, In lib/readline/complete.c, around line 2443, comment out the if-loop: /*if (match_list_size > 1 &&