bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: whitespace includes U+3000


From: Kenichi Handa
Subject: Re: whitespace includes U+3000
Date: Tue, 27 Jun 2006 20:48:08 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <E1FvAu1-0000gN-I2@fencepost.gnu.org>, Richard Stallman 
<rms@gnu.org> writes:

>> Are emacs whitespace detectors aware of Unicode characters like
>> U+3000?

>     No.  The current Emacs treat only TAB and SPACE as
>     "whitespace" characters.

> It would be very easy to fix this by setting the syntax table entries
> for those characters--if there are not too many of them.  So why not
> fix it?

Are you sure that "whitespace" of syntax has the same
meaning as the "whitespace" of show-trailing-whitespace?

For instance, currently ^L (formfeed) has syntax
"whitespace".  But, it is displayed with glyph "^L".  Should
it be the target of show-trailing-whitespace?

For instance, currently NBSP (U+00A0) has syntax "."
(punctuation), and it is displayed with special face to
indicated the existing of that character.  Should it be
changed to "whitespace" syntax, or shoudn't be changed?

Have you considered these things?

Please try M-x apropos RET whitespace RET.  The word
"whitespace" is used in slightly different meanings.  I
thinks we can't blindly use "whitespace" syntax in some
cases.

---
Kenichi Handa
handa@m17n.org




reply via email to

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