From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Toon Claes Newsgroups: gmane.emacs.bugs Subject: bug#62355: 30.0.50; C-g doesn't always quit minibuffer on first press Date: Fri, 24 Mar 2023 16:32:28 +0100 Message-ID: <87cz4yyt59.fsf@to1.studio> References: <831qlh79at.fsf@gnu.org> <87zg83e032.fsf@melete.silentflame.com> <83sfdv44df.fsf@gnu.org> <83r0teekzm.fsf@gnu.org> <87edpe7eiw.fsf@to1.studio> <835yaqe51l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34088"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, 62355@debbugs.gnu.org, spwhitton@spwhitton.name To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 24 23:05:07 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 1pfpX1-0008VX-Lo for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Mar 2023 23:05:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfpTJ-000487-Er; Fri, 24 Mar 2023 18:01:17 -0400 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 1pfpTE-00044e-5v for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 18:01:12 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfpTD-0000eY-Rc for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 18:01:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pflMY-0008Ll-6M for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 13:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Toon Claes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Mar 2023 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62355 X-GNU-PR-Package: emacs Original-Received: via spool by 62355-submit@debbugs.gnu.org id=B62355.167967947032078 (code B ref 62355); Fri, 24 Mar 2023 17:38:02 +0000 Original-Received: (at 62355) by debbugs.gnu.org; 24 Mar 2023 17:37:50 +0000 Original-Received: from localhost ([127.0.0.1]:41301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pflML-0008LJ-Pr for submit@debbugs.gnu.org; Fri, 24 Mar 2023 13:37:50 -0400 Original-Received: from mx-out1.startmail.com ([145.131.90.139]:51843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfktS-0007am-4w for 62355@debbugs.gnu.org; Fri, 24 Mar 2023 13:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=startmail.com; s=2020-07; t=1679677671; bh=TChElPKzU8tyHhkBfG+PLMdS4VU8X3PF+d1U19W7qu4=; h=References:From:To:Subject:Date:In-reply-to:Message-ID: Mime-Version:Content-Type:From:Subject:To:Date:Sender:Content-Type: Content-Transfer-Encoding:Content-Disposition:Mime-Version: Reply-To:In-Reply-To:References:Message-Id:Autocrypt; b=E6JQRo9R1hXH+Wja6qVGRIwdRbcSvCBk94ng3x0iRw9HMSazC1qnpWzW2emIz7PKC 5omGN9CTT0OK8ICVJKZLZ40k+YS8bkzIKB3cQbW2xJJc55mnghEnStQ2caCyoAZ50i 3EK6Do924oPz61hll9jJ3vSgK69fhO3FtBOTlBsJ7jK/kjbWYe3RcqMOEEFRkzeo2x mUjLM8U0TMe8GveyYNR145JuIxDIMgEvoMXx3dyyOYAVqiCs4X3zwlHDT1rHlfjCwE WxOcbSreuyEH8EpZnAOOsfOX3hnIhs2DR5YwUrjwYdBasI+eDDdeEqd2WGwZMPEOr7 slYDqeEG41p+A== In-reply-to: <835yaqe51l.fsf@gnu.org> X-Mailman-Approved-At: Fri, 24 Mar 2023 13:37:48 -0400 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:258526 Archived-At: Eli Zaretskii writes: > The "[Quit]" part, and the fact that you need to type C-g twice _is_ > the intended behavior -- in the situation that I described earlier, > i.e. if the minibuffer was activated by another command. This was a very good clue to point me in the direction of the root cause. It seems the issue is: my keyboard. I can reproduce easily by typing M-x C-g on my external keyboard, but I have *not* been able to reproduce with my built-in laptop keyboard. When I create the issue with my external keyboard, I can even "repair" it by pressing C-g on my built-in keyboard. (FYI I use that keyboard on both computers, that's why I've been seeing the issue on both. It's a keyboard running QMK firmware.) Now the only question remains: what is the keyboard sending to make Emacs hiccup? Is there an easy way to make Emacs display this? I've been testing with `wev`, but I don't see any suspicious keycodes being sent. Thanks for helping me debug here. Sorry for the noise, thinking the issue lays in Emacs, but I didn't know how where else to go. -- Toon