octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46881] grey/gray


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #46881] grey/gray
Date: Wed, 17 Feb 2016 15:52:04 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0

Follow-up Comment #5, bug #46881 (project octave):

i was curious. a few trials did not produce the 'did you mean' response until
the command had >=5 characters. Arcsin(1) did suggest asin(1),but arcsec(1)
didn't suggest asec(1). 

Regarding multiple possibilities, various misspellings of interp, interp1,
interp2, interpn, etc., failed to invoke the 'did you mean'.  

so I'm guessing there's just a lookup table involved with frequent
misspellings. (maybe matlab logs and reports back such things?). But, this is
one of those areas where Octave isn't bounded by Matlab behavior, so it could
be an interesting area for improvement. 

For how to handle things, Matlab immediately places the suggested command on
the interpreter line, such that you hit enter and it executes. So that
precludes multiple options. I guess you could try presenting the options in a
bash tab-completion sort of way (a la the show-all-if-ambiguous option)

This could quickly get quite involved. Maybe it should go on a GSOC project
suggestion? 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46881>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]