GNU bug report logs - #55110
29.0.50; Regression in query-replace prompt

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Mon, 25 Apr 2022 15:46:01 UTC

Severity: normal

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 55110 <at> debbugs.gnu.org (full text, mbox):

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 55110 <at> debbugs.gnu.org
Subject: Re: bug#55110: 29.0.50; Regression in query-replace prompt
Date: Tue, 26 Apr 2022 21:42:28 +0200
Thanks for the heads up, I'll take a look at this some time soon.

On Mon, 25 Apr 2022 at 18:37, Juri Linkov <juri <at> linkov.net> wrote:

> Maybe this is caused by minibuffer-lazy-highlight-setup
> that sets filter to replace--region-filter in the minibuffer
> instead of the original buffer?

Most likely, yes.  `replace--region-filter' is modified globally, so a
similar problem should happen if you temporarily leave the minibuffer
and do Isearch in any other buffer.

If that's the case, I think we would have two options:

1) Add a quick fix for the minibuffer Isearch only.

2) A more complicated change that solves the issue generally by saving
the region filter in the fashion of isearch-lazy-highlight-regexp et
alii.

WDYT?




This bug report was last modified 2 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.