From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 17:59:59 -0400 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2344"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) 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 Fri Mar 24 23:06:26 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 1pfpYH-0000GB-O6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Mar 2023 23:06:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfpT7-0003w6-FA; Fri, 24 Mar 2023 18:01:05 -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 1pfpT5-0003tC-FE for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 18:01: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 1pfpT4-0000eY-LG for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 18:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfpT4-0003ao-1S for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 18:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Mar 2023 22:01: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.167969521013740 (code B ref 62355); Fri, 24 Mar 2023 22:01:02 +0000 Original-Received: (at 62355) by debbugs.gnu.org; 24 Mar 2023 22:00:10 +0000 Original-Received: from localhost ([127.0.0.1]:41537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfpSE-0003ZY-5X for submit@debbugs.gnu.org; Fri, 24 Mar 2023 18:00:10 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:58772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfpSC-0003Xu-8I for 62355@debbugs.gnu.org; Fri, 24 Mar 2023 18:00:09 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 312D4441315; Fri, 24 Mar 2023 18:00:02 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 970C14412CC; Fri, 24 Mar 2023 18:00:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1679695200; bh=iNStzXjS0nT/CA69tSQuGufnVEqDxAOH6u24anA3VGg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Nb2MVFCRaGQp23qH9yOY6AU4Mi1MyUEwNvx68AlLXf2xeUTZmO09uWEbjhwDUf6YO WuED3QfvUwCumQeeANAwJ5IkE7PuaERuLwnK48amzIzIQoFaPO5N2Cc+24Xz17ueob /Bu8x+6F7OqJsFY/+0+cuSlnHX0Ro3lTKx+RSFa9jn+O9W+NUfq9MArAS0gz1DmGI1 87XWxCevz6VR4sApA7ZhrOgag8fhVeSm2s2JMEvn6AqALOFcK2SV7cO/RfaeFyft7/ oTCfWbhYLo124Ftk6AzLZB5CCyhwSL8albBvQogIO+lyoLTNNladg862QV+AaF6u/A oCnaqFothjocQ== Original-Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 684BA123203; Fri, 24 Mar 2023 18:00:00 -0400 (EDT) In-Reply-To: (Toon claes's message of "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:258534 Archived-At: > For a while I've been having trouble C-g isn't quitting the minibuffer > after the first press. The issue may reflect a real bug, but maybe not: `C-g` will exit the minibuffer if Emacs is sitting idle in the minibuffer but it will interrupt what's currently running if Emacs is not currently idle. Sometimes this "idleness" is not obvious (it can be some timer code or something running asynchronously). Maybe we should tweak the behavior of `while-no-input` (or provide a new macro for that) so that a `C-g` hit during its execution causes both the interruption of what was going on *and* the execution of the command bound to `C-g`? Stefan