From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Tom <levelhalom@gmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Structural regular expressions
Date: Sat, 11 Sep 2010 07:44:41 +0000 (UTC)
Message-ID: <loom.20100911T093736-529@post.gmane.org>
References: <loom.20100907T212314-566@post.gmane.org>
	<AANLkTimYvE0aqrG-OQxuY6BTca7ngzrfQUa62mOxyV=+@mail.gmail.com>
	<loom.20100907T222143-475@post.gmane.org>
	<87sk1lt4uf.fsf@gmail.com> <jwvsk1kaav2.fsf-monnier+emacs@gnu.org>
	<pvhphbi0wq0d.fsf@gmx.li> <jwvlj7c9ura.fsf-monnier+emacs@gnu.org>
	<46875.130.55.118.19.1284065220.squirrel@webmail.lanl.gov>
	<AANLkTimUS7zL77TGiWoEdS+=nuww=TSABKMZuSiYPaCc@mail.gmail.com>
	<E1Ou5lY-0006Jj-MB@fencepost.gnu.org>
	<AANLkTi=dv8n40x-rTtz@mail.gmail.com>
	<loom.20100910T221237-941@post.gmane.org>
	<5C7E009338A34E35BB58F0C877A8AD9E@us.oracle.com>
	<87iq2dt3w0.fsf@catnip.gol.com>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: dough.gmane.org 1284191114 9753 80.91.229.12 (11 Sep 2010 07:45:14 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Sat, 11 Sep 2010 07:45:14 +0000 (UTC)
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 11 09:45:13 2010
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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.69)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1OuKlq-0004VT-1h
	for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2010 09:45:13 +0200
Original-Received: from localhost ([127.0.0.1]:51549 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1OuKlg-000107-Tw
	for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2010 03:45:00 -0400
Original-Received: from [140.186.70.92] (port=49186 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OuKla-0000zV-KR
	for emacs-devel@gnu.org; Sat, 11 Sep 2010 03:44:55 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1OuKlZ-0000kn-8k
	for emacs-devel@gnu.org; Sat, 11 Sep 2010 03:44:54 -0400
Original-Received: from lo.gmane.org ([80.91.229.12]:54423)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1OuKlY-0000kV-R6
	for emacs-devel@gnu.org; Sat, 11 Sep 2010 03:44:53 -0400
Original-Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1OuKlX-0004QU-A4
	for emacs-devel@gnu.org; Sat, 11 Sep 2010 09:44:51 +0200
Original-Received: from 94.21.170.188 ([94.21.170.188])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-devel@gnu.org>; Sat, 11 Sep 2010 09:44:51 +0200
Original-Received: from levelhalom by 94.21.170.188 with local (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-devel@gnu.org>; Sat, 11 Sep 2010 09:44:51 +0200
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 21
Original-X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: sea.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 94.21.170.188 (Opera/9.80 (Windows NT 6.1; U;
	en) Presto/2.6.30 Version/10.61)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=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:129954
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/129954>

Miles Bader <miles <at> gnu.org> writes:

> 
> "Drew Adams" <drew.adams <at> Oracle.Com> writes:
> > That's the real point, I believe: the paper touts the use of regexps
> > to divide text into chunks that match - chunks that are not
> > necessarily lines, in order to then act on those chunks in some way.
> 
> Not a good base, I think -- regexps are not really powerful enough to do
> the job well.
> 

Well, it doesn't have to be implemented with regexps, but the concept itself
seems useful that you can address syntactical blocks intelligently in the
buffer.

So it's a selection mechanism which can utilize both standard,
line oriented regexps and syntax-aware, multi line oriented patterns 
in a recursive fashion to efficiently select parts of the buffer to
perform an operation on.