From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19162 invoked by alias); 10 Oct 2006 22:05:27 -0000 Received: (qmail 19153 invoked by uid 22791); 10 Oct 2006 22:05:26 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Oct 2006 22:05:21 +0000 Received: from kahikatea.snap.net.nz (p202-124-124-211.snap.net.nz [202.124.124.211]) by viper.snap.net.nz (Postfix) with ESMTP id 74A727B9F86; Wed, 11 Oct 2006 11:05:13 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 73134BE447; Wed, 11 Oct 2006 11:02:26 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17708.6256.497894.641872@kahikatea.snap.net.nz> Date: Tue, 10 Oct 2006 22:05:00 -0000 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: completion regression? In-Reply-To: <20061008220814.GA23132@nevyn.them.org> References: <17705.28835.758720.533078@kahikatea.snap.net.nz> <20061008220814.GA23132@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.50.23 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/msg00053.txt.bz2 > 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. Actually, looking more carefully, I see now that Emacs causes most of the problem. > And obviously I've forgotten the details, since I just pulled up gdb > and typed "file /bin" and got a slash. I don't think there is a regression now. The only (tiny) problem appears completing on a sub-directory for the first time: cd src/gd gives "cd src/gdb " and that exists in earlier versions. In fact I see that completion has _improved_ and the "complete" command now completes on filenames e.g from src/gdb directory: (gdb) cd test testrun.log testrun.sum testsuite/ Formerly (gdb) complete cd test (gdb) Currently: (top-gdb) complete cd test cd testrun.log cd testrun.sum cd testsuite (gdb) Could the "complete" command also add trailing slashes as with completion from the command line? i.e (top-gdb) complete cd test cd testrun.log cd testrun.sum cd testsuite/ (gdb) -- Nick http://www.inet.net.nz/~nickrob