Re: Bug: Tab completion for pdf files with blanks in path

2024-02-04 Thread Max Nikulin
On 30/01/2024 12:50, David Wright wrote: On 30/01/2024 02:51, David Wright wrote: . Press HOME, . Type any letter that makes a "wrong" command name (eg aokular), . Press END, [...] However, using my "wrong" command method, Tab Tab lists are complete all the way down the path. You can then corr

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread David Wright
On Tue 30 Jan 2024 at 10:34:21 (+0700), Max Nikulin wrote: > On 30/01/2024 02:51, David Wright wrote: > > . Press HOME, > > . Type any letter that makes a "wrong" command name (eg aokular), > > . Press END, > > The escape "Esc /" workaround has been posted in this thread already. Yes, I believe I

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Max Nikulin
On 30/01/2024 02:51, David Wright wrote: . Press HOME, . Type any letter that makes a "wrong" command name (eg aokular), . Press END, The escape "Esc /" workaround has been posted in this thread already. It uses built-in readline path completion instead of BASH programmable completion. It may

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Michael Kiermaier
On 1/29/24 20:59, Greg Wooledge wrote: complete -r isn't intended as a workaround. It's intended as a diagnostic step. Seeing the problem go away when completion goes away means that the problem is *in* the completion. Thus, he knows which package to file a bug report against. Yes, I underst

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Greg Wooledge
On Mon, Jan 29, 2024 at 01:51:19PM -0600, David Wright wrote: > On Mon 29 Jan 2024 at 19:31:50 (+0100), Michael Kiermaier wrote: > > Thank you for your responses! After 'complete -r' the problem > > disappears. I should add that I never touched the autocomplete settings. > > No, but you lose your

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread David Wright
On Mon 29 Jan 2024 at 19:31:50 (+0100), Michael Kiermaier wrote: > On 1/29/24 18:59, Greg Wooledge wrote: > > On Tue, Jan 30, 2024 at 12:05:24AM +0700, Max Nikulin wrote: > > > On 29/01/2024 19:40, Greg Wooledge wrote: > > > > Let me test that as well > > > [...] > > > > unicorn:/tmp$ xyz dir\

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Michael Kiermaier
On 1/29/24 18:59, Greg Wooledge wrote: On Tue, Jan 30, 2024 at 12:05:24AM +0700, Max Nikulin wrote: On 29/01/2024 19:40, Greg Wooledge wrote: Let me test that as well [...] unicorn:/tmp$ xyz dir\ with\ blanks/dir2/file "okular" is important here. Only limited set of file name suffixes a

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread David Wright
On Mon 29 Jan 2024 at 12:59:39 (-0500), Greg Wooledge wrote: > On Tue, Jan 30, 2024 at 12:05:24AM +0700, Max Nikulin wrote: > > On 29/01/2024 19:40, Greg Wooledge wrote: > > > Let me test that as well > > [...] > > > unicorn:/tmp$ xyz dir\ with\ blanks/dir2/file > > > > "okular" is important h

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Greg Wooledge
On Tue, Jan 30, 2024 at 12:05:24AM +0700, Max Nikulin wrote: > On 29/01/2024 19:40, Greg Wooledge wrote: > > Let me test that as well > [...] > > unicorn:/tmp$ xyz dir\ with\ blanks/dir2/file > > "okular" is important here. Only limited set of file name suffixes are > allowed for some commands

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Max Nikulin
On 29/01/2024 19:40, Greg Wooledge wrote: Let me test that as well [...] unicorn:/tmp$ xyz dir\ with\ blanks/dir2/file "okular" is important here. Only limited set of file name suffixes are allowed for some commands. You do not need to have okular installed, completion rules are part of

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread David Wright
On Mon 29 Jan 2024 at 07:40:13 (-0500), Greg Wooledge wrote: > On Mon, Jan 29, 2024 at 09:32:18AM +0100, Michael Kiermaier wrote: > > I would like to run okular opening the pdf file > > ~/dir1\ with\ blanks/dir2/file.pdf > > via command line. In konsole I type > > okular ~/dir1\ with\ b

Re: Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Greg Wooledge
On Mon, Jan 29, 2024 at 09:32:18AM +0100, Michael Kiermaier wrote: > I would like to run okular opening the pdf file > ~/dir1\ with\ blanks/dir2/file.pdf > via command line. In konsole I type > okular ~/dir1\ with\ blanks/ > and hit the tab key twice for autocomplete. But I won't get

Bug: Tab completion for pdf files with blanks in path

2024-01-29 Thread Michael Kiermaier
Dear Debian Team, I think I found a bug, and I'm writing to this list as I don't know the associated package (according to https://www.debian.org/Bugs/Reporting). I'm experiencing this bug in konsole (KDE's terminal emulator), but the same bug has been reported here https://askubuntu.com/