[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6362: Emacs command `dired-isearch-filenames-regexp' cause CPU usage
From: |
Juri Linkov |
Subject: |
bug#6362: Emacs command `dired-isearch-filenames-regexp' cause CPU usage 100% |
Date: |
Fri, 09 Sep 2011 18:49:19 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
> BTW, there is another bug in query-replace lazy-highlighting in dired.
> Wdired sets `query-replace-skip-read-only' to replace only in
> file names, but during replacement all read-only matches are
> lazy-highlighted too. This can be fixed with this patch:
> [...]
> +(defun wdired-isearch-filter-read-only (beg end)
> + "Skip matches that have a read-only property."
> + (and (isearch-filter-visible beg end)
> + (not (text-property-not-all (min beg end) (max beg end)
> + 'read-only nil))))
I installed this old patch and closed this bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#6362: Emacs command `dired-isearch-filenames-regexp' cause CPU usage 100%,
Juri Linkov <=