From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#59918: 29.0.60; query-replace in the minibuffer lazy-highlights original buffer Date: Mon, 12 Dec 2022 23:42:46 +0100 Message-ID: <878rjcnt09.fsf@gmail.com> References: <86y1rhhvsi.fsf@mail.linkov.net> <87edt6419r.fsf@gmail.com> <864ju0r002.fsf@mail.linkov.net> <83iligqyva.fsf@gnu.org> <87o7s8o31r.fsf@gmail.com> <838rjcqv4y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34104"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59918@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 23:43:10 2022 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 1p4rVu-0008lV-DR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 23:43:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4rVn-0005ZR-65; Mon, 12 Dec 2022 17:43:03 -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 1p4rVm-0005X4-5C for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4rVl-0008NE-TM for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4rVl-0005F3-Ot for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Dec 2022 22:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59918 X-GNU-PR-Package: emacs Original-Received: via spool by 59918-submit@debbugs.gnu.org id=B59918.167088497620143 (code B ref 59918); Mon, 12 Dec 2022 22:43:01 +0000 Original-Received: (at 59918) by debbugs.gnu.org; 12 Dec 2022 22:42:56 +0000 Original-Received: from localhost ([127.0.0.1]:55899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rVf-0005Ep-Nh for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:42:56 -0500 Original-Received: from mail-ej1-f54.google.com ([209.85.218.54]:38639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rVe-0005Eh-W0 for 59918@debbugs.gnu.org; Mon, 12 Dec 2022 17:42:55 -0500 Original-Received: by mail-ej1-f54.google.com with SMTP id m18so32038392eji.5 for <59918@debbugs.gnu.org>; Mon, 12 Dec 2022 14:42:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=oYrPhc1Ub+krlxsrtRMuPJmwEscm894Vd90VntvoBBg=; b=M3JVYGhPrA9Wum4kTFp8spjgpZAE005E9spkq2l0hsPFDBT8G0lJURTyqjMxRlsyiA nxblPbqpFrh5DhICUvXhfViZJ3CxdUOyNBmdB7002Lqm7H3jgA5jRCwJNTqGPiFX2uD1 CFPLHtW93PG19hjODz3Y9lhRzWYRlMlzWGlWgEkAJYo62+/s62YX11c0+3qqeqcrb2NW gL7VMB3Jkk1PWyqhs2QYHCUYjI/aoFU9csU/PgvsU7zMH93bVsoN0Cnj7aIDaXubZpeH tjjvxR/QvatxZf2JR3M0Dz8QGIeIN0sFPl3QH/twZRfxo7StBEJi+DwlN4Rdk4/lnr+5 G8Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oYrPhc1Ub+krlxsrtRMuPJmwEscm894Vd90VntvoBBg=; b=BuJpE1dVXYGDDuVtjWd8PLsBqN7+Pl15B9scN9frsY0QXFBuslVb9H4VpxhjQkb9LD Fjb277EFGW08HCGAO4k0yJuY1i8z4IWdr1Rkdu/uifD3tcV1sE+X32BzmdQnHeVID9uV TReF586drVXbn1fMUsZqHCyM6+xngMKY8p56uq2xOstS9fwZ6bMFcPTU/l4Hu9lHZKS5 UxNQuhcTFXiM5iFgLHcENWNmA5TQs5ixcILCj0HrLKqwfF81QAFJlfajoas4ZzDde7Ey CP/KBJPurhnqxRuqSUhOsNcGU4WBe9M2q4dOslf3M+sULxIl4+++jiQLvG5Ue90sKZsj 7toA== X-Gm-Message-State: ANoB5pmYNLdLC0U6CmpJpGBr2Wl0ZtpNSRv/NoAuw/lZvGvLXUd/bltk 6POZ9D0muI1CuEoHz63tdtGMuNY0LsiCuQ== X-Google-Smtp-Source: AA0mqf5SIbQfdPK0m9Y0fm1U7VUZR3w6DXAniQNqMS0i2W7LTAKQv7jvtXvQOPwFKi4ix6H7sqdOQw== X-Received: by 2002:a17:906:a3c1:b0:7ad:a2ee:f8e6 with SMTP id ca1-20020a170906a3c100b007ada2eef8e6mr15144310ejb.15.1670884968848; Mon, 12 Dec 2022 14:42:48 -0800 (PST) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::911f]) by smtp.gmail.com with ESMTPSA id 4-20020a170906328400b007aed2057ea1sm3764758ejw.167.2022.12.12.14.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 14:42:48 -0800 (PST) In-Reply-To: <838rjcqv4y.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 12 Dec 2022 21:28:29 +0200") 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:250767 Archived-At: --=-=-= Content-Type: text/plain On Mon, 12 Dec 2022 at 21:28, Eli Zaretskii wrote: > OK, so we must fix it on the emacs-29 branch. What remains is to > decide what fix to use. This one :-) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Don-t-allow-lazy-highlight-from-recursive-minibuffer.patch >From bcebf9622bc11cb36e0a56bc1874f24cfa634210 Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Mon, 12 Dec 2022 23:07:28 +0100 Subject: [PATCH] Don't allow lazy highlight from recursive minibuffers See bug#59918. * lisp/isearch.el (minibuffer-lazy-highlight-setup): Don't activate when starting a recursive minibuffer. --- lisp/isearch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index bc3697deb0a..6a17d18c45e 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -4435,7 +4435,7 @@ minibuffer-lazy-highlight-setup highlighting. LAX-WHITESPACE: The value of `isearch-lax-whitespace' and `isearch-regexp-lax-whitespace' to use for lazy highlighting." - (if (not highlight) + (if (or (not highlight) (minibufferp)) #'ignore (let ((unwind (make-symbol "minibuffer-lazy-highlight--unwind")) (after-change (make-symbol "minibuffer-lazy-highlight--after-change")) -- 2.38.1 --=-=-=--