emacs-devel
[Top][All Lists]
Advanced

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

Re: Structural regular expressions


From: David Kastrup
Subject: Re: Structural regular expressions
Date: Thu, 09 Sep 2010 09:07:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> 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.

And what is narrow-to-region supposed to do then?

-- 
David Kastrup




reply via email to

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