unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Ortmann <dortmann@lsil.com>
Subject: html / emacs / email / gnus: 0xa0 classified as "whitespace" but not treated as whitespace
Date: 19 Oct 2004 16:37:25 -0500	[thread overview]
Message-ID: <hc6breymlt6.fsf_-_@mhbs.lsil.com> (raw)
In-Reply-To: <hc6d6031tun.fsf@mhbs.lsil.com>

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.   l:Latin  
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 <dortmann@lsil.com> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> 
> > Daniel Ortmann <dortmann@lsil.com> 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: Daniel.Ortmann@lsil.com / 507.535.3861 / 63861 int / 8012.3861 gdds
home: dortmann@charter.net 612.518.3147, 2414 30 Av NW #D, Rochester MN 55901
gpg/pgp public key: http://wwwkeys.us.pgp.net
jabber: daniel_ortmann@jabber.org / dortmann@jabber.co.lsil.com

  reply	other threads:[~2004-10-19 21:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 17:09 html / emacs / email / w3 / gnus: 0xa0 and 0x0a both used as newlines Lars Magne Ingebrigtsen
2004-09-30 18:42 ` Daniel Ortmann
2004-10-19 21:37   ` Daniel Ortmann [this message]
     [not found]   ` <mailman.4093.1098222316.2017.bug-gnu-emacs@gnu.org>
2004-10-20 15:58     ` html / emacs / email / gnus: 0xa0 classified as "whitespace" but not treated as whitespace Kevin Rodgers
     [not found] ` <mailman.573.1096570193.2017.bug-gnu-emacs@gnu.org>
2004-09-30 19:52   ` html / emacs / email / w3 / gnus: 0xa0 and 0x0a both used as newlines Lars Magne Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=hc6breymlt6.fsf_-_@mhbs.lsil.com \
    --to=dortmann@lsil.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).