> >> On Feb 9, 2009, at 11:34 PM, Simon King wrote:
> >>> Yes!
> >>> I could imagine:
> >>>  1. FOO.X<TAB> searches for attributes that start with X (current
> >>> behaviour)
> >>>  2. FOO.X<Shift-TAB> searches for attributes that *contain* X (new
> >>> feature)

+1 as well

And a big +1 in general for this discussion. In MuPAD-Combinat we had
gone for the "eigenvectors_right" convention precisely for this
question of tab completion. When moving to sage, we discovered the
bla.*eigenvectors*? trick, and decided accordingly to drop the ugly.

Note: to me the most natural thing to do would be (and this would be
consistent with "?"):

   FOO.X<TAB>: current behavior: searches for attributes that start with X

   FOO.*X<TAB>: extended behavior: searches for attributes that contain X

One advantage is that this should require no change in the sage
interfaces. In particular, this does not require playing with special
inputs like Shift-TAB, which can be messy in terminals.

Cheers,
                                Nicolas
--
Nicolas M. Thiéry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to