[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1726: 23.0.60; end-of-sentence and non-breaking space
From: |
Kenichi Handa |
Subject: |
bug#1726: 23.0.60; end-of-sentence and non-breaking space |
Date: |
Mon, 05 Jan 2009 15:37:55 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
In article <utz8gmj9t.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:
> > From: Richard M Stallman <rms@gnu.org>
> > Date: Sat, 03 Jan 2009 10:21:58 -0500
> > Cc: cyd@stupidchicken.com, 1726@emacsbugs.donarmstrong.com,
> > emacs-devel@gnu.org
> >
> > IIUC if you want the character with code #xa0, then using \u00a0 would
> > seem like the most unambiguous option (I notice that "\ua0" gives
> > a weird error "Non-hex digit used for Unicode escape").
> >
> > I expected \xa0 to give me that character. It still seems strange
> > that it would do anything else.
> We need some way of inserting raw 8-bit bytes, because otherwise code
> that encodes and decodes text in Lisp will not work. For inserting
> characters, we have the \u alternative; but I don't think there's
> alternative for raw bytes except insert \xNN.
I modified read_escape to treat "\xXX" as a raw-byte code
but treat "\xXXX.." as a character code U+XXX... As far as
I remember, this is to keep backward compatibility.
And, we have the alternative for raw bytes. That is to use
octal form, something like "\240".
---
Kenichi Handa
handa@m17n.org
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, (continued)
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Richard M Stallman, 2009/01/03
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Eli Zaretskii, 2009/01/03
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Richard M Stallman, 2009/01/03
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Eli Zaretskii, 2009/01/03
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Richard M Stallman, 2009/01/04
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Jason Rumney, 2009/01/03
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Eli Zaretskii, 2009/01/04
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Kenichi Handa, 2009/01/05
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Richard M Stallman, 2009/01/05
- bug#1726: 23.0.60; end-of-sentence and non-breaking space, Eli Zaretskii, 2009/01/05
- bug#1726: 23.0.60; end-of-sentence and non-breaking space,
Kenichi Handa <=