From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Gallagher, Kevin" Newsgroups: gmane.emacs.bugs Subject: RE: In "M-x gdb", filename completion with mouse erases the default gdb command Date: Thu, 23 Aug 2007 16:35:42 -0500 Message-ID: <514C12BFEBF8B54DBB0C0D080405069305C1B7CA@XCH-SE-2V2.se.nos.boeing.com> 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: quoted-printable X-Trace: sea.gmane.org 1187904981 12298 80.91.229.12 (23 Aug 2007 21:36:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 21:36:21 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 23 23:36:18 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 1IOKLa-0001g6-W5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2007 23:36:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOKLa-0006Zu-BN for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2007 17:36:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOKLU-0006Wf-EL for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2007 17:36:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOKLR-0006WP-QH for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2007 17:36:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOKLR-0006WM-KY for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2007 17:36:01 -0400 Original-Received: from blv-smtpout-01.boeing.com ([130.76.32.69]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IOKLO-0005Gh-CD; Thu, 23 Aug 2007 17:35:58 -0400 Original-Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id l7NLZsxV010986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 23 Aug 2007 14:35:54 -0700 (PDT) Original-Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id l7NLZsot025270; Thu, 23 Aug 2007 14:35:54 -0700 (PDT) Original-Received: from XCH-SEBH-11.se.nos.boeing.com (xch-sebh-11.se.nos.boeing.com [130.122.5.45]) by slb-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id l7NLZqqS025216; Thu, 23 Aug 2007 14:35:53 -0700 (PDT) Original-Received: from XCH-SE-2V2.se.nos.boeing.com ([130.122.5.31]) by XCH-SEBH-11.se.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 23 Aug 2007 16:35:52 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: In "M-x gdb", filename completion with mouse erases the default gdb command Thread-Index: AcflyHoHOB5HHcj+Tt2Np9TgqU5AFQAAkTQw X-OriginalArrivalTime: 23 Aug 2007 21:35:52.0789 (UTC) FILETIME=[949F9050:01C7E5CD] X-Detected-Kernel: Solaris 9.1 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:16431 Archived-At: Sure. (I did start emacs with -Q, previously, when I tested and reported the bug. The behavior is no different if started with -q.) 1. cd to a directory which contains two or more executables beginning with the same first few letters, e.g. testOne, testTwo, and testThree. 2. Run "emacs -Q &" 3. Start the debugger: "M-x gdb" 4. In the minibuffer, you should see the gdb prompt followed by "gdb --annotate=3D3 testOne". 5. Delete the last three characters "One", then press TAB. 6. The *Completions* buffer will appear. Click on the filename "testTwo". 7. In the minibuffer, after the prompt, only "testTwo" will remain. The filename selected in the *Completions* buffer replaced the entire text after the prompt, instead of just replacing the incomplete word at the end of the line. Kevin Gallagher FCS SOSCOE System Services The Boeing Company 281-740-5207 Hours: 9:00 - 5:30 CT =20 -----Original Message----- From: Richard Stallman [mailto:rms@gnu.org]=20 Sent: Thursday, August 23, 2007 3:59 PM To: Gallagher, Kevin Cc: bug-gnu-emacs@gnu.org Subject: Re: In "M-x gdb",filename completion with mouse erases the default gdb command Can you determine a a *precise* test case for this bug? The test case should start with `emacs -q', so that your .emacs file does not affect it, and it should show exactly what text to put in the buffer, what commands to execute, and how and where to click. With this, we will be able to debug it.