* bug#1727: 23.0.60; end-of-sentence and non-breaking space
@ 2009-01-01 3:47 Chong Yidong
0 siblings, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2009-01-01 3:47 UTC (permalink / raw)
To: emacs-devel; +Cc: 1726, rms, 1727
From bug#1726 and bug#1727:
> forward-sentence does not treat non-breaking space as a space for
> purposes of sentence ends.
...
> When I type C-x = at a non-breaking space, it tells me that it
> has code 160, hex a0. But when I execute (insert "\xa0"),
> it inserts something that displays as `\240' and for which C-x =
> displays this:
>
> Char: (4194208, #o17777640, #x3fffa0, raw-byte) point=198 of 211
> (93%) column=5
>
> Is that a bug? It seems quite confusing to me.
ISTR that there was an extended discussion about classifying
non-breaking spaces on this list a while back. But I can't find it now.
Does anyone remember the details?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 23.0.60; end-of-sentence and non-breaking space
@ 2009-01-01 3:47 Chong Yidong
2009-01-02 1:25 ` bug#1727: " Richard M Stallman
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Chong Yidong @ 2009-01-01 3:47 UTC (permalink / raw)
To: emacs-devel; +Cc: 1726, rms, 1727
From bug#1726 and bug#1727:
> forward-sentence does not treat non-breaking space as a space for
> purposes of sentence ends.
...
> When I type C-x = at a non-breaking space, it tells me that it
> has code 160, hex a0. But when I execute (insert "\xa0"),
> it inserts something that displays as `\240' and for which C-x =
> displays this:
>
> Char: (4194208, #o17777640, #x3fffa0, raw-byte) point=198 of 211
> (93%) column=5
>
> Is that a bug? It seems quite confusing to me.
ISTR that there was an extended discussion about classifying
non-breaking spaces on this list a while back. But I can't find it now.
Does anyone remember the details?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#1727: 23.0.60; end-of-sentence and non-breaking space
2009-01-01 3:47 Chong Yidong
@ 2009-01-02 1:25 ` Richard M Stallman
2009-01-02 2:38 ` Drew Adams
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Richard M Stallman @ 2009-01-02 1:25 UTC (permalink / raw)
To: Chong Yidong; +Cc: 1726, 1727, emacs-devel
> When I type C-x = at a non-breaking space, it tells me that it
> has code 160, hex a0. But when I execute (insert "\xa0"),
> it inserts something that displays as `\240' and for which C-x =
> displays this:
> Char: (4194208, #o17777640, #x3fffa0, raw-byte) point=198 of 211
> (93%) column=5
>
> Is that a bug? It seems quite confusing to me.
ISTR that there was an extended discussion about classifying
non-breaking spaces on this list a while back. But I can't find it now.
Does anyone remember the details?
I am not sure we are talking about the same question.
The issue I am raising is not one of classifying it,
it is that these two different character codes get used
and I don't see an explanation of what's going on.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: bug#1727: 23.0.60; end-of-sentence and non-breaking space
2009-01-01 3:47 Chong Yidong
2009-01-02 1:25 ` bug#1727: " Richard M Stallman
@ 2009-01-02 2:38 ` Drew Adams
2009-01-02 2:38 ` Drew Adams
2009-01-02 4:11 ` Stefan Monnier
3 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2009-01-02 2:38 UTC (permalink / raw)
To: 'Chong Yidong', 1727, emacs-devel; +Cc: 1726, rms
> ISTR that there was an extended discussion about classifying
> non-breaking spaces on this list a while back. But I can't
> find it now. Does anyone remember the details?
Dunno if this is what you were thinking of, but there was this discussion about
treating (classifying) nonbreaking space as whitespace:
http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg01089.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#1727: 23.0.60; end-of-sentence and non-breaking space
2009-01-01 3:47 Chong Yidong
2009-01-02 1:25 ` bug#1727: " Richard M Stallman
2009-01-02 2:38 ` Drew Adams
@ 2009-01-02 2:38 ` Drew Adams
2009-01-02 4:11 ` Stefan Monnier
3 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2009-01-02 2:38 UTC (permalink / raw)
To: 'Chong Yidong', 1727, emacs-devel; +Cc: 1726, rms
> ISTR that there was an extended discussion about classifying
> non-breaking spaces on this list a while back. But I can't
> find it now. Does anyone remember the details?
Dunno if this is what you were thinking of, but there was this discussion about
treating (classifying) nonbreaking space as whitespace:
http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg01089.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#1727: 23.0.60; end-of-sentence and non-breaking space
2009-01-01 3:47 Chong Yidong
` (2 preceding siblings ...)
2009-01-02 2:38 ` Drew Adams
@ 2009-01-02 4:11 ` Stefan Monnier
3 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2009-01-02 4:11 UTC (permalink / raw)
To: Chong Yidong; +Cc: 1726, 1727, rms, emacs-devel
>> has code 160, hex a0. But when I execute (insert "\xa0"),
>> it inserts something that displays as `\240' and for which C-x =
>> displays this:
>>
>> Char: (4194208, #o17777640, #x3fffa0, raw-byte) point=198 of 211
>> (93%) column=5
>>
>> Is that a bug? It seems quite confusing to me.
This raw-byte char is what used to be called an eight-bit-control (or
eight-bit-graphic depending on the actual value) char.
I.e. "\xa0" is treated as a string that contains the \xa0 byte (i.e. an
eight-bit-* (aka raw-byte) char) rather than the \xa0 char (a latin-1
non-breaking space).
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-02 4:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-01 3:47 bug#1727: 23.0.60; end-of-sentence and non-breaking space Chong Yidong
-- strict thread matches above, loose matches on Subject: below --
2009-01-01 3:47 Chong Yidong
2009-01-02 1:25 ` bug#1727: " Richard M Stallman
2009-01-02 2:38 ` Drew Adams
2009-01-02 2:38 ` Drew Adams
2009-01-02 4:11 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.