From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Llu=C3=ADs?= Newsgroups: gmane.emacs.devel Subject: Completion bug in gud or comint Date: Fri, 16 Dec 2011 16:14:10 +0100 Message-ID: <87r5041rct.fsf@ginnungagap.bsc.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1324048472 689 80.91.229.12 (16 Dec 2011 15:14:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2011 15:14:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 16 16:14:27 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbZUO-0004Ey-WA for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2011 16:14:25 +0100 Original-Received: from localhost ([::1]:41014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbZUO-0001gI-DI for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2011 10:14:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbZUH-0001g9-Ao for emacs-devel@gnu.org; Fri, 16 Dec 2011 10:14:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbZUB-0000oj-3e for emacs-devel@gnu.org; Fri, 16 Dec 2011 10:14:17 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:34139) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RbZUA-0000oB-Jt for emacs-devel@gnu.org; Fri, 16 Dec 2011 10:14:11 -0500 Original-Received: (qmail invoked by alias); 16 Dec 2011 15:14:07 -0000 Original-Received: from unknown (EHLO localhost) [84.88.53.92] by mail.gmx.net (mp058) with SMTP; 16 Dec 2011 16:14:07 +0100 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX1/gqFAUanjgzN/3dueHKWcGYKRQp4RoWqvUyytgI1 ouKWt+FWfHTN1C User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146743 Archived-At: I didn't find any related bug report, but I'm not sure if this has been reported before in this list. Steps to reproduce it: M-x gdb gdb -i=mi >> (gdb) _ s >> (gdb) s_ >> o >> source_ >> (gdb) _source As you can see, the comint prompt ('(gdb)') "disappears" (already strange enough) and the point moves accordingly when there is a common completion prefix available, but performing a new completion makes the prompt "reappear". The most annoying thing is that while the last completion restored the prompt, point is kept in its position before the prompt restoration, which means not having point at the end of the line. I'm using emacs-snapshot 1:20111206-1+squeeze, but I also tried to evaluate 'comint.el' and 'gud.el' from the latest trunk before the test. Thanks, Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth