From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26549 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: Extra carriage returns in html rendered text. Date: 09 Nov 1999 20:08:55 +0000 Organization: Citrix Systems (Cambridge) Sender: owner-ding@hpc.uh.edu Message-ID: References: <90478phv.fsf@apl.washington.edu> <867ljrsan0.fsf@megalith.bp.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163736 19956 80.91.224.250 (21 Oct 2002 01:28:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:28:56 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA22128 for ; Tue, 9 Nov 1999 15:10:17 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB32456; Tue, 9 Nov 1999 14:10:10 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 09 Nov 1999 14:09:48 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA05659 for ; Tue, 9 Nov 1999 14:09:35 -0600 (CST) Original-Received: from gatekeeper.ctxuk.citrix.com (root@gatekeeper.ctxuk.citrix.com [195.153.38.114]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA22112 for ; Tue, 9 Nov 1999 15:09:03 -0500 (EST) Original-Received: from sh.ctxuk.citrix.com (sh.ctxuk.citrix.com [10.30.224.4]) by gatekeeper.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id UAA21334 for ; Tue, 9 Nov 1999 20:08:58 GMT Original-Received: from hwmail01.ctxuk.citrix.com (hwmail01.ctxuk.citrix.com [10.30.224.23]) by sh.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id UAA15003 for ; Tue, 9 Nov 1999 20:08:57 GMT Original-Received: from lanber.cam.citrix.com (LANBER [10.70.1.235]) by hwmail01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 45YDFCHR; Tue, 9 Nov 1999 20:08:57 -0000 Original-To: The Gnus Mailing List Original-Lines: 39 In-Reply-To: wmperry@aventail.com's message of "09 Nov 1999 14:55:15 -0500" X-Author-Info: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26549 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26549 Bill> William M. Perry 0> In article <867ljrsan0.fsf@megalith.bp.aventail.com>, Bill wrote: Bill> "Jody M. Klymak" writes: >> I promised an example of an HTML email that makes my gnus session >> add extra carriage returns to *all* my fonts. Here's one. Whenever >> I view it in gnus it causes all my buffers to have an extra carriage >> return after every line. This can only be turned off after killing >> emacs (not just gnus). Any help on debugging this would be very >> appreciated - its very annoying because I cannot tell ahead of time >> if the message is going to be html infested (or can I?) Bill> (setq w3-user-fonts-take-precedence t) If you ever get into that state again, you don't have to restart Emacs. Just re-set all the w3 faces' fonts from the standard "default", "bold", "italic", and "bold-italic" fonts like this: (defun fix-w3-fonts nil (interactive) (mapatoms (lambda (x) (and (string-match "^w3-style-face" (symbol-name x)) (facep x) (set-face-font x (let ((font (face-font x))) (and font (face-font (if (string-match "-bold-" font) (if (string-match "-bold-[io]-" font) 'bold-italic 'bold) (if (string-match "-normal-[io]-" font) 'italic 'default)))))))))) [Bill - if you want to put this in W3 somewhere, help yourself]