[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RMAIL slows
From: |
Robert J. Chassell |
Subject: |
Re: RMAIL slows |
Date: |
Fri, 6 May 2005 18:49:37 +0000 (UTC) |
Stefan Monnier <address@hidden> 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
address@hidden GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
- Re: RMAIL slows, Robert J. Chassell, 2005/05/04
- Re: RMAIL slows, Stefan Monnier, 2005/05/05
- Re: RMAIL slows, Robert J. Chassell, 2005/05/05
- Re: RMAIL slows, Kevin Rodgers, 2005/05/05
- Re: RMAIL slows, Robert J. Chassell, 2005/05/06
- Re: RMAIL slows, Stefan Monnier, 2005/05/06
- Re: RMAIL slows,
Robert J. Chassell <=
- Re: RMAIL slows, Stefan Monnier, 2005/05/06
- Re: RMAIL slows, Robert J. Chassell, 2005/05/07
- Re: RMAIL slows, Robert J. Chassell, 2005/05/10
- Should overlays evaporate by default?, Peter Whaite, 2005/05/10
- Re: Should overlays evaporate by default?, Richard Stallman, 2005/05/11
- Re: Should overlays evaporate by default?, Kim F. Storm, 2005/05/12
- Re: Should overlays evaporate by default?, Richard Stallman, 2005/05/12
- Re: Should overlays evaporate by default?, Kim F. Storm, 2005/05/13
- Re: Should overlays evaporate by default?, Richard Stallman, 2005/05/13
- Re: Should overlays evaporate by default?, Peter Whaite, 2005/05/16