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 30 Sep 2011 08:33:21 PM UTC  
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev 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.


Thu 15 Sep 2016 03:24:55 PM UTC, comment #4: 

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

Rik <rik5>
Project Administrator
Thu 15 Sep 2016 09:14:09 AM UTC, 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 29 Dec 2015 05:26:21 AM UTC, 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

my_function (a', "start/of/pat<TAB>

but there will be the minority.

Lachlan Andrew <lachlan>
Mon 30 Sep 2013 04:21:12 AM UTC, 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:


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 30 Sep 2011 08:33:21 PM UTC, 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

x' * hann<TAB>   # Nothing completes
hann<TAB>        # Completes to "hanning"
x' hann<TAB>     # Completes to "x' hanning' " which may be a
                   clue that the parser thinks sommething with
                   strings is going on.

Rik <rik5>
Project Administrator


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

Attach Files:

No files currently attached


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (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
    2016-09-15 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2013-09-30 mtmiller StatusNone => Confirmed
    2011-10-26 rik5 Dependencies- => bugs #34624 is dependent

    Back to the top

    Powered by Savane 3.5