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

 
 

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

Submitted by:  Lachlan Andrew <lachlan>
Submitted on:  Sun 26 Jun 2016 10:56:27 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: Lachlan Andrew <lachlan>
Originator Name: LachlanOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

not

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.

Thanks!

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:

http://hg.savannah.gnu.org/hgweb/octave/rev/ed8a0c39e14c

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

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>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by lachlan (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 24 Jul 2016 03:09:22 PM UTCjweStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Sun 26 Jun 2016 11:37:41 PM UTClachlanAttached File-=>Added bug_48317_tab_complete_local.cset, #37589
      StatusNone=>Patch Submitted
      Originator Name=>Lachlan

    Back to the top


    Powered by Savane 3.1-cleanup1