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.bugs Subject: bug#69342: query-replace: ignore events not binded in query-replace-map Date: Sat, 02 Mar 2024 19:22:38 +0200 Organization: LINKOV.NET Message-ID: <8634t8tuox.fsf@mail.linkov.net> References: <864jdx11qx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34480"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 69342@debbugs.gnu.org To: Gabriele Nicolardi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 02 18:25:10 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 1rgT6i-0008lm-GM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Mar 2024 18:25:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgT6B-0007F3-37; Sat, 02 Mar 2024 12:24:35 -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 1rgT6A-0007Er-3R for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2024 12:24:34 -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 1rgT69-00009o-QG for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2024 12:24:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rgT6b-0007aS-PL for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2024 12:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Mar 2024 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69342 X-GNU-PR-Package: emacs Original-Received: via spool by 69342-submit@debbugs.gnu.org id=B69342.170940027929124 (code B ref 69342); Sat, 02 Mar 2024 17:25:01 +0000 Original-Received: (at 69342) by debbugs.gnu.org; 2 Mar 2024 17:24:39 +0000 Original-Received: from localhost ([127.0.0.1]:39311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgT6E-0007Ze-Sp for submit@debbugs.gnu.org; Sat, 02 Mar 2024 12:24:39 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgT6B-0007ZM-N1; Sat, 02 Mar 2024 12:24:36 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 39CC660002; Sat, 2 Mar 2024 17:23:38 +0000 (UTC) In-Reply-To: <864jdx11qx.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 25 Feb 2024 09:28:52 +0200") X-GND-Sasl: juri@linkov.net 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:280904 Archived-At: close 69342 30.0.50 thanks > Thanks for the feature request. Or maybe this is a bug report, > since currently query-replace doesn't allow you using such a simple > configuration to ignore all unbound keys: > > (define-key query-replace-map [t] 'ignore) > > To give you the freedom of using such configuration we need > to set the optional argument ACCEPT-DEFAULTS of 'lookup-key' to t > with this patch: Now the patch is pushed to master, so you can use this in Emacs 30.