From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50766: Regexp paren pairs in query-replace-regexp prompt should be highlighted Date: Fri, 24 Sep 2021 08:27:22 +0000 Message-ID: References: <1LWmgMt-iOZcz0k2N5IVTqgDu922CLEd8GATVBsqdQfVeBzIGEaVuORC9k0SXORQDkpqc8BO3zxOPFbQeMMhNHQmOvcvIOpOpoWL8CAVUq8=@protonmail.com> <87bl4jxacl.fsf@gnus.org> Reply-To: ndame Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7046"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50766@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 24 10:28:18 2021 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 1mTgZ7-0001aA-0O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Sep 2021 10:28:17 +0200 Original-Received: from localhost ([::1]:40106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTgZ5-0005tU-TW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Sep 2021 04:28:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTgYs-0005sw-Ki for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2021 04:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTgYs-0003u0-Cl for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2021 04:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTgYs-0006MJ-91 for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2021 04:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ndame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Sep 2021 08:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50766 X-GNU-PR-Package: emacs Original-Received: via spool by 50766-submit@debbugs.gnu.org id=B50766.163247205124400 (code B ref 50766); Fri, 24 Sep 2021 08:28:02 +0000 Original-Received: (at 50766) by debbugs.gnu.org; 24 Sep 2021 08:27:31 +0000 Original-Received: from localhost ([127.0.0.1]:56677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTgYM-0006LU-VF for submit@debbugs.gnu.org; Fri, 24 Sep 2021 04:27:31 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:30895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTgYL-0006LD-DQ for 50766@debbugs.gnu.org; Fri, 24 Sep 2021 04:27:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1632472042; bh=jx6pqd9uVxr3qaJWFwbhpicAzB+ljXDMeW28wPcuSfs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=EqIOwzofQy4U9LRd70xX/pu4rmk+zWoU4+BgRdFZAf0OK2DmF/aLicIVgX1XzsTtA PrKm6ssiemxrhm3dCF7r/Hx5lw6wdAUUtXGGjvzdBjj34eT3eJo4VMeW/YYemy+83T x4G8nHj0w9MRg3+9kWgVELqX9fUOeKwy/4Q03kd4= In-Reply-To: <87bl4jxacl.fsf@gnus.org> 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" X-ACL-Warn: , ndame Xref: news.gmane.io gmane.emacs.bugs:215273 Archived-At: Looks like setting the syntax in the minibuffer fixes this: (modify-syntax-entry ?\\ "\\" (syntax-table)) So the syntax of \ in the minibuffer should be changed temporarily to escape-syntax during read-regexp.