all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: emacs-devel@gnu.org
Subject: Re: Structural regular expressions
Date: Thu, 09 Sep 2010 08:34:15 +0200 (CEST)	[thread overview]
Message-ID: <20100909.083415.204323845776459918.hanche@math.ntnu.no> (raw)
In-Reply-To: <AANLkTimbFYDw_DwFTz43AEXLVvU++1bgVO8Dr7ZdeTkF@mail.gmail.com>

+ Kan-Ru Chen <kanru@kanru.info>:

> Could this be implemented like a `virtual-buffer'.
> 
>   (with-virtual-buffer LABEL &rest BODY)
> 
> From the virtual-buffer point of view, the multiple regions marked by
> LABEL are as a whole, connected buffer. Then legacy code could work on
> this buffer without change.

And you might get very surprised when a search-and-replace replaced
some text spanning more than one of the regions.

- Harald



  reply	other threads:[~2010-09-09  6:34 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07 19:25 Structural regular expressions Tom
2010-09-07 20:08 ` Lennart Borgman
2010-09-07 20:27   ` Tom
2010-09-07 21:08     ` Lennart Borgman
2010-09-08  1:13     ` Eric Schulte
2010-09-08  8:46       ` Stefan Monnier
2010-09-08  9:20         ` Lawrence Mitchell
2010-09-08 10:30           ` Kan-Ru Chen
2010-09-09  6:34             ` Harald Hanche-Olsen [this message]
2010-09-08 14:29           ` Stefan Monnier
2010-09-08 15:52             ` Lawrence Mitchell
2010-09-08 22:46               ` Stefan Monnier
2010-09-09  7:07                 ` David Kastrup
2010-09-09 17:03                   ` Stefan Monnier
2010-09-10 12:23                     ` David Kastrup
2010-09-10 13:31                       ` Stefan Monnier
2010-09-09 20:47             ` Davis Herring
2010-09-09 22:52               ` Lennart Borgman
2010-09-10 10:48                 ` Stefan Monnier
2010-09-10 15:43                 ` Richard Stallman
2010-09-10 17:03                   ` David House
     [not found]                   ` <AANLkTi=dv8n40x-rTtz@mail.gmail.com>
2010-09-10 20:29                     ` Tom
2010-09-10 23:50                       ` Drew Adams
2010-09-11  2:23                         ` Miles Bader
2010-09-11  7:44                           ` Tom
2010-09-11  7:58                           ` Wojciech Meyer
2010-09-11  8:33                             ` tomas
2010-09-11 15:04                           ` Drew Adams
2010-09-11 15:49                       ` Richard Stallman
2010-09-12 13:48                         ` Stefan Monnier
2010-09-12 14:09                           ` Lennart Borgman
2010-09-12 16:43                             ` Drew Adams
2010-09-12 17:03                               ` Lennart Borgman
2010-09-12 21:31                                 ` Drew Adams
2010-09-09 15:51       ` Tom
2010-09-09 16:01         ` Lennart Borgman
2010-09-09 16:23           ` Tom
2010-09-09 16:44             ` Lennart Borgman
2010-09-09 16:53               ` Tom
2010-09-09 17:02                 ` Lennart Borgman
2010-09-09 19:27             ` Daniel Colascione
2010-09-08  0:00 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100909.083415.204323845776459918.hanche@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.