From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#6362: Emacs command `dired-isearch-filenames-regexp' cause CPU usage 100% Date: Fri, 09 Sep 2011 18:49:19 +0300 Organization: JURTA Message-ID: <8739g54sxs.fsf@mail.jurta.org> References: <87d3w4lc3r.fsf@mail.jurta.org> <87aar782nt.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315583469 24588 80.91.229.12 (9 Sep 2011 15:51:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2011 15:51:09 +0000 (UTC) To: 6362-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 17:51:04 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R23M7-0007ns-BH for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Sep 2011 17:51:03 +0200 Original-Received: from localhost ([::1]:59179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R23M6-0000MP-61 for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Sep 2011 11:51:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R23M3-0000ME-LS for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2011 11:51:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R23M2-0006NH-Ia for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2011 11:50:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R23M2-0006N7-H9 for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2011 11:50:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R23Pz-0000WL-3d for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2011 11:55:03 -0400 Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2011 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6362@debbugs.gnu.org, juri@jurta.org Original-Received: via spool by 6362-done@debbugs.gnu.org id=D6362.13155836651950 (code D ref 6362); Fri, 09 Sep 2011 15:55:01 +0000 Original-Received: (at 6362-done) by debbugs.gnu.org; 9 Sep 2011 15:54:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R23PL-0000VL-H8 for submit@debbugs.gnu.org; Fri, 09 Sep 2011 11:54:25 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R23P4-0000Uv-Ht for 6362-done@debbugs.gnu.org; Fri, 09 Sep 2011 11:54:21 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id DC7B56E8058 for <6362-done@debbugs.gnu.org>; Fri, 9 Sep 2011 08:50:00 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 234BA451C3C5 for <6362-done@debbugs.gnu.org>; Fri, 9 Sep 2011 08:49:59 -0700 (PDT) In-Reply-To: <87aar782nt.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 07 Jun 2010 21:09:42 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 09 Sep 2011 11:55:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50767 Archived-At: > 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.