From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19387 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME vs HTML Date: 30 Nov 1998 17:03:13 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86zp98g7oe.fsf@kramer.bp.aventail.com> References: <86ogpvz4cg.fsf@kramer.bp.aventail.com> <863e73jpff.fsf@kramer.bp.aventail.com> <86d866o14z.fsf@kramer.bp.aventail.com> Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035157745 11346 80.91.224.250 (20 Oct 2002 23:49:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:49:05 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA28409 for ; Mon, 30 Nov 1998 17:05:56 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB03319; Mon, 30 Nov 1998 16:05:14 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 30 Nov 1998 16:05:01 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id QAA11838 for ; Mon, 30 Nov 1998 16:04:11 -0600 (CST) Original-Received: from slow.bp.aventail.com (vinb15.cntwk.net [207.205.120.157]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA28348 for ; Mon, 30 Nov 1998 17:03:59 -0500 (EST) Original-Received: from kramer.bp.aventail.com (kramer.bp.aventail.com [192.168.2.2]) by slow.bp.aventail.com (8.8.5/8.8.5) with ESMTP id RAA25716 for ; Mon, 30 Nov 1998 17:03:07 -0800 Original-Received: (from wmperry@localhost) by kramer.bp.aventail.com (8.8.5/8.8.5) id RAA09179; Mon, 30 Nov 1998 17:03:13 -0500 Original-To: ding@gnus.org X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > wmperry@aventail.com (William M. Perry) writes: > > > Definitely not with those colors... This is probably because I set the > > specifier for the default face on the _buffer_ - I thought you did your > > HTML drawing in a separate buffer? > > I did, but I changed it to use the render in the article buffer so that > pictures and stuff would survive. > > One solution would be to have the undisplayer function reset the buffer > background (and stuff) to what it was before w3 did, er, stuff. Is there > a w3 function that might be called to "normalize" the buffer? (defun remove-w3-properties (&optional buffer) (setq buffer (or buffer (current-buffer))) (mapc (lambda (prop) (remove-specifier (face-property 'default prop) buffer)) '(background background-pixmap foreground))) (remove-w3-properties (get-buffer gnus-article-buffer)) What about that? Or... *** mm-view.el~ Sun Nov 29 11:54:37 1998 --- mm-view.el Mon Nov 30 17:02:36 1998 *************** *** 83,88 **** --- 83,90 ---- handle `(lambda () (let (buffer-read-only) + (mapc (lambda (prop) (remove-specifier (face-property 'default prop) (current-buffer))) + '(background background-pixmap foreground)) (delete-region ,(set-marker (make-marker) (point-min)) ,(set-marker (make-marker) (point-max))))))))) This seems to do the trick for me. -bp