[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-region.el --- Mapping commands over multiple active regions.
From: |
Kim F. Storm |
Subject: |
Re: multi-region.el --- Mapping commands over multiple active regions. |
Date: |
Mon, 09 Jan 2006 12:27:23 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Richard M. Stallman" <address@hidden> writes:
> (region-beginning) => (10 30 50)
>
> (region-end) => (20 40 60)
>
> Could I, as a programmer, trust that the ordering of those values are
> always in sync?
>
> Sure, if you don't change anything between one call and the other.
> They would both operate from the same data structure.
Shouldn't those start/end positions be markers rather than simple numbers?
E.g. so that "delete-region" on a multi-region would work correctly...
--
Kim F. Storm <address@hidden> http://www.cua.dk