Gnus development mailing list
 help / color / mirror / Atom feed
* Extra carriage returns in html rendered text.
@ 1999-11-09 18:54 Jody M. Klymak
  1999-11-09 19:15 ` Kai Großjohann
  1999-11-09 19:55 ` William M. Perry
  0 siblings, 2 replies; 4+ messages in thread
From: Jody M. Klymak @ 1999-11-09 18:54 UTC (permalink / raw)


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

Hello all,

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?)

Thanks,  Jody 


[-- Attachment #2: Type: message/rfc822, Size: 3347 bytes --]

[-- Attachment #2.1: Type: text/html, Size: 2316 bytes --]

From: dri306@excite.com
To: jklymak@ocean.washington.edu
Subject: Jody, About your Vacation Itinerary...
Date: Tue, 09 Nov 1999 11:56:28 -0500
Message-ID: <199911091655.IAA05484@tsunami.ocean.washington.edu>

[-- Attachment #3: Type: text/plain, Size: 235 bytes --]


-- 
Jody Klymak                         APL/School of Oceanography,
Doctoral Candidate                  University of Washington
mailto:jklymak@apl.washington.edu   (206)-685-9080
http://www.ocean.washington.edu/people/grads/jklymak/

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

* Re: Extra carriage returns in html rendered text.
  1999-11-09 18:54 Extra carriage returns in html rendered text Jody M. Klymak
@ 1999-11-09 19:15 ` Kai Großjohann
  1999-11-09 19:55 ` William M. Perry
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 1999-11-09 19:15 UTC (permalink / raw)


It's a font issue.  Emacs sees bold or italic text and finds that it
needs more vertical space for it.  It seems that Emacs allocates too
much vertical space, though.

It doesn't happen for me, with the following font:
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1

kai
-- 
This gubblick contains many nonsklarkish English flutzpahs,
but the overall pluggandisp can be glorked from context. -- David Moser


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

* Re: Extra carriage returns in html rendered text.
  1999-11-09 18:54 Extra carriage returns in html rendered text 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
  1 sibling, 1 reply; 4+ messages in thread
From: William M. Perry @ 1999-11-09 19:55 UTC (permalink / raw)
  Cc: ding mail list

"Jody M. Klymak" <jklymak@apl.washington.edu> writes:

> Hello all,
> 
> 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?)

(setq w3-user-fonts-take-precedence t)

-bp


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

* Re: Extra carriage returns in html rendered text.
  1999-11-09 19:55 ` William M. Perry
@ 1999-11-09 20:08   ` Toby Speight
  0 siblings, 0 replies; 4+ messages in thread
From: Toby Speight @ 1999-11-09 20:08 UTC (permalink / raw)


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]



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

end of thread, other threads:[~1999-11-09 20:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-09 18:54 Extra carriage returns in html rendered text 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 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).