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#62355: 30.0.50; C-g doesn't always quit minibuffer on first press Date: Wed, 22 Mar 2023 05:29:46 +0200 Message-ID: <831qlh79at.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28075"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62355@debbugs.gnu.org To: Toon claes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 22 04:30:21 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 1pepB7-00077a-AI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Mar 2023 04:30:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pepAq-0006Ra-RR; Tue, 21 Mar 2023 23:30:04 -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 1pepAp-0006RB-0E for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 23:30:03 -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 1pepAo-0001Z3-Cg for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 23:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pepAn-0005YA-W0 for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 23:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Mar 2023 03:30:01 +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.167945578221286 (code B ref 62355); Wed, 22 Mar 2023 03:30:01 +0000 Original-Received: (at 62355) by debbugs.gnu.org; 22 Mar 2023 03:29:42 +0000 Original-Received: from localhost ([127.0.0.1]:33141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pepAU-0005XG-2k for submit@debbugs.gnu.org; Tue, 21 Mar 2023 23:29:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pepAS-0005X4-Qt for 62355@debbugs.gnu.org; Tue, 21 Mar 2023 23:29:41 -0400 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 1pepAM-0001Tc-Td; Tue, 21 Mar 2023 23:29:34 -0400 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=bhq37zmtnYtlq8CqNH6VDUGpDRQdd9QymD6XrKAIwFQ=; b=GTxESthPuxcp B02pU3Hp0IN1aRgZRNsV9trBlWaLMyCMxW+Sof7pFMmuoqjBnn5y7OSPXX+5QIKy7sJNAeTCivC4C 3/E2khAclkF3PQibOmtzlCekNl3e/z1rp0JU+MB8FAZxU+V7RH0qHaPPeFd5F90zEIpwq2JPM5tSy 9X7QQTpBBZGr9KACKCg/dtkui1N+z1m8QEbGQVuY6pzPrBfi4mrOQJHkcdL7AeDh8IBjEvAC2UWun 7R+TXGCfK9vrcsIJmv60f4iHnWO5mhmaHJkswpdIWQtPLKCb/zMUpN51ZNfqyq717cZuFuePpC+aC Flfx1e41EbHhhu8JgbH8fw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pepAM-0001Vl-5v; Tue, 21 Mar 2023 23:29:34 -0400 In-Reply-To: (message from Toon claes on Tue, 21 Mar 2023 20:16:17 +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:258381 Archived-At: > Date: Tue, 21 Mar 2023 20:16:17 +0100 > From: Toon claes > > For a while I've been having trouble C-g isn't quitting the minibuffer > after the first press. > > When I start Emacs freshly I can press M-x, that triggers the > minibuffer, and pressing C-g quits the minibuffer again. > > But after a short while of use this behaviour changes. Pressing M-x > still triggers the minibuffer, but pressing C-g prints "[Quit]" while it > keeps the minibuffer active. Only after pressing C-g a second time the > minibuffer is actually quit. > > I was able to reproduce in "emacs -Q", but I haven't so far been able to > reproduce with "emacs -Q -nw", although I'm not sure it's related to any > of that. > > Below is the output of "C-h l" (view-lossage) reproducing the issue: > > C-x b ;; switch-to-buffer > C-g ;; abort-minibuffers > M-x ;; execute-extended-command > C-g C-g ;; abort-minibuffers > C-h l ;; view-lossage > > You can see the first time I press C-g once to abort-minibuffers. The > second time I have to C-g twice. > > This time it happened right after a fresh start of "emacs -Q", but > sometimes I have to do a lot more actions before the double C-g is > needed. This is normal when you have switched away of the active minibuffer with "C-x o" or something similar. The "[Quit]" message (in brackets) is a telltale sign that the minibuffer is active and waiting for you to finish some interaction. However, if you can show a recipe to reproduce this, we could be sure.