From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Suggestion for Enhancement to re-search-.* enabling Tree-Based Pattern Matching Date: Tue, 02 Nov 2010 22:53:26 -0400 Organization: A noiseless patient Spider Message-ID: References: <59d13ede-9f6e-4dcb-8826-fae2a178c8d7@32g2000yqz.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291894574 15639 80.91.229.12 (9 Dec 2010 11:36:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 11:36:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 12:36:07 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQen6-0005sH-6G for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 12:36:04 +0100 Original-Received: from localhost ([127.0.0.1]:58954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQen2-00031B-Dv for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 06:36:00 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Injection-Info: mx02.eternal-september.org; posting-host="BXBO+BgbT2ofVp9GMt9Yow"; logging-data="29990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181XZakOy9XWRTSBA9TH4hD" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:uKeIp9GxzoyUZkPb4TGSl86PjSY= sha1:52ZDaMDx4eX4yB5oQlKQJAx6th8= Original-Xref: usenet.stanford.edu gnu.emacs.help:182165 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76991 Archived-At: > That is for each level of match-parens we create a sub-list containing > possible BEG-END values and in the end delete sub-lists containing no > BEG-END-pairs. That's a good idea. I think the benefits are probably too small, sadly, to justify changing it now. But if/when someone reimplements the regexp engine, it might be worthwhile to try and add such a feature. Stefan