[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disambiguate modeline character for UTF-8?
From: |
Eli Zaretskii |
Subject: |
Re: Disambiguate modeline character for UTF-8? |
Date: |
Thu, 06 Jul 2023 22:01:53 +0300 |
> 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
How about using У instead? (Assuming using non-ASCII works there; the
code seems to allow that.)
- 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 <=
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2023/07/06
- 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