From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups: gmane.emacs.devel
Subject: Re: Structural regular expressions
Date: Wed, 08 Sep 2010 16:29:10 +0200
Message-ID: <jwvlj7c9ura.fsf-monnier+emacs@gnu.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>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: dough.gmane.org 1283957586 22684 80.91.229.12 (8 Sep 2010 14:53:06 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Wed, 8 Sep 2010 14:53:06 +0000 (UTC)
Cc: emacs-devel@gnu.org
To: Lawrence Mitchell <wence@gmx.li>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 08 16:53:05 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 1OtM1G-0005Ql-D0
	for ged-emacs-devel@m.gmane.org; Wed, 08 Sep 2010 16:53:02 +0200
Original-Received: from localhost ([127.0.0.1]:42477 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1OtM1F-00014x-Tj
	for ged-emacs-devel@m.gmane.org; Wed, 08 Sep 2010 10:53:01 -0400
Original-Received: from [140.186.70.92] (port=49839 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OtLfq-00034W-8O
	for emacs-devel@gnu.org; Wed, 08 Sep 2010 10:30:55 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <monnier@iro.umontreal.ca>) id 1OtLfk-0000X6-7G
	for emacs-devel@gnu.org; Wed, 08 Sep 2010 10:30:49 -0400
Original-Received: from impaqm2.telefonica.net ([213.4.138.2]:27687)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@iro.umontreal.ca>) id 1OtLfk-0000Wa-1l
	for emacs-devel@gnu.org; Wed, 08 Sep 2010 10:30:48 -0400
Original-Received: from IMPmailhost3.adm.correo ([10.20.102.124])
	by IMPaqm2.telefonica.net with bizsmtp
	id 4Diy1f0042h2L9m3MEVCrA; Wed, 08 Sep 2010 16:29:12 +0200
Original-Received: from ceviche.home ([83.61.36.43])
	by IMPmailhost3.adm.correo with BIZ IMP
	id 4EVA1f00P0vquEj1jEVB5v; Wed, 08 Sep 2010 16:29:12 +0200
X-Brightmail-Tracker: AAAAAA==
X-TE-authinfo: authemail="monnier$movistar.es"
	|auth_email="monnier@movistar.es"
X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01"
Original-Received: by ceviche.home (Postfix, from userid 20848)
	id 6C183660D2; Wed,  8 Sep 2010 16:29:10 +0200 (CEST)
In-Reply-To: <pvhphbi0wq0d.fsf@gmx.li> (Lawrence Mitchell's message of "Wed,
	08 Sep 2010 10:20:18 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
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:129785
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/129785>

> A halfway house, similar to that suggested by Drew, would be something
> like http://www2.ph.ed.ac.uk/~s0198183/multi-region.el.  ISTR some
> discussion when it was posted in g.e.sources, *grovels through mail*:
> http://thread.gmane.org/gmane.emacs.sources/1390

> Maybe this is a useful feature to now think about incorporating

Indeed, we could probably go a long way by simply extending our notion
of region so as to allow it to be non-contiguous.

Patches welcome,


        Stefan