Surely not. Once you do the delete-region, the extent has zero
length.
According to the manual, insertion at the position of a zero-length
extent goes into the extent only if *both* ends are closed.
Sorry, ignore me. That's exactly what you did do. For some reason I
didn't see what was in front of my eyes!
But yes, it does require there to be a separator newline between the two
summary entries. Then you'd have to special-case that in order to work
out which message is selected by the summary cursor when it's between
extents.
VM of course isn't going to use extents for this anyway, because it has to
work with fsfmacs, and mainly with fsfmacs - VM XEmacs users seem to
be in a small minority of VM users. It's just my add on that uses
extents, because it's much easier, and I don't care about the
non-XEmacs users;-)
So I guess for my purpose it would have worked to set extents that
were double-closed, as you suggest, from start to end-1 - provided
I'm willing to assume that in practice the summary format will always
end with a newline, which is not actually required by VM.
I didn't think of that!
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta