emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Structural regular expressions


From: Stefan Monnier
Subject: Re: Structural regular expressions
Date: Thu, 09 Sep 2010 00:46:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> extending our notion of region so as to allow it to be
>> non-contiguous.

> Glancing through the source, this seems like it would be a pretty
> major change.  I guess BEGV and ZV would have to be changed from
> buffer positions to lists of buffer positions.  Then everything
> that looked at them would be updated to respect this change.  And
> so forth.  Or do I have the wrong end of the stick?

Yes, you're confusing the region with the visible part of the buffer:
BEGV and ZV have to do with narrowing and extending them to discontinuous
areas would indeed be a major undertaking, whereas the region is just the
part of the buffer between point and mark.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]