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

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

[Octave-bug-tracker] [bug #60023] Tab completion gets confused for files


From: anonymous
Subject: [Octave-bug-tracker] [bug #60023] Tab completion gets confused for files with hyphens
Date: Mon, 8 Feb 2021 14:48:35 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

URL:
  <https://savannah.gnu.org/bugs/?60023>

                 Summary: Tab completion gets confused for files with hyphens
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 08 Feb 2021 07:48:33 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.1.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Say that you have two files named foo-one.mat and foo-two.mat. On typing "load
foo" at the Octave command prompt and pressing tab, Octave shows the available
files beginning with "foo" including foo-one.mat and foo-two.mat but on then
typing "load foo-o" and pressing tab, expecting it to complete foo-one.mat, it
gets confused and gives unrelated results. Apparently the first tab lists the
hyphenated names but the second tab interprets it as a minus sign not as part
of a file name.

Is there a workaround for this behavior, other than to avoid the use of
hyphens in file names?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60023>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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