From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19388 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:09:18 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86ww4cg7e9.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 1035157746 11347 80.91.224.250 (20 Oct 2002 23:49:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:49:06 +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 RAA28589 for ; Mon, 30 Nov 1998 17:11:00 -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 QAB03662; Mon, 30 Nov 1998 16:10:38 -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:10:25 -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 QAA11919 for ; Mon, 30 Nov 1998 16:09:44 -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 RAA28509 for ; Mon, 30 Nov 1998 17:09:34 -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 RAA25739 for ; Mon, 30 Nov 1998 17:09:12 -0800 Original-Received: (from wmperry@localhost) by kramer.bp.aventail.com (8.8.5/8.8.5) id RAA09203; Mon, 30 Nov 1998 17:09:18 -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... > > One weird thing -- if I view the multipart/related thing is viewed as the > first article, the HTML-rendered text is shown with the picture as the > background, as it should be. But if I then kill the article buffer and > view it again, the HTML-rendered text is given a white background, which > gives the HTML-rendered text an, er, blocky look. The un-HTML-rendered > text still uses the picture background. Try this patch... It's not quite doing the right thing with face specifiers for the non-default face. This just makes it stop caching faces that have a background-image specified. I'm not even sure how big a win the face cache is. -Bill P. Index: w3-display.el =================================================================== RCS file: /usr/people/wmperry/.cvs/w3/lisp/w3-display.el,v retrieving revision 1.228 diff -c -w -c -w -r1.228 w3-display.el *** w3-display.el 1998/11/29 05:08:56 1.228 --- w3-display.el 1998/11/30 22:07:14 *************** *** 299,307 **** (font-set-face-foreground w3-face-face (car w3-face-color))) (if (car w3-face-background-color) (font-set-face-background w3-face-face (car w3-face-background-color))) (setq w3-face-cache (cons (cons w3-face-descr w3-face-face) ! w3-face-cache))) w3-face-face) (defun w3-normalize-spaces (string) --- 299,308 ---- (font-set-face-foreground w3-face-face (car w3-face-color))) (if (car w3-face-background-color) (font-set-face-background w3-face-face (car w3-face-background-color))) + (if (not (car w3-face-background-image)) (setq w3-face-cache (cons (cons w3-face-descr w3-face-face) ! w3-face-cache)))) w3-face-face) (defun w3-normalize-spaces (string)