From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Info-search-whitespace Date: Fri, 19 Nov 2004 19:48:48 +0200 Organization: JURTA Message-ID: <87y8gxivbc.fsf@jurta.org> References: <878y942l8h.fsf-monnier+emacs@gnu.org> <20041114232600.GA12968@fencepost> <20041118170700.GG5243@xts.gnuu.de> <87fz36h90m.fsf_-_@jurta.org> <873bz6l99n.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100886739 16158 80.91.229.6 (19 Nov 2004 17:52:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2004 17:52:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 19 18:52:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CVCvR-0008Us-00 for ; Fri, 19 Nov 2004 18:52:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVD4L-00028L-Ot for ged-emacs-devel@m.gmane.org; Fri, 19 Nov 2004 13:01:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CVD48-00025m-RC for emacs-devel@gnu.org; Fri, 19 Nov 2004 13:01:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CVD47-00024q-Qj for emacs-devel@gnu.org; Fri, 19 Nov 2004 13:00:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVD47-00024P-6d for emacs-devel@gnu.org; Fri, 19 Nov 2004 13:00:59 -0500 Original-Received: from [205.196.208.4] (helo=whisk.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CVCv4-0005oy-1a for emacs-devel@gnu.org; Fri, 19 Nov 2004 12:51:38 -0500 Original-Received: from mail.jurta.org (80-235-37-43-dsl.mus.estpak.ee [80.235.37.43]) by whisk.dreamhost.com (Postfix) with ESMTP id B2D3D17511C; Fri, 19 Nov 2004 09:51:35 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: <873bz6l99n.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 19 Nov 2004 00:06:00 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30098 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30098 Stefan Monnier writes: >> Info-search-whitespace to "unibyte:\\(?:\\s-+\\)*t" and on the line > > The \(?:..\) is actually both useless and harmful here and should be > removed (if possible). The default value of Info-search-whitespace-regexp is the same as the default value of search-whitespace-regexp used in regexp isearch. And C-M-s suffers from the same deficiency: Emacs hangs while re-searching for an innocently looking regexp like "unibyte: *t" on relatively long whitespace regions even in non-Info buffers. Removing the grouping constructs from the default values of both variables would solve both problems. I see no reason not to do so. It seems Emacs interprets an expanded regexp "unibyte:\\s-+*t" as "unibyte:\\s-*t" which works fine. -- Juri Linkov http://www.jurta.org/emacs/