Gnus development mailing list
 help / color / mirror / Atom feed
* GNUS overlays problem
@ 2004-07-15  1:56 Peter Whaite
  2004-07-15  3:37 ` Steve Youngs
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Whaite @ 2004-07-15  1:56 UTC (permalink / raw)
  Cc: wohler


Bill Wohler has asked me to report a problem we had while testing mh-e
for the pending emacs release.

I found that the gnus packages used to display messages in mh-e are
leaking overlays.  This is because the overlay evaporate property is not
set by default, so they are not destroyed when the buffer is erased in
preparation for a new message.

Peter Whaite <peta@whaite.ca> wrote:
> I <peta@whaite.ca> wrote:
> >
> > Well I dont see a bug in CVS emacs overlay handling.  Perhaps the
> > problem lies in a package external to mh-e, e.g. gnus.
> 
> Looks like thats where the problem lies.  Its leaking gnus overlays that
> don't have an evaporate property.
> 
> (pp (save-current-buffer
>   (set-buffer (get-buffer-create "show-+inbox"))
>   (mapcar (lambda (ov) (list (overlay-start ov) (overlay-end ov)
>   	  	       	     (overlay-properties ov)))
> 	  (overlays-in (point-min) (point-max)))
>   ))

These are overlays being used to display the current mail message

> ((515 558
>       (face gnus-cite-face-2))
>  (443 512
>       (face gnus-cite-face-2))
>  (378 437
>       (face gnus-cite-face-2))
>  (302 374
>       (face gnus-cite-attribution-face))
>  (302 374
>       (face gnus-cite-face-2))

and these are zero length overlays left from the display of previous
messages

>  (1 1
>     (face gnus-cite-face-2))
>  (1 1
>     (face gnus-cite-face-2))
>  (1 1
>     (face gnus-cite-attribution-face))
>  (1 1
>     (face gnus-cite-face-3))
>  (1 1
>     (keymap
>      (keymap
>       (mouse-2 . smiley-mouse-toggle-buffer)
>       (down-mouse-2 . ignore))
>      help-echo "mouse-2: toggle smilies in buffer" smiley t mouse-face highlight display
>      (when smiley-active image :type pbm :file "/usr/local/share/emacs/21.3.50/lisp/gnus/smile.pbm" :ascent center)))
>     (face gnus-cite-face-2))
> 
>   ...and many more
> )

-- 
Peter Whaite (http://whaite.ca)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GNUS overlays problem
  2004-07-15  1:56 GNUS overlays problem Peter Whaite
@ 2004-07-15  3:37 ` Steve Youngs
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Youngs @ 2004-07-15  3:37 UTC (permalink / raw)
  Cc: Peter Whaite, Bill Wohler

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

* Peter Whaite <peta@whaite.ca> writes:

  > Date: Fri, 17 Sep 2021 18:00:42 -0400

WTF?


-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|              Ashes to ashes, dust to dust.               |
|      The proof of the pudding, is under the crust.       |
|----------------------------------<steve@youngs.au.com>---|

[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-15  3:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-15  1:56 GNUS overlays problem Peter Whaite
2004-07-15  3:37 ` Steve Youngs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).