emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#6362: closed (Emacs command `dired-isearch-filenam


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#6362: closed (Emacs command `dired-isearch-filenames-regexp' cause CPU usage 100%)
Date: Fri, 09 Sep 2011 15:55:02 +0000

Your message dated Fri, 09 Sep 2011 18:49:19 +0300
with message-id <address@hidden>
and subject line Re: bug#6362: Emacs command `dired-isearch-filenames-regexp' 
cause CPU usage 100%
has caused the GNU bug report #6362,
regarding Emacs command `dired-isearch-filenames-regexp' cause CPU usage 100%
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6362: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6362
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Emacs command `dired-isearch-filenames-regexp' cause CPU usage 100% Date: Sun, 6 Jun 2010 11:36:00 +0800
Package: Emacs
Version: 23.2.1

I use the command `dired-isearch-filenames-regexp' to find some files
in a directory. I use the the anchor `^' to match the files start with
something. Emacs is suspended and the CPU usage is 100%.Here is a
transcript:

1. Open a directory in dired mode.
2. Input `M-x dired-isearch-filenames-regexp RET  ^ f RET'

Emacs will suspend rather than match the file names start with `f'.

I'm using Windows XP, Emacs version 23.2.

Bye,

Li Zhai



--- End Message ---
--- Begin Message --- Subject: Re: 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]