From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Herbert Euler Newsgroups: gmane.emacs.bugs Subject: bug#3794: Several other problems in gdb-mi [RE: bug#3794: Error in json from gdb-ui] Date: Thu, 6 Aug 2009 10:20:23 +0800 Message-ID: References: <87r5wosm7m.fsf@sphinx.net.ru> <87zlb71iob.fsf@sphinx.net.ru> <87my6fv2wc.fsf@sphinx.net.ru> Reply-To: Herbert Euler , 3794@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_a55502a4-dab1-4c33-85f7-8956f6ebd13f_" X-Trace: ger.gmane.org 1249525640 28942 80.91.229.12 (6 Aug 2009 02:27:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 02:27:20 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 3794@emacsbugs.donarmstrong.com To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 04:27:12 2009 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 1MYshD-000773-Qz for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 04:27:12 +0200 Original-Received: from localhost ([127.0.0.1]:45588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYshD-00030A-5b for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Aug 2009 22:27:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYsgz-0002sO-3J for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYsgu-0002pB-Nr for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:26:56 -0400 Original-Received: from [199.232.76.173] (port=34675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYsgu-0002oz-BA for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:26:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59405) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYsgt-0004eS-R2 for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:26:52 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n762QlQd022004; Wed, 5 Aug 2009 19:26:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n762P7oa021763; Wed, 5 Aug 2009 19:25:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Herbert Euler Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 06 Aug 2009 02:25:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3794 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3794-submit@emacsbugs.donarmstrong.com id=B3794.124952523021546 (code B ref 3794); Thu, 06 Aug 2009 02:25:07 +0000 Original-Received: (at 3794) by emacsbugs.donarmstrong.com; 6 Aug 2009 02:20:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from bay0-omc3-s26.bay0.hotmail.com (bay0-omc3-s26.bay0.hotmail.com [65.54.246.226]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n762KTkh021540 for <3794@emacsbugs.donarmstrong.com>; Wed, 5 Aug 2009 19:20:30 -0700 Original-Received: from BAY143-W13 ([65.55.154.48]) by bay0-omc3-s26.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Aug 2009 19:20:23 -0700 X-Originating-IP: [124.127.101.0] Importance: Normal In-Reply-To: <87my6fv2wc.fsf@sphinx.net.ru> X-OriginalArrivalTime: 06 Aug 2009 02:20:23.0471 (UTC) FILETIME=[7412ABF0:01CA163C] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 05 Aug 2009 22:26:56 -0400 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:29918 Archived-At: --_a55502a4-dab1-4c33-85f7-8956f6ebd13f_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit > > 6. Completion should be done with the emacs completion feature, > > i.e. try-completion, completing-read etc. > > Do you mean the completion of commands in GUD buffer? Yes. Currently, completion behaves like this (the vertical bar `|' indicates the cursor): (gdb) b redis| ;; Hit TAB. b redisplay_dont_pause b redisplay_interface b redisplay_internal b redisplay_mode_lines b redisplay_performed_directly_p b redisplay_preserve_echo_area b redisplay_window b redisplay_window_0 b redisplay_window_1 b redisplay_window_error b redisplay_windows b redisplaying_p (gdb) b redisplay | ;; There is an extra space character ;; after `redisplay'. This seems to ;; be due to `redisplay' being an ;; available completion. Previously, completion in gdb is done this way: (gdb) b redis| ;; Hit TAB. (gdb) b redisplay| ;; The first time TAB is hit, ;; completes to that match. (gdb) b redisplay| ;; Hit TAB again. (gdb) b redisplay| ;; And the *Completions* window is ;; popped up to show all available ;; completions. At that point, the user can type RET to accept `redisplay' as the match, or type more characters and then try other completions. Regards, Guanpeng Xu _________________________________________________________________ Share your memories online with anyone you want. http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1 --_a55502a4-dab1-4c33-85f7-8956f6ebd13f_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit > > 6. Completion should be done with the emacs completion feature,
> > i.e. try-completion, completing-read etc.
>
> Do you mean the completion of commands in GUD buffer?

Yes.  Currently, completion behaves like this (the vertical bar `|'
indicates the cursor):

(gdb) b redis|                  ;; Hit TAB.
b redisplay_dont_pause
b redisplay_interface
b redisplay_internal
b redisplay_mode_lines
b redisplay_performed_directly_p
b redisplay_preserve_echo_area
b redisplay_window
b redisplay_window_0
b redisplay_window_1
b redisplay_window_error
b redisplay_windows
b redisplaying_p
(gdb) b redisplay |    & nbsp;        ;; There is an extra space character
                 ! ;               ;; after `redisplay'.  This seems to
                ;; be due to `redisplay' being an
                ;; available completion.

Previously, completion in gdb is done this way:

(gdb) b redis|                  ;; Hit TAB.
(gdb) b redisplay|              ;; The first time TAB is hit,
                     &nbs p;          ;; completes to that match.
(gdb) b redisplay|              ;; H! it TAB again.
(gdb) b redisplay|    &nb! sp;         ;; And the *Completions* window is
                                ;; popped up to show all available
                ;; completions.

At that point, the user can type RET to accept `redisplay' as the
match, or type more characters and then try other completions.

Regards,
Guanpeng Xu


Share your memories online with anyone you want anyone you want. --_a55502a4-dab1-4c33-85f7-8956f6ebd13f_--