GNU bug report logs - #65116
29.1; query-replace-read-args fails reading second arg in detached minibuf

Previous Next

Package: emacs;

Reported by: Jim Rees <jim <at> rees.org>

Date: Sun, 6 Aug 2023 19:05:01 UTC

Severity: normal

Found in version 29.1

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #115 received at 65116 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Jim Rees <jim <at> rees.org>
Cc: acm <at> muc.de, Eli Zaretskii <eliz <at> gnu.org>, 65116 <at> debbugs.gnu.org
Subject: Re: bug#65116: 29.1; query-replace-read-args fails reading second
 arg in detached minibuf
Date: Mon, 15 Jan 2024 14:31:48 +0800
Jim Rees <jim <at> rees.org> 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))




This bug report was last modified 1 year and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.