From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65116: 29.1; query-replace-read-args fails reading second arg in detached minibuf Date: Mon, 15 Jan 2024 14:31:48 +0800 Message-ID: <874jffyunf.fsf@yahoo.com> References: <83le8sfnae.fsf@gnu.org> <83sf2zesx2.fsf@gnu.org> <83r0ijes56.fsf@gnu.org> <83mst7em6q.fsf@gnu.org> <87h6jfzbiv.fsf@yahoo.com> <878r4rz2of.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33178"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: acm@muc.de, Eli Zaretskii , 65116@debbugs.gnu.org To: Jim Rees Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 15 07:33:32 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 1rPGXL-0008SH-Qq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Jan 2024 07:33:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPGWx-00027k-F4; Mon, 15 Jan 2024 01:33:07 -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 1rPGWv-0001rK-BA for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 01:33:05 -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 1rPGWs-0005qA-Qg for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 01:33:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPGWr-0000ym-Vq for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 01:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jan 2024 06:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65116 X-GNU-PR-Package: emacs Original-Received: via spool by 65116-submit@debbugs.gnu.org id=B65116.17053003263683 (code B ref 65116); Mon, 15 Jan 2024 06:33:01 +0000 Original-Received: (at 65116) by debbugs.gnu.org; 15 Jan 2024 06:32:06 +0000 Original-Received: from localhost ([127.0.0.1]:44563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPGVy-0000xL-Ae for submit@debbugs.gnu.org; Mon, 15 Jan 2024 01:32:06 -0500 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:46600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPGVx-0000wq-3n for 65116@debbugs.gnu.org; Mon, 15 Jan 2024 01:32:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705300319; bh=kq1T+tPoSZJUtOphsFueSAB/OU7uZ0Q8TP+DcvsL9Vg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ZSSOAMROn8oHqlZmNYFQ51eHQjtxMUzweEbh0uOGsbUJPSL3MG6vIC8krUtd4k7fJozBhYmWkoDk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aRiCR 8QlAp6irxrCVubZh5AzVMHDbUCuiLowsw_gC5NmRHOm2OPA.p5Phsp7O0EHXS95sAG2hB6M3y63B rUctVSB6QH0fFHoEfswoGWu5BE2Y_Jj2xaayMZZAKuPobgsY4LiRAwoGggkUCgAoJ.tBfVNeFxiI vuX4EF6xHJUE8TD_mg_jBursUsRK56e9HO6VqeOGUq7__yJq_jQmYAngBsBGjNWnZycXU8oB4GHO J7X6gFa6_VCi0c6IcBcwfzlSedlraciN_xbC20aOFxR0czwR0eqw8Te83TAMCp2dI1MVL0L06wSY 12aK36NL6X30SGYIMTR_bXt8ITzJ74iifmI36TXCaTC7.WjOoEGn48vrOX4mW4gPOpSbmYyZH9zP .hevhClx3rzDZHmOMRgiN_SeMxdsw6Ih49NTyLz7mfN7CzQq68LWDKfj2fSD0Yu_.Gicw5e5iSdX TGRti9gIKUy6Sl1qnEPQCgIt1s.JfmZ7wIEGU3_lsqvkVx7tJETVGTMYN0ucAmUoxMEXfH_EALbO zZM71m_dUiBR8EUnfRJwPXAt9r7JsP6chNy7KHE9bJ X-Sonic-MF: X-Sonic-ID: 306caec5-9414-4f38-9a7c-164d623be9a2 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 15 Jan 2024 06:31:59 +0000 Original-Received: by hermes--production-sg3-677476f564-sszg9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7e49890f245452e4a7d5e321ec3af7b1; Mon, 15 Jan 2024 06:31:54 +0000 (UTC) In-Reply-To: (Jim Rees's message of "Sun, 14 Jan 2024 22:52:54 -0600") X-Mailer: WebService/1.1.22010 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:278255 Archived-At: Jim Rees writes: > No, that does not solve the problem. Nevermind, I set aside some time to debug this. A missing unblock_input was the culprit, which has now been fixed on master: diff --git a/src/xterm.c b/src/xterm.c index fe398171754..c8a43785564 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -28828,7 +28828,10 @@ x_focus_frame (struct frame *f, bool noactivate) window. (bug#65116)*/ if (f == dpyinfo->x_focus_frame && !FRAME_HAS_MINIBUF_P (f)) - return; + { + unblock_input (); + return; + } #endif /* HAVE_GTK3 */ if (FRAME_X_EMBEDDED_P (f))