all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Eric Schulte" <schulte.eric@gmail.com>
Cc: Tom <levelhalom@gmail.com>, emacs-devel@gnu.org
Subject: Re: Structural regular expressions
Date: Wed, 08 Sep 2010 10:46:41 +0200	[thread overview]
Message-ID: <jwvsk1kaav2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87sk1lt4uf.fsf@gmail.com> (Eric Schulte's message of "Tue, 07 Sep 2010 19:13:28 -0600")

> Would generalizing the narrowing behavior to arbitrarily many ranges in
> a buffer instead of a single range have extensive ramifications?  Would
> this be an easy or difficult thing to implement?

Since the non-narrowed part is not displayed at all, it wouldn't be
quite what we want anyway.
We'd need to add something new, tho it could be based on something
pre-existing (e.g. it could rely on text properties like to `invisible'
and/or `intangible').

> If it's not too difficult then providing behavior like that mentioned in
> the article above should be trivial.

Nothing's trivial when you have to ensure some amount of backward
compatibility with code written many years ago ;-)

But of course, it would be OK to start with something that may break
pre-existing code, as long as it's only broken when you use the
new feature.

And I agree with Lennart, that such a new tool, if done right, could be
a good basis for better multi-mode support.


        Stefan



  reply	other threads:[~2010-09-08  8:46 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 [this message]
2010-09-08  9:20         ` Lawrence Mitchell
2010-09-08 10:30           ` Kan-Ru Chen
2010-09-09  6:34             ` Harald Hanche-Olsen
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=jwvsk1kaav2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=levelhalom@gmail.com \
    --cc=schulte.eric@gmail.com \
    /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.