On Tue, Feb 10, 2009 at 7:22 AM, Carl Witty <carl.wi...@gmail.com> wrote: > On Mon, Feb 9, 2009 at 11:34 PM, Simon King <k...@mathematik.uni-jena.de> > wrote: >> >> Hi! >> >> On Feb 9, 11:46 pm, john_perry_usm <john.pe...@usm.edu> wrote: >>> What if there were a different trigger for the extended completions? >>> This way the user would have only one box to parse at a time. >> >> 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) > > Note that this suggestion won't work on the command line. > > Carl
Hmm... I was guessing that xterm had no way to pass a "shift-tab" to an application, but actually it looks like I was wrong; it works for Emacs, so it presumably works (or could work) for Sage. xterm sends ESC [ Z I have no idea how hard it would be to actually catch that. (In the worst case, I could imagine that we would have to modify both readline and IPython.) I also don't know what other terminal emulators besides xterm do. Carl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---