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

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

[Octave-bug-tracker] [bug #42291] tab completion gives incorrect filenam


From: Frederick Robinson
Subject: [Octave-bug-tracker] [bug #42291] tab completion gives incorrect filenames when filename contains operators
Date: Mon, 05 May 2014 22:55:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140319 Firefox/24.0 Iceweasel/24.4.0

Follow-up Comment #2, bug #42291 (project octave):

Thanks for the explanation, that makes a lot of sense. I still think that this
behavior is undesirable though. 

As a user, when I press tab, I think I am asking the program "complete this
with the longest file/folder name prefix you can" In this case though (if I
understand correctly) the completion it offers (mlclass-ex) is not a valid
prefix at all, but rather the difference of two strings.

As for a fix, how about using the quote method that you mention. Whenever the
autocomplete adds a piece of filename which includes an operator it could add
an opening quote too (if not already present). So we'd have

>cd ml<tab>
>cd 'mlclass-ex
>cd 'mlclass-ex1<tab>
>cd 'mlclass-ex1/'

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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