From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25401 invoked by alias); 8 Oct 2006 22:08:20 -0000 Received: (qmail 25393 invoked by uid 22791); 8 Oct 2006 22:08:20 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 08 Oct 2006 22:08:17 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GWgoh-00061t-8n; Sun, 08 Oct 2006 18:08:15 -0400 Date: Sun, 08 Oct 2006 22:08:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb@sources.redhat.com Subject: Re: completion regression? Message-ID: <20061008220814.GA23132@nevyn.them.org> Mail-Followup-To: Nick Roberts , gdb@sources.redhat.com References: <17705.28835.758720.533078@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17705.28835.758720.533078@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00037.txt.bz2 On Mon, Oct 09, 2006 at 10:41:55AM +1300, Nick Roberts wrote: > > Completion doesn't seem to work as well as it used to, e.g in version 5.2. The > manual doesn't differentiate but AFAICS there are three types: command, > filename and location. Successful completion now always leaves a trailing > space but its only really needed for commands (so following words can then be > typed). It's not needed for locations and is a nuisance for filenames because > using it on a filename requires the space to be deleted after successfully > completing on each component/directory. It used to add a slash instead, which > is much more useful. Are you sure this isn't just happening for the very first time you do it? This is a known bug, and I got a new hook added to readline5 that would let us fix it, but never had time to get back to it. If it worked before, I don't remember what changed that required the new hook. And obviously I've forgotten the details, since I just pulled up gdb and typed "file /bin" and got a slash. -- Daniel Jacobowitz CodeSourcery