> And since the property list of the three images are fully identical
> (the same cons cell), the second and third images (intervals) which
> are adjacent to the first image (interval), are skipped by
> Fnext_property_change.

> I understand why the interval code does this for ordinary text
> properties, but it obviously breaks for the display property.

The problem is that text-properties are not really adapted for such uses.
After all, they apply to chars, not to text.  So by convention we consider
that contiguous properties that are `eq' make up a region/area/extent, which
works 99%.  For corner cases like yours, you have to work around the problem
by making sure your `cons' cells are not `eq'.

Another alternative is to use overlays.  Except that overlays are not
duplicable and don't apply to strings.  That's where XEmacs's extents
make sense.


        Stefan


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to