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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating 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>
Project Member
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/


But

>> 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 File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Dec 2015 03:30:12 PM UTCmtmillerCategoryNone=>Interpreter
      StatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #34624

    Back to the top


    Powered by Savane 3.1-cleanup1