This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: complete command doesn't work for files...
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Jim Ingham <jingham at apple dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 24 Sep 2003 16:25:04 -0700
- Subject: Re: complete command doesn't work for files...
- References: <CAC0B9EB-EEE4-11D7-BEC8-00039379E320@apple.com>
Jim,
I don't have any authority on the patch itself, but I do think that
it would be really worth to directly insert inside the code the text
of your changelog entry. I find it easier to find the relevant
information when it's inside the code, as opposed to inside the
ChangeLog.
> * completer.c (complete_line): For filename completions, when you
> look for
> the last word before the cursor, actually start from the cursor &
> work backwards,
> rather than starting from the word you were handed. Starting
> from the
> word doesn't work if the input contains more than one word - as
> it does
> in the complete command.
--
Joel