bugGNU Octave - Bugs: bug #34444, <TAB> complete does not work...

 
 

bug #34444: <TAB> complete does not work after transpose operator and math operator

Submitted by:  Rik <rik5>
Submitted on:  Fri Sep 30 20:33:21 2011  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu Sep 15 15:24:55 2016, comment #4:

Thanks for checking up on these old bugs. I'm marking as fixed and closing report.

Rik <rik5>
Project Administrator
Thu Sep 15 09:14:09 2016, comment #3:

With the changeset in bug #44095 having been pushed, this now work as expected with 4.2.0-rc1.

Markus M├╝tzel <mmuetzel>
Project Member
Tue Dec 29 05:26:21 2015, comment #2:

This is fixed by v4 of the patch for bug #44095. It sets rl_completer_quote_characters each time a completion is requested, based on whether the completion appears to be a filename or a variable. It will still make mistakes on commands like
but there will be the minority.

Lachlan Andrew <lachlan>
Project Member
Mon Sep 30 04:21:12 2013, comment #1:

Confirmed still present on the latest development version.

Due to the readline variable rl_completer_quote_characters, which is set indirectly in initialize_command_input:

http://hg.savannah.gnu.org/hgweb/octave/file/6c62150b454a/libinterp/corefcn/input.cc#l472

Commenting that line out makes the tab-completion example below work, but tab-completion no longer adds an ending single-quote to a quoted filename or symbol name.

Mike Miller <mtmiller>
Project Administrator
Fri Sep 30 20:33:21 2011, original submission:

This is somewhat obscure but there seems to be a branch in the parser for which <TAB> complete is not recognized. The test example uses "hann<TAB>" which should auto-complete to hanning. Other examples with directories such as "/hom<TAB>" also exhibit the same problem.

Sample code

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by mmuetzel (Posted a comment)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (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
    Thu Sep 15 15:24:55 2016rik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Mon Sep 30 04:21:12 2013mtmillerStatusNone=>Confirmed
    Wed Oct 26 03:10:33 2011rik5Dependencies-=>bugs #34624 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup