octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47340] wrong tab completion on folder names w


From: Hartmut
Subject: [Octave-bug-tracker] [bug #47340] wrong tab completion on folder names with spaces
Date: Mon, 07 Mar 2016 09:53:22 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

Follow-up Comment #3, bug #47340 (project octave):

Stop. Here is an idea how to better handle this:

Suppose you have a folder "my data" in your current directory, which itself
has a subfolder "test folder" in it. How about the following behavior:

* "cd my[tab]" leads to "cd 'my data'" ( or even better lead to "cd 'my
data'/" )
* afterwards the user can finish by pressing Enter (this was my original
usecase) and everything is fine
* OR the user can continue typing like this "cd 'my data'/tes[tab]" which
should then be auto completed to "cd 'my data'/'test folder'". This results
seems to be valid Octave syntax for a folder name as well. So pressing Enter
will now also suceeed.

In order to facility the above behavior (at least) two changes are necessary:
* The auto completion of folder names with spaces in the name, should be
closed with a quote sign. (original issue) Optionally we could still add the
trailing slash as well.
* Inputs like "cd 'my data'/tes[tab]" should be properly auto completed.

I hope I could make it clear how me idea is ment. I think it would make it
possible that both mentioned use cases work simultanously :)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47340>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]