This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH v2 07/24] Remove "show" command completers, "set" command completers for string commands
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 4 Jun 2019 22:54:04 +0100
- Subject: Re: [PATCH v2 07/24] Remove "show" command completers, "set" command completers for string commands
- References: <email@example.com> <firstname.lastname@example.org> <email@example.com>
On 6/3/19 7:55 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <firstname.lastname@example.org> writes:
> Pedro> I wonder whether we should instead make the default be no completer.
> I think so. The current default seems wrong in many situations, and
> expensive to invoke besides.
> One thing bash does is bind certain keys to specific completers, so for
> example M-! will complete on command names, no matter the context.
> Perhaps gdb could provide something like this as well, for the odd case
> where you really want to complete on a symbol- or file-name in an
> unusual context.
That's an interesting idea.
> I'm ok with this patch in the interim.