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: Mike Miller
Subject: [Octave-bug-tracker] [bug #42291] tab completion gives incorrect filenames when filename contains operators
Date: Mon, 05 May 2014 13:23:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

Update of bug #42291 (project octave):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 
                 Summary: tab completion gives incorrect filenames => tab
completion gives incorrect filenames when filename contains operators

    _______________________________________________________

Follow-up Comment #1:

Confirmed, but not a bug. This is because the files have hyphens in them and
you are using command syntax (no parentheses, bare words treated as strings).
Remember that the minus sign is an operator in Octave, so it is delimiting the
tokens "mlclass" and "ex".

Fortunately, there is an easy workaround. If you use single or double quotes
around files, you should not see this problem and tab complete will even add
the closing quote for you.

Yes it is an odd interaction with filename completion when using command
syntax, but I don't see much that could be done about it, other than filtering
out all files that contain operators so you wouldn't be able to complete on
them at all.

But feel free to respond if you think this should be fixed or you do see a way
to address it without taking away current functionality.

    _______________________________________________________

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]