Description of problem: When using tab completion for media files with mplayer, they won't complete. Tab does nothing Version-Release number of selected component (if applicable): bash-completion.noarch 1:1.0-2.fc11 How reproducible: mkdir test touch "a b c.mpg" touch "l.avi" type: mplayer "a[tab] and it completes properly mplayer "a[space][tab] and it does not complete and just lists: a b c.mpg l.avi mplayer "a[space]b[tab] and nothing is displayed and just beeps. Expected results: All of the above [tab] presses should have resulted in a completed filename.
Is there a "cd test" missing in your reproducer? Assuming so. Completing using quotes like that doesn't work at all in F-10 (I guess bash < 4), and I'm a bit surprised that it works in the first place with later versions - it does work in a Rawhide mock chroot for me the expected way. A workaround for F-11 seems to be not to use quotes at all, just do "mplayer a[tab]". So, this seems to be something that happens in F-11 only. bash-completion is practically the same in both so I suppose something else causes it. bash maintainers, any ideas? Oh, and this doesn't seem to have anything to do with mplayer, it's reproducible using for example python too: mkdir test cd test touch "a b c.py" "l.py" python "a<TAB> --> completes OK to 'python "a b c.py"' python "a <TAB> --> does not complete, 2nd <TAB> lists "a b c.py l.py" as possible completions python "a b<TAB> --> does not complete at all
> Is there a "cd test" missing in your reproducer? Assuming so. Yes...you're right. My bad. > Completing using quotes like that doesn't work at all in F-10 > (I guess bash < 4) I upgraded from F-9 directly to F-11. It worked perfectly in F-9. Thanks for generalizing the test case. Joel
I don't have access to a F-9 box, but it seems to work on F-8 as well, so F-10 and F-11 seem to be affected, possibly in different ways.
Any word on this one?
Not yet.
Forwarded upstream: https://alioth.debian.org/tracker/index.php?func=detail&aid=312103&group_id=100114&atid=413095
bash-completion-1.2-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/bash-completion-1.2-1.fc13
bash-completion-1.2-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.