[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

html / emacs / email / gnus: 0xa0 classified as "whitespace" but not tre

From: Daniel Ortmann
Subject: html / emacs / email / gnus: 0xa0 classified as "whitespace" but not treated as whitespace
Date: 19 Oct 2004 16:37:25 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Correction, 0xa0 should actually be treated as whitespace but is not.
I.e. fill-paragraph and friends don't treat it as whitespace:

Here is what describe-char-after says:

  character:   (04240, 2208, 0x8a0)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 
8859-1): ISO-IR-100)
 code point: 32
     syntax: whitespace
   category:  :This character counts as a space for indentation purposes.   
buffer code: 0x81 0xA0
  file code: not encodable by coding system nil
       font: -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1

I use the following routine to fix them up:

(defun 0xa0-clean () (interactive)
  (query-replace-regexp "\240" " "))

Any hint as to where the problem might be?  I suspect it's a simple fix.

Daniel Ortmann <address@hidden> writes:

> Lars Magne Ingebrigtsen <address@hidden> writes:
> > Daniel Ortmann <address@hidden> writes:
> > 
> > > Many emails are now using 0xa0 as a newline character (at least as
> > > rendered by w3 under gnus and as sent by messages using "R" for
> > > Reply).  Often the normal newline 0x0a occurs above and below the
> > > 0xa0 line.
> > 
> > That sounds odd.  0xa0 is non-breaking space, which doesn't have
> > anything to do with newlines.
> > 
> > However, it's not uncommon for message (especially HTML, for some
> > reason) to have non-breaking space in them.  So of you respond to such
> > an article, they'll be quoted just like any other character.
> Well, I am not seeing 0xa0's "quoted", but I *am* seeing them treated as
> blank lines.
> Note that I have "url" and "w3" installed.  Perhaps the problem lies there?

Daniel Ortmann, LSI Logic, 3425 40th Av NW, Suite 200, Rochester MN 55901
work: address@hidden / 507.535.3861 / 63861 int / 8012.3861 gdds
home: address@hidden 612.518.3147, 2414 30 Av NW #D, Rochester MN 55901
gpg/pgp public key: http://wwwkeys.us.pgp.net
jabber: address@hidden / address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]