From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Query replace question Date: Thu, 17 Mar 2022 12:19:52 +0100 Message-ID: <20220317111952.zwm7bmvtsdnede7i@Ergus> References: <20220317111952.zwm7bmvtsdnede7i.ref@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18750"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 17 12:21:43 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 1nUoCM-0004k4-Ud for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 12:21:42 +0100 Original-Received: from localhost ([::1]:43038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUoCL-0008Lk-SR for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 07:21:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUoBL-0008Ka-Ks for help-gnu-emacs@gnu.org; Thu, 17 Mar 2022 07:20:41 -0400 Original-Received: from sonic301-2.consmr.mail.bf2.yahoo.com ([74.6.129.41]:38097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUoBI-0007ww-Et for help-gnu-emacs@gnu.org; Thu, 17 Mar 2022 07:20:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1647516033; bh=7KZbeXFLWy1NmQH3kMO/ggs+2G1tGpWv7UpQWTS6Vdk=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=qUjzB3sngRAl/tpcpgltZBc9cD5nO6NpmUdhXRy+OIK159yaazzPQJ1aXYX+bJnjINWCMP5FGn9G+6xFjpAZSYcxv45nUKYCNGSLLhqC6yFX9LM/WchG89c2BDnSU1xqcg01izzXKWeeaBzoopLG6yL1yrwRjv0/ZVmL6h9yIMvmyqMxT8ENS6fri1U5llfpBMD8XvJfwOzjFXRxxXzw2GUGkMf5BwQdB74XVIMFE3ELA5mFocYnrO4JFIvRUia++Uz6amIrGdIQ1CCNLUD4RG7jVKo1MjQyvpBAiyae5ibq72kDt2OOm7x1B3cHG7HBMLzEGANdswVV4mG5uTqNZA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647516033; bh=NgXrA/fC2Km4E71QCQY4QOus80k41EatHBMBX2d/4WW=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Y0/+wce2lxnhTbIY+Fl59H0+5qq0SK5x4jKcFjaD7lEPv1m9a1ZroqwyGSU2SuNagK0uZzepMrCzTLXnV1hJgpxKletY9Dy0JJOLUZqPI/h6fLNpwMqRerAeS2co3T3UnJOFQAzGJ7MYvvFETpw82Vy2AyafFRM4vyx+vzjSBwj+4dDSP4wM+QnUs2KbIN+t2n45O416PEk/y/f/IE7gLBm4DNBPyJNOgHQtRWK+5/qVkGC3vUMmOaG6ehgCu4vuZe2GDKr9K3IXi5clBlZCNjOMZPcKnaoCOineKj/9PnyoTmTZ6FHxI/4GIsW5zAkFl9kxweWO5366/R4bGSL/Jw== X-YMail-OSG: N5wi3GAVM1k3RAdWaUF9HyG605cVlZuXGO4Q8MXULEqvHWeutCbYFe.IdXswXyR VF8M4ESPVnYJgz0N7ZqXZ5pCuFS_pS99B1wDHmBIkGPt8CUe.yly1WP6sCEafJahqsa7eq.hLsrz rdyjS.iznHeY1yteKIVY4HSCEFIoY_M56lIlrm8zOFE5yV_PsxhdjXxIJ6.4hJGy5XxhcsXCBXcr w7Whp7PGj66wnWRNhz6dZDL.md8vV0JNP9SjzR.2kc9pSm7_sS73.EprnekCXUD.3.ncDLHUYFpu WmrdWkzBYf2N9Qlg7wXj_rAh9saYg3zArp3ghyf2TxG3I7nf9mvxFKF1MU.9HOQrEOy4PwRPVJxb G6zP2FG6mu0oCT0ZVCdu6LXmI1oK46VrzRlJmCALGMaYC.jw4AwyhuvI3ftDMdwN9bHxQcKN2HVm zGyyEDDlIfP8_doXV0q3JPCTAQiqrMeA8.deVBFalGgvmHlueSbcdkvN4nbQebM27JlUbFEIoHHc TedmWoxRoDeGNHluLFpwDKE9Z7yqpfMrzX6QSeqEPh4gMSfVeOyTiLYB61PShpBjSKxss3v6ysF. pPId7UX.ThanMIofr.BZpyx3XMoRk4L9i21ALKhyAJCIfTHso_SNTwDUB0mVDVjUa8R7DeA2gjpJ fyPoh9kcRjeLCW416SmXzm6D37zmntJwm04uP1E8f2xG12T8LblrujMf4pF8Q1Vrc3VNjkSrUFqg anqMXVjd3Fb78LxfJBCL0KKDXsW3uUKQQC5ZCtkhZxKnOXZns2frf5c2G5WflkBuCKu5CI7KwEhd cabHXTNx38fMyvmbLNbv8rKkxsO85E6CsFB86kIgRl X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Thu, 17 Mar 2022 11:20:33 +0000 Original-Received: by kubenode508.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID fecd72a5f9dbcf444eb428d079c9f9c2; Thu, 17 Mar 2022 11:20:31 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.19929 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.129.41; envelope-from=spacibba@aol.com; helo=sonic301-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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:136635 Archived-At: Hi: 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? Best, Ergus