[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Latin-1 non breaking space not highlighted
From: |
Eli Zaretskii |
Subject: |
Re: Latin-1 non breaking space not highlighted |
Date: |
Tue, 9 Apr 2002 17:37:10 +0300 (IDT) |
On Tue, 9 Apr 2002, Richard Stallman wrote:
> Currently, the definition of ``trailing whitespace'' includes only ASCII
> whitespace characters. If we are to broaden this definition to non-ASCII
> characters, I think we need a more general definition; just adding a
> Latin-1 NBSP is not enough, IMHO.
>
> What is the syntax code of Latin-1 NBSP? Is it "whitespace"?
Yes.
> If it is, then why not make "trailing whitespace" include everything
> with whitespace syntax?
I didn't say we shouldn't do that. I'm just not sure this is the right
thing to do.
The current code simply doesn't consult the syntax tables, it has the
``whitespace'' characters hardwired into it.
I cannot think of any particularly bad consequences of using the syntax
tables, but I do see some issues that perhaps need to be considered:
- the definition of whitespace will become mode-dependent;
- Lisp programs that modify syntax tables could affect the
trailing-whitespace feature; in particular, if some unexpected
characters are defined to have whitespace syntax, users of trailing
whitespace might become surprised by the results.
- Re: Latin-1 non breaking space not highlighted, Richard Stallman, 2002/04/09
- Re: Latin-1 non breaking space not highlighted,
Eli Zaretskii <=
- Re: Latin-1 non breaking space not highlighted, Richard Stallman, 2002/04/10
- Re: Latin-1 non breaking space not highlighted, Eli Zaretskii, 2002/04/11
- Re: Latin-1 non breaking space not highlighted, Eli Zaretskii, 2002/04/12
- Re: Latin-1 non breaking space not highlighted, Richard Stallman, 2002/04/13
- Re: Latin-1 non breaking space not highlighted, Eli Zaretskii, 2002/04/14
- Re: Latin-1 non breaking space not highlighted, Richard Stallman, 2002/04/15
- Re: Latin-1 non breaking space not highlighted, Eli Zaretskii, 2002/04/18
- Re: Latin-1 non breaking space not highlighted, Stefan Monnier, 2002/04/18
- Re: Latin-1 non breaking space not highlighted, Eli Zaretskii, 2002/04/18
- Re: Latin-1 non breaking space not highlighted, Stefan Monnier, 2002/04/18