[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On language-dependent defaults for character-folding
From: |
Eli Zaretskii |
Subject: |
Re: On language-dependent defaults for character-folding |
Date: |
Mon, 29 Feb 2016 18:27:06 +0200 |
> From: Juri Linkov <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden, address@hidden
> Date: Mon, 29 Feb 2016 02:22:02 +0200
>
> > What I envisioned is a single variable that holds a list of folding
> > sub-features. Examples include ignoring diacritics, matching
> > ligatures and their decompositions, "controversial" foldings that
> > users of specific languages might not want, etc. The default value
> > will hold all of the sub-features; users that don't want some of them
> > will be able to remove them from the list, which will affect the
> > mapping at search time. We could also have a setting that means "DTRT
> > for my locale", which will remove the sub-features inappropriate for
> > the locale's language. Stuff like that.
>
> Like (defcustom char-fold-defaults '(ignore-diacritics match-ligatures ...?
Yes.
> Not sure if such terms are self-descriptive. At least plain pairs like
> '((o ø) (l ł) ...) should be enough to customize at the base character level,
> and later we might consider grouping such pairs into a more high-level
> features like ‘spanish-diacritics’, ‘swedish-diacritics’, etc.
Such grouping is what I had in mind. I don't expect users to remember
these characters by heart.
> > I think we need to create another uni-*.el file which defines a
> > decomposition char-table populated from decomps.txt.
>
> The name of the currently used Unicode character property is “decomposition”.
> What would be a good name for the property from decomps.txt? “decomposition2”?
I'm not good at naming stuff, but how about collating-decomposition or
decomposition-for-collation?
- Re: On language-dependent defaults for character-folding, (continued)
- Re: On language-dependent defaults for character-folding, Richard Stallman, 2016/02/24
- Re: On language-dependent defaults for character-folding, Richard Stallman, 2016/02/22
- Re: On language-dependent defaults for character-folding, Eli Zaretskii, 2016/02/22
- Re: On language-dependent defaults for character-folding, Juri Linkov, 2016/02/22
- Re: On language-dependent defaults for character-folding, Eli Zaretskii, 2016/02/23
- Re: On language-dependent defaults for character-folding, Juri Linkov, 2016/02/23
- Re: On language-dependent defaults for character-folding, Eli Zaretskii, 2016/02/24
- Re: On language-dependent defaults for character-folding, Juri Linkov, 2016/02/24
- Re: On language-dependent defaults for character-folding, Eli Zaretskii, 2016/02/25
- Re: On language-dependent defaults for character-folding, Juri Linkov, 2016/02/28
- Re: On language-dependent defaults for character-folding,
Eli Zaretskii <=
- Re: On language-dependent defaults for character-folding, Juri Linkov, 2016/02/29
- Re: On language-dependent defaults for character-folding, Richard Stallman, 2016/02/26
- Re: On language-dependent defaults for character-folding, Eli Zaretskii, 2016/02/21
- Re: On language-dependent defaults for character-folding, Lars Ingebrigtsen, 2016/02/21
- Re: On language-dependent defaults for character-folding, Andreas Schwab, 2016/02/22
- Re: On language-dependent defaults for character-folding, Lars Ingebrigtsen, 2016/02/22
- Re: On language-dependent defaults for character-folding, Eli Zaretskii, 2016/02/22
- Re: On language-dependent defaults for character-folding, Richard Stallman, 2016/02/21
- Re: On language-dependent defaults for character-folding, Eli Zaretskii, 2016/02/21
- Re: On language-dependent defaults for character-folding, Richard Stallman, 2016/02/22