[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible po
From: |
Michael Heerdegen |
Subject: |
bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer |
Date: |
Mon, 09 Sep 2024 19:55:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Juri Linkov <juri@linkov.net> writes:
> > Would something like this be good?
> >
> > @@ -3740,8 +3740,12 @@ dired-isearch-search-filenames
> > - (isearch-search-fun-in-text-property
> > - (funcall orig-fun) '(dired-filename dired-symlink-filename)))
> > + (let ((search-fun
> > + (isearch-search-fun-in-text-property
> > + (funcall orig-fun) '(dired-filename dired-symlink-filename))))
> > + (lambda (&rest args)
> > + (font-lock-ensure)
> > + (apply search-fun args))))
>
> This will call 'font-lock-ensure' for every search hit?
Right - this is the wrong place to add it.
The idea was to make the search function itself know that it has to care
about font-locking. We could still save the information in the function
by using an oclosure, though.
Michael.
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, (continued)
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Juri Linkov, 2024/09/04
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Michael Heerdegen, 2024/09/05
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Madhu, 2024/09/05
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Juri Linkov, 2024/09/05
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Michael Heerdegen, 2024/09/06
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Michael Heerdegen, 2024/09/06
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Juri Linkov, 2024/09/08
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Michael Heerdegen, 2024/09/09
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Juri Linkov, 2024/09/09
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer,
Michael Heerdegen <=
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Juri Linkov, 2024/09/09
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Juri Linkov, 2024/09/10
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Stefan Monnier, 2024/09/10
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Stefan Monnier, 2024/09/10
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Eli Zaretskii, 2024/09/14
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Stefan Monnier, 2024/09/15
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Eli Zaretskii, 2024/09/15
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Madhu, 2024/09/15
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Michael Heerdegen, 2024/09/16
- bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer, Stefan Monnier, 2024/09/17