This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/15548] Limit completions to a pre-defined limit when completions list is very large
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 03 Jun 2013 19:25:33 +0000
- Subject: [Bug cli/15548] Limit completions to a pre-defined limit when completions list is very large
- Auto-submitted: auto-generated
- References: <bug-15548-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15548
--- Comment #2 from dje at google dot com ---
One problem I see with implementing this (and hopefully I'm either wrong or
will be easy to fix) is that readline doesn't work the way we want it to for
this purpose. readline first finds all completions and *then* asks if the user
wants to see them all. Instead, we need readline to, say, first fetch the
first N+1 items, and then if it returns N+1 then ask the user if s/he wants to
see them all (or the next N, or whatever).
--
You are receiving this mail because:
You are on the CC list for the bug.