From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67429: 27.1; oddities with gdb-mode completion buffer Date: Fri, 24 Nov 2023 13:57:14 +0200 Message-ID: <837cm7fjol.fsf@gnu.org> References: <5491783.Rb9Vj03aaE@nimes> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18967"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67429@debbugs.gnu.org To: Bruno Haible Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 24 12:58:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r6Up5-0004mn-6P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Nov 2023 12:58:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6Uoq-000592-Mo; Fri, 24 Nov 2023 06:58:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6Uoo-00058V-Mi for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2023 06:57:58 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r6Uoo-0006Z6-F2 for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2023 06:57:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6Uos-0007uH-FY for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2023 06:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Nov 2023 11:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67429 X-GNU-PR-Package: emacs Original-Received: via spool by 67429-submit@debbugs.gnu.org id=B67429.170082705330358 (code B ref 67429); Fri, 24 Nov 2023 11:58:02 +0000 Original-Received: (at 67429) by debbugs.gnu.org; 24 Nov 2023 11:57:33 +0000 Original-Received: from localhost ([127.0.0.1]:35761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6UoP-0007ta-24 for submit@debbugs.gnu.org; Fri, 24 Nov 2023 06:57:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6UoN-0007tN-5e for 67429@debbugs.gnu.org; Fri, 24 Nov 2023 06:57:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6UoC-0006QZ-Md; Fri, 24 Nov 2023 06:57:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5W4RHLGtteik8l/4n3l9SX4AO4TIB1VzXkSOSH5eTBU=; b=GSMK+YgI6zDB e2rWsPTV8/lFAzkeJYBZMQdXV8c94aRrrhqLuJ6Fq6ftr7crkt4eCgXTrjeLIQX2uhvbd7Zq75h6c hMJ3fQXpT5Vbog2pli8lSAruHe5xzCxiYi9NQJaYfX3AkXpCBD5p9WqH+zD+kk0ITJQ9pIA4pRi9P c/LdnxUWaIEXGrVaxD90eraj8v90+f36TNbAK9ZuOJD7gOFo2nr1YPaZC7aAevFkj/8YaujJPDDPR k6lZjacezWMxsH4+Khduuva9E31Da1hg6GOGSN9DFZqP54pok54jzCnULHUUzKn1fm57rtvM01KdM fvGnnxGxDQ2NGrLzAsHTGA==; In-Reply-To: <5491783.Rb9Vj03aaE@nimes> (message from Bruno Haible on Fri, 24 Nov 2023 10:06:25 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274854 Archived-At: > From: Bruno Haible > Date: Fri, 24 Nov 2023 10:06:25 +0100 > > I did 'M-x gdb-mode' There's no such mode in Emacs, AFAICT. How did you invoke it? > and am trying to make use of gdb's > symbol completion: enter part of the name of a symbol, > and press . Inside Emacs, I'm encountering two > oddities: > > 1) There is a buffer with possible completions, that > disappears after two seconds if I don't choose a > completion. > After this buffer disappears, my cursor is elsewhere. > I need an extra mouse interaction or key presses in > order to bring back the cursor, so that I can continue > typing the symbol's name. > > 2) In some cases, the buffer does not disappear but stays > on screen. Why does it disappear in some cases but not > in others? I tried to reproduce this during debugging from Emacs 27 and Emacs 29, using "M-x gdb RET", and couldn't: I always get the completions window stay put until I select some candidate. At least in Emacs 29, I see no issues with cursor position, either; in Emacs 27 I saw at least one problem, but Emacs 27 is very old and no longer maintained (and gdb-mi.el saw a lot of changes since Emacs 27). So I suggest to post a complete recipe for reproducing the problem, preferably starting from "emacs -Q". I also recommend using Emacs 29.1, which is the latest version that is still being maintained. Thanks.