From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: paul@wolfbone.ath.cx (P.L.Hayes) Newsgroups: gmane.emacs.devel Subject: Re: [paul@wolfbone.ath.cx: Re: re-builder bug(s)] Date: Fri, 09 Mar 2007 19:48:54 +0000 Message-ID: <87r6ryi4ex.fsf@wolfbone.ath.cx> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173551763 10565 80.91.229.12 (10 Mar 2007 18:36:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2007 18:36:03 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Detlev Zundel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 10 19:36:01 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQ6QC-0003Ds-Kj for ged-emacs-devel@m.gmane.org; Sat, 10 Mar 2007 19:36:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQ6Qb-0003Fm-0q for ged-emacs-devel@m.gmane.org; Sat, 10 Mar 2007 13:36:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPl5d-0006o6-GZ for emacs-devel@gnu.org; Fri, 09 Mar 2007 14:49:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPl5b-0006mL-W0 for emacs-devel@gnu.org; Fri, 09 Mar 2007 14:49:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPl5b-0006m7-SO for emacs-devel@gnu.org; Fri, 09 Mar 2007 14:49:19 -0500 Original-Received: from smtp808.mail.ird.yahoo.com ([217.146.188.68]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HPl5F-0005Rv-Ed for emacs-devel@gnu.org; Fri, 09 Mar 2007 14:48:57 -0500 Original-Received: (qmail 28348 invoked from network); 9 Mar 2007 19:48:55 -0000 Original-Received: from unknown (HELO wolfbone.ath.cx) (rottwang@btinternet.com@86.128.98.61 with login) by smtp808.mail.ird.yahoo.com with SMTP; 9 Mar 2007 19:48:55 -0000 X-YMail-OSG: qI3VwcoVM1l6aSoxw.BYnSenuolI0H6JOxNjGsvneot2WDGgqQ5vboGlXhF2hPdIYcX_Xm3LSvZoaNEw22u3eAKjQH5MP4djsyfzrYicAEn00ABA9H_H5CExuMOYHKio.lVua9BNN5aJ In-Reply-To: (Detlev Zundel's message of "Fri\, 09 Mar 2007 17\:38\:46 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) X-detected-kernel: Genre and OS details not recognized. X-Mailman-Approved-At: Sat, 10 Mar 2007 13:36:14 -0500 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: news.gmane.org gmane.emacs.devel:67685 Archived-At: Detlev Zundel writes: > Ok, attached is a patch that changes the behaviour of re-builder when > it comes to what it previously considered empty regexps. It now > counts words, lines and other zero-width regexps. > > Although I think the new behaviour is consistent in that it now also > counts (up to its defined maximum) the numbers of characters in a > buffer when confronted with an empty regexp (after all > re-search-forward matches), I don't know if that is what users would > expect. > > What do you think? That patch works and (as a user) I think either that behaviour or some message in the modeline other than "*invalid*" would've been sufficient to preclude my earlier confusion. Cheers, Paul.