>> So you prefer to slow down only when the user types C-s?
>> This is possible by adding a local hook in
>> wdired-change-to-wdired-mode:
>>
>>   (add-hook 'isearch-mode-hook #'font-lock-ensure nil t)
>
> A step back: I now tried to reproduce the recipe, but I only see the
> clobbered match data error (randomly) - I don't see only the visible
> buffer portion operated on.  With other words: I can't reproduce the
> issue, at least not with the "visible buffer portion" interpretation,
> and I don't see that we would need to call `font-lock-ensure' at all.

Maybe this is reproducible only on very long Dired buffers?

> Second: I'm confused.  Apparently, when `dired-isearch-filenames-mode'
> is on, why do `search-forward-regexp' and `replace-regexp' behave
> differently?  `search-forward-regexp' does find matches outside of file
> names that `replace-regexp' ignores.

`replace-regexp' uses Isearch functions,
`search-forward-regexp' is a core function that doesn't use Isearch.



  • bug#73018:... Madhu
    • bug#7... Bug reports for GNU Emacs, the Swiss army knife of text editors
      • b... Madhu
      • b... Juri Linkov
        • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
          • ... Madhu
          • ... Juri Linkov
            • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
              • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
                • ... Juri Linkov
                • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
                • ... Juri Linkov
                • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
                • ... Juri Linkov
                • ... Juri Linkov
                • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
                • ... Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply via email to