From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.help Subject: Re: Query replace question Date: Thu, 17 Mar 2022 19:03:58 +0200 Organization: LINKOV.NET Message-ID: <86ee305xi9.fsf@mail.linkov.net> References: <20220317111952.zwm7bmvtsdnede7i.ref@Ergus> <20220317111952.zwm7bmvtsdnede7i@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14406"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: help-gnu-emacs@gnu.org To: Ergus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 17 18:11:00 2022 Return-path: Envelope-to: geh-help-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 1nUteN-0003e5-Ky for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 18:10:59 +0100 Original-Received: from localhost ([::1]:44888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUteL-0007bY-WD for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 13:10:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUtdp-0007bA-5i for help-gnu-emacs@gnu.org; Thu, 17 Mar 2022 13:10:25 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:54899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUtdm-0002k8-0n for help-gnu-emacs@gnu.org; Thu, 17 Mar 2022 13:10:23 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id B7303240015; Thu, 17 Mar 2022 17:10:16 +0000 (UTC) In-Reply-To: <20220317111952.zwm7bmvtsdnede7i@Ergus> (Ergus's message of "Thu, 17 Mar 2022 12:19:52 +0100") Received-SPF: pass client-ip=217.70.178.230; envelope-from=juri@linkov.net; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136642 Archived-At: > I am wondering if there is some functionality in vanilla to enable > dynamic match highlight during query replace or query-replace regex > while composing the regex? Similar to isearch lazy highlight, > regex-highlight or re-builder; but for query-replace and the rest of the > replace family? > > I feel very uncomfortable not getting a feedback while writing the regex > during the query-replace-regex. Specially when the regex is a bit > complex, uses capture groups or so. I am sure some others have had a > similar experience and I will be surprised that no solution will be > already implemented. > > Any idea? This is exactly what is currently under development in bug#53126.