From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.bugs Subject: Re: In "M-x gdb", filename completion with mouse erases the default gdb command Date: Thu, 23 Aug 2007 17:45:04 +1200 Message-ID: <18125.7904.892683.893949@kahikatea.snap.net.nz> References: <514C12BFEBF8B54DBB0C0D080405069305C1B7BD@XCH-SE-2V2.se.nos.boeing.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187847937 5299 80.91.229.12 (23 Aug 2007 05:45:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 05:45:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "Gallagher, Kevin" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 23 07:45:34 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IO5Va-0004QC-Q3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2007 07:45:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IO5Va-0003ou-1Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2007 01:45:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IO5VX-0003lH-6V for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2007 01:45:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IO5VV-0003iH-DC for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2007 01:45:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IO5VV-0003hp-5B for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2007 01:45:25 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IO5VU-0007qF-GY for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2007 01:45:24 -0400 Original-Received: from kahikatea.snap.net.nz (168.61.255.123.dynamic.snap.net.nz [123.255.61.168]) by viper.snap.net.nz (Postfix) with ESMTP id 940193D9D69; Thu, 23 Aug 2007 17:45:07 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id E2B5F8FC6D; Thu, 23 Aug 2007 17:45:05 +1200 (NZST) In-Reply-To: <514C12BFEBF8B54DBB0C0D080405069305C1B7BD@XCH-SE-2V2.se.nos.boeing.com> X-Mailer: VM 7.19 under Emacs 22.1.50.12 X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16425 Archived-At: > After entering "M-x gdb", the input line in the minibuffer is seeded > with > the default gdb command followd by the previously debugged executable. > I erased the previous filename and then added a partial filename, > pressed > TAB, and the possible completions were displayed, as expected. After > selecting a filename with the mouse, the default gdb command was > entirely erased, leaving only the selected filename at the prompt in the > minibuffer. It's small comfort but I think completion has always worked this way in the minibuffer. M-! (shell-command) is similar but here TAB has no special binding in the minibuffer. However, I think it's worth keeping the binding for gdb because it works if there is just one possible completion and provides a listing when there is more than one. Having said all that, I see no reason why it shouldn't be possible to make it work but I don't know how. If someone can provide a patch I'll be happy to apply it. -- Nick http://www.inet.net.nz/~nickrob