bugGNU Octave - Bugs: bug #48317, tab autocomplete doesn't complete...


bug #48317: tab autocomplete doesn't complete local functions

Submitter:  Lachlan Andrew <lachlan>
Submitted:  Sun 26 Jun 2016 10:56:27 AM UTC
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  lachlan
Originator Name:  Lachlan Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sun 24 Jul 2016 03:09:22 PM UTC, comment #2: 

Ooops, I think I was wrong about the autocompletion problem.  I was just trying something like

octave> libinterp/<TAB>


octave> ls libinterp/<TAB>

which does work.  So the fact that directory completion is context dependent was confusing me.  But I think it's fine that it is context dependent.

Closing this report since the original issue seems to be fixed.


John W. Eaton <jwe>
Project Administrator
Sat 23 Jul 2016 10:41:35 PM UTC, comment #1: 

I edited the commit message and checked in this changeset here:


Lachlan: It seems like completion of subdirectories doesn't work now, but it also doesn't seem to be related to the last two completion changesets of yours that I committed.  Hmm.

John W. Eaton <jwe>
Project Administrator
Sun 26 Jun 2016 10:56:27 AM UTC, original submission:  

Tab completes global function names, but does not complete the names of local functions currently in scope.

To reproduce this bug, create foo.m containing

function foo

function inner_function

Type 'foo', and at the prompt type 'inner_f<TAB>'.  Notice that it does not complete, even though inner_function is in scope.

I have a patch, which I'll submit once I get the patch number.

Lachlan Andrew <lachlan>


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

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-24 jwe StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2016-06-26 lachlan Attached File- Added bug_48317_tab_complete_local.cset, #37589
        StatusNone Patch Submitted
        Originator Name Lachlan

    Back to the top

    Powered by Savane 3.9