Re: dabbrev-expand completions are sorted

2017-03-16 Thread Chet Ramey
On 3/16/17 1:49 PM, Roee Bar wrote: > There is no ambiguous in dabbrev-expand - it is well defined what the > completion should be: each key press cycles through the matches from most > recent to oldest match. This is different than TAB completion, where it is > possible to have several matches

Re: dabbrev-expand completions are sorted

2017-03-16 Thread Chet Ramey
On 3/15/17 1:56 PM, Roee Bar wrote: > Thanks Chet. > > I found out it happens only when I have this one is in my .inputrc: > set completion-ignore-case on OK, that helped me find it. It will be fixed in the next devel branch push. Thanks. Chet -- ``The lyf so short, the craft so long to lerne

Re: dabbrev-expand completions are sorted

2017-03-16 Thread Roee Bar
There is no ambiguous in dabbrev-expand - it is well defined what the completion should be: each key press cycles through the matches from most recent to oldest match. This is different than TAB completion, where it is possible to have several matches so it makes sense to display them. That is

Re: dabbrev-expand completions are sorted

2017-03-16 Thread Chet Ramey
On 3/15/17 4:25 PM, Roee Bar wrote: > Also, not as serious as the bug below, if you have 'set show-all-if-ambiguous > on’ on your .inputrc, it shows all matching on dabbrev-expand as well (I > don’t think it should). I think it should. If you have that variable enabled, you want it to act consi

Re: dabbrev-expand completions are sorted

2017-03-15 Thread Roee Bar
Also, not as serious as the bug below, if you have 'set show-all-if-ambiguous on’ on your .inputrc, it shows all matching on dabbrev-expand as well (I don’t think it should). > On Mar 15, 2017, at 10:56, Roee Bar wrote: > > Thanks Chet. > > I found out it happens only when I have this one is

Re: dabbrev-expand completions are sorted

2017-03-15 Thread Roee Bar
Thanks Chet. I found out it happens only when I have this one is in my .inputrc: set completion-ignore-case on Regards, Roee > On Mar 15, 2017, at 04:50, Chet Ramey wrote: > > On 3/15/17 1:54 AM, r...@arista.com wrote: > >> Bash Version: 4.3 >> Patch Level: 42 >> Release Status: release >> >

Re: dabbrev-expand completions are sorted

2017-03-15 Thread Chet Ramey
On 3/15/17 1:54 AM, r...@arista.com wrote: > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > Description: > dabbrev-expand supposed to menu complete using history where most > recent entries are presented first. However, it seems like the entries are > sorted. > Th

dabbrev-expand completions are sorted

2017-03-15 Thread roee
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'