From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: gdb-mi command complete broken Date: Mon, 04 Jul 2011 13:51:18 -0400 Message-ID: References: <8762nio9lz.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309802107 22008 80.91.229.12 (4 Jul 2011 17:55:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 17:55:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Wang Diancheng Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 19:55:03 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 1QdnMN-0001eK-Aa for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2011 19:55:03 +0200 Original-Received: from localhost ([::1]:51773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdnMM-0006hJ-8k for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2011 13:55:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdnIn-0005vK-1t for emacs-devel@gnu.org; Mon, 04 Jul 2011 13:51:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdnIl-0007bf-MM for emacs-devel@gnu.org; Mon, 04 Jul 2011 13:51:20 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:35431 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdnIl-0007bZ-ES for emacs-devel@gnu.org; Mon, 04 Jul 2011 13:51:19 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAEP8EU5FxIxr/2dsb2JhbABTp3t4iHrBAoY2BJ5chCw X-IronPort-AV: E=Sophos;i="4.65,474,1304308800"; d="scan'208";a="120399936" Original-Received: from 69-196-140-107.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.107]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 04 Jul 2011 13:51:18 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 31A4D58DBA; Mon, 4 Jul 2011 13:51:18 -0400 (EDT) In-Reply-To: <8762nio9lz.fsf@gmail.com> (Wang Diancheng's message of "Mon, 04 Jul 2011 14:14:48 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:141545 Archived-At: > current gdb-mi command complete broken, this is patch: Thank you, I installed your patch in the trunk. Stefan > diff -c -L /usr/share/emacs/24.0.50/lisp/progmodes/gdb-mi.el.gz -L \#\ /tmp/jka-com28609cP /tmp/buffer-content-2860Xxb > --- /usr/share/emacs/24.0.50/lisp/progmodes/gdb-mi.el.gz > +++ # > @@ -786,7 +786,10 @@ > (define-key gud-minor-mode-map [left-margin C-mouse-3] > 'gdb-mouse-jump) > - (local-set-key "\C-i" 'gud-gdb-complete-command) > + (add-hook 'completion-at-point-functions #'gud-gdb-completion-at-point > + nil 'local) > + (local-set-key "\C-i" 'completion-at-point) > + > (setq gdb-first-prompt t) > (setq gud-running nil) > Diff finished. Mon Jul 4 11:34:22 2011