Gnus development mailing list
 help / color / mirror / Atom feed
From: Toby Speight <Toby.Speight@streapadair.freeserve.co.uk>
Subject: Re: Extra carriage returns in html rendered text.
Date: 09 Nov 1999 20:08:55 +0000	[thread overview]
Message-ID: <u3dufe8bs.fsf@lanber.cam.citrix.com> (raw)
In-Reply-To: wmperry@aventail.com's message of "09 Nov 1999 14:55:15 -0500"

Bill> William M. Perry <URL:mailto:wmperry@aventail.com>

0> In article <867ljrsan0.fsf@megalith.bp.aventail.com>, Bill wrote:

Bill> "Jody M. Klymak" <jklymak@apl.washington.edu> 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]



      reply	other threads:[~1999-11-09 20:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-09 18:54 Jody M. Klymak
1999-11-09 19:15 ` Kai Großjohann
1999-11-09 19:55 ` William M. Perry
1999-11-09 20:08   ` Toby Speight [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u3dufe8bs.fsf@lanber.cam.citrix.com \
    --to=toby.speight@streapadair.freeserve.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).