[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disambiguate modeline character for UTF-8?
From: |
Ulrich Mueller |
Subject: |
Re: Disambiguate modeline character for UTF-8? |
Date: |
Thu, 06 Jul 2023 21:31:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) |
>>>>> On Thu, 06 Jul 2023, Eli Zaretskii wrote:
>> From: Ulrich Müller <ulm@gentoo.org>
>> Cc: emacs-devel@gnu.org
>> Date: Thu, 06 Jul 2023 20:44:05 +0200
>>
>> --- a/lisp/language/cyrillic.el
>> +++ b/lisp/language/cyrillic.el
>> @@ -126,7 +126,10 @@ 'cp878
>> (define-coding-system 'koi8-u
>> "KOI8-U 8-bit encoding for Cyrillic (MIME: KOI8-U)"
>> :coding-type 'charset
>> - :mnemonic ?U
>> + ;; This used to be ?U which collided with UTF-8. ?K is also used
>> + ;; for Korean, but it shouldn't be a real conflict since Cyrillic
>> + ;; and Hangul can be disambiguated from context.
>> + :mnemonic ?K
> K is not a good idea, for 2 reasons:
> . the KOI8 family includes 3 encodings, not 1
> . U in koi8-u stands for "Ukraine", so replacing it with K will
> probably be frowned upon
The K (for all KOI8 variants) was actually suggested by a person from
Ukraine, back in 2020:
https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg01010.html
> How about using У instead? (Assuming using non-ASCII works there; the
> code seems to allow that.)
I've just tested a patch with current master, and for me the У works
both in an X frame ("У" in the mode line), in a text terminal under X
("UUУ") and in the Linux console ("UUУ").
Can we assume that users have the necessary fonts installed?
- Re: Disambiguate modeline character for UTF-8?, (continued)
- Re: Disambiguate modeline character for UTF-8?, Po Lu, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Po Lu, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Andreas Schwab, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Paul Eggert, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Ulrich Müller, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?,
Ulrich Mueller <=
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Ulrich Müller, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Po Lu, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Po Lu, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Po Lu, 2023/07/07
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2023/07/07