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#74642: 31.0.50; [Patch] Turn off current source line indicator when gdb buffer is killed Date: Wed, 04 Dec 2024 21:11:35 +0200 Message-ID: <86ed2nz2jc.fsf@gnu.org> References: <87wmgiy38x.fsf@163.com> <868qsy442u.fsf@gnu.org> <87ldwxy11t.fsf@163.com> <86ed2p2bgm.fsf@gnu.org> <87frn3yi04.fsf@163.com> <8634j31s75.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31212"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74642@debbugs.gnu.org To: diancheng_wang@163.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 20:12:38 2024 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 1tIune-0007xx-6w for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 20:12:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIunH-0005fg-5Z; Wed, 04 Dec 2024 14:12:15 -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 1tIun7-0005bo-JE for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 14:12:07 -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 1tIun4-00060q-Ai for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 14:12:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=W4zpx0fPdR6KgzWRzIT9zrRIa4i4sPwS8zCQy4K0yz8=; b=IPRqmMb80JCfM75yGLhw4+1rwlYfH/ZyeOrehxDqb+bbFN+8ilHF1ZYGGiz36DkwxZ4+nfGfLw6CPkCJkOMp07Hyn6LUFSs1iCag9XTlXs66It/o9LU1DVAWq4kL2yBbJrLtnsvGWZ8V/ACnxpovAgZtkAD3j5vx1+biZ9JviMFtjlGb6whMFQPaHcSV2sTjV9tVnnO3m6tHGoasrmJz7cHvgU7LtssNczzpkdzCdRyVV86neQ9fMuRInCBj9SyxZ87pS51oy8BajJa3Z1pPuWZOgGDRazsY03pYLwFKYhUJKy/n9oMF4Ik5ztLbce0bWgpLhFnbo03yCiegBoOGqw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIun3-00026U-UQ for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 14:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2024 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74642 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74642-submit@debbugs.gnu.org id=B74642.17333395188077 (code B ref 74642); Wed, 04 Dec 2024 19:12:01 +0000 Original-Received: (at 74642) by debbugs.gnu.org; 4 Dec 2024 19:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:36873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIun0-00026C-Fe for submit@debbugs.gnu.org; Wed, 04 Dec 2024 14:11:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIumy-00025x-1o for 74642@debbugs.gnu.org; Wed, 04 Dec 2024 14:11:56 -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 1tIumr-0005yS-8K; Wed, 04 Dec 2024 14:11:49 -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=W4zpx0fPdR6KgzWRzIT9zrRIa4i4sPwS8zCQy4K0yz8=; b=K0yYeSsmprqB 6pdts3n0FrcSb1WjIqFLwY1JPPgtjkA/Ig5644DVh91WpJUGgKzZ+1+SfYX4H7RYYWIIowbnkYXh3 yVxYEjRM9VOKQplHFe6VeYS4wNIZbZSVN5qim5YxOTnToa2Q0+wzH0wU3ycZejrie0SC1L5SYVUZq emqsbuhks5cHLTHjJhjXbSe+DB01qWu6mKzw6AtPp5mTme+9a9XOy/xHYiGkES6JyO+TorEgjDke5 iXDxxFwPHgbq24k4AmMwG3owcX3qx5eStIx53jcG647jyKCOBM9xNmYzCeI0zN2RRAvaGwNil21O5 FHP6K/U5xq7egZYpgO3Lqg==; In-Reply-To: <8634j31s75.fsf@gnu.org> (message from Eli Zaretskii on Wed, 04 Dec 2024 15:41:18 +0200) 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:296429 Archived-At: > Cc: 74642@debbugs.gnu.org > Date: Wed, 04 Dec 2024 15:41:18 +0200 > From: Eli Zaretskii > > > From: Diancheng Wang > > Cc: 74642@debbugs.gnu.org > > Date: Wed, 04 Dec 2024 16:22:51 +0800 > > > > > I guess you mean "C-x k RET"? > > > > Yes, I mean "C-x k RET" > > > > > > > > When I do that, Emacs asks me whether to kill the process associated > > > with the buffer, and if I say YES, the indicator does disappear > > > > Yes, the steps are same with me. > > > > > (sometimes after a second, which I guess is needed for Emacs to kill > > > the process). Isn't that what you see? > > > > No, the indicator does not disappear after I killed "*gud-myprogram*" buffer. > > By the way I started emacs using "emacs -Q". > > So did I. > > > The attachment is my running emacs information (the buffer content > > created by report-emacs-bug) > > Looks like some kind of regression in Emacs 31. It works in Emacs 30. > If you could bisect to find the offending commit, it will be > appreciated. Crystal ball says that the regression was caused by the change you submitted (and I installed) in bug#73687. It added a call to gud-hide-current-line-indicator to gdb-starting and to gud-sentinel. Could you try reverting those changes and see if that solves the problem in Emacs 31?