Stefan Monnier <[EMAIL PROTECTED]> suggested
If you just
(pp
(save-restriction
(widen)
(overlays-in (point-min)
(point-max)))
(get-buffer-create "*overlays*"))
and then look at the *overlays* buffer, you should be able to see
the start/end points of those overlays, so you can at least see if
they're empty. You maybe also want to check whether some/many of
them seem to be piled up one of top of the other.
Here is part of what I see:
#<overlay from 2144619 to 2144619 in RMAIL> #<overlay from 2144619 to 2144619
in RMAIL> #<overlay from 2144619 to 2144619 in RMAIL> #<overlay from 2144619 to
2144619 in RMAIL> #<overlay from 2144619 to 2144619 in RMAIL>)
These overlap dramatically.
Further than that you'll have to use `overlay-properties' on some
of those overlays to get an idea of where they come from and what
they're supposed to do.
OK. The following
(pp
(save-restriction
(widen)
(overlay-properties (car (overlays-in 2144619 2144619))))
(get-buffer-create "*overlays-1*"))
shows this:
(goto-address t keymap
(keymap
(3 keymap
(13 . goto-address-at-point))
(mouse-2 . goto-address-at-mouse))
help-echo "mouse-2, C-c RET: mail this address" mouse-face
secondary-selection face italic)
which is the same as looking at the `nth 2' and `nth 6' overlays.
I do have the following in my .emacs file:
(add-hook 'rmail-show-message-hook 'goto-address)
When I comment that out and start a fresh instance of Emacs, I see
just this in my *overlays* buffer for the same RMAIL file on the same
message:
(#<overlay from 1938742 to 1938772 in RMAIL> #<overlay from 1938656 to 1938670
in RMAIL>)
These overlays do not overlap.
Moreover,
(pp
(save-restriction
(widen)
(overlay-properties
(car
(overlays-in (point-min)
(point-max)))))
(get-buffer-create "*overlays*"))
shows
(face bold)
which is the same as for `nth 1'.
--
Robert J. Chassell
[EMAIL PROTECTED] GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel