;; at initialization of the extent
;; for this to work the extent must not include the newlines
(set-extent-property e 'end-open nil)
(set-extent-property e 'start-open nil)
;; on each update:
(let ((start (extent-start-position e))
(end (extent-end-position e)))
(goto-char start)
(delete-region start end)
(insert updated-summary-text))
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.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta