bugGNU Octave - Bugs: bug #46402, TAB autocomplete does not recurse...


bug #46402: TAB autocomplete does not recurse properly into directories

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sun 08 Nov 2015 08:24:37 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  4.0.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 14 Nov 2015 10:38:41 AM UTC, comment #1: 

This is a result of autocomplete thinking that "/" is a division operator, and starting a new autocomplete.

See bug #34624.  There is some progress on fixing this in the latest development tree.

Lachlan Andrew <lachlan>
Sun 08 Nov 2015 08:24:37 PM UTC, original submission:  

When using TAB with the cd command to autocomplete directory names, it always uses the top directory.

>> pwd

ans = /home/octave-4.0.0

>> cd et [press TAB] ==> this results (correctly) in the autocompleted command cd etc/


>> cd etc/et [press TAB] ==> this results in cd etc/etc/

which is non-existent.

Similarly with edit:

>> edit etc/ [press TAB]

Display all 1775 possibilities? (y or n)

There are not 1775 files in the etc/ directory. It seems TAB autocomplete is looking in the entire path for possibilities.

Ceral Paquet <octavebugs>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-22 mtmiller CategoryNone => Interpreter
        StatusNone => Duplicate
        Open/ClosedOpen => Closed
        Dependencies- => Depends on bugs #34624

    Back to the top

    Powered by Savane 3.5