From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Rees 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: Fri, 12 Jan 2024 12:57:42 -0600 Message-ID: References: Reply-To: Jim Rees Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12591"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 65116@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 13 08:14:36 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 1rOYE0-000344-3C for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jan 2024 08:14:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOYDc-0006dT-OD; Sat, 13 Jan 2024 02:14:12 -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 1rOYDY-0006bl-6C for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 02:14:09 -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 1rOYDW-0000qa-17 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 02:14:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOYDU-0002rp-B1 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 02:14:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Rees Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jan 2024 07:14:04 +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.170512998710883 (code B ref 65116); Sat, 13 Jan 2024 07:14:04 +0000 Original-Received: (at 65116) by debbugs.gnu.org; 13 Jan 2024 07:13:07 +0000 Original-Received: from localhost ([127.0.0.1]:38247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOYCY-0002pR-MG for submit@debbugs.gnu.org; Sat, 13 Jan 2024 02:13:07 -0500 Original-Received: from out-176.mta0.migadu.com ([2001:41d0:1004:224b::b0]:43781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOMj0-0003xj-Ha for 65116@debbugs.gnu.org; Fri, 12 Jan 2024 13:57:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rees.org; s=key1; t=1705085869; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+3B+Xim+ugH4MHY+2EgPv7duxKerCK7Zri1guDPq3NU=; b=c6N8iO11dCiFPFXQD1hYLPmdAgeO25c4U+WakKEGlHZoGttzz4S02oZD+rbXbv3k4G4Iy5 fV/RFZsGCCbADpfKH9bLOHvhjjpjdgbs2tj2rMzJw+xvRIHnwtYzcenmFMlX7gEXSkbaMi IySORiCHuBxsp0a49UMz6L89nwstoM7MzGwj7Nyfm5di+dvpFGcic7VsxwhglljYvMrvKj WE4PfK6FjPFBZtrkJNXMsQn94fTh4Db4dojFIlnpk9PamjgI4r51ADBaUZWIye0+BWTPs+ 6+Ts4uQxRuzjGkABc0y/LwpoF/jqFnysDI340K5wDZ2bjTm840gH4YK6zmw60A== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Mailman-Approved-At: Sat, 13 Jan 2024 02:13:05 -0500 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:278095 Archived-At: Well that's a relief. I do have an unusual setup with detached minibuf and focus follows mouse. There has been a lot of churn in replace.el and frame.c lately and I keep hoping the bug will go away on its own. I don't really understand all the focus changes in the code but I do see why they are necessary. I have a workaround, I have bound this to a key and use it to re-focus to the minibuf so I can enter the 'to' text: (select-frame-set-input-focus (window-frame (minibuffer-window))) But that requires manual intervention so for now I'm sticking with 28.1. (Focus follows mouse was common years ago, but with the relentless quest to make X work just like MS Windows it has become less popular)