From b215e83a784be1118bb5d729f17597c4f1c62b52 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 17 Jan 2021 16:53:54 +0200 Subject: [PATCH] Improve support for the Cham script and languages * etc/NEWS: Announce the new 'cham' input method. * etc/HELLO: Fix the order of letters in the Cham greeting. Remove redundant newlines (reported by Ulrich Mueller ). * lisp/language/cham.el ("Cham"): Add input-method entry. * lisp/leim/quail/cham.el: New file. * lisp/international/fontset.el (setup-default-fontset): Add an entry for Cham. --- etc/HELLO | 12 +----------- etc/NEWS | 4 ++++ lisp/international/fontset.el | 1 + lisp/language/cham.el | 1 + 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/etc/HELLO b/etc/HELLO index 9a1f5d30edd..0cebb2bb7c2 100644 --- a/etc/HELLO +++ b/etc/HELLO @@ -30,22 +30,16 @@ Bengali (বাংলা) নমস্কার Braille ⠓⠑⠇⠇⠕ Burmese (မြန်မာ) မင်္ဂလာပါ C printf ("Hello, world!\n"); -Cham (ꨌꩌ) ꨦꨤꩌ ꨦꨰꨁ - +Cham (ꨌꩌ) ꨦꨤꩌ ꨦꨁꨰ Cherokee (ᏣᎳᎩ ᎦᏬᏂᎯᏍᏗ) ᎣᏏᏲ / ᏏᏲ Comanche /kəˈmæntʃiː/ Haa marʉ́awe - Cree (ᓀᐦᐃᔭᐍᐏᐣ) ᑕᓂᓯ / ᐙᒋᔮ - Czech (čeština) Dobrý den Danish (dansk) Hej / Goddag / Halløj Dutch (Nederlands) Hallo / Dag Efik /ˈɛfɪk/ Mɔkɔm - Egyptian Hieroglyphs (𓂋𓐰𓏤𓈖𓆎𓅓𓏏𓐰𓊖) 𓅓𓊵𓐰𓐷𓏏𓊪𓐸, 𓇍𓇋𓂻𓍘𓇋 - Emacs emacs --no-splash -f view-hello-file - Emoji 👋 English /ˈɪŋɡlɪʃ/ Hello Esperanto Saluton (Eĥoŝanĝo ĉiuĵaŭde) @@ -61,7 +55,6 @@ Hebrew (עִבְרִית) שָׁלוֹם Hungarian (magyar) Szép jó napot! Hindi (हिंदी) नमस्ते / नमस्कार । Inuktitut (ᐃᓄᒃᑎᑐᑦ) ᐊᐃ - Italian (italiano) Ciao / Buon giorno Javanese (ꦧꦱꦗꦮꦶ) console.log("ꦲꦭꦺꦴ"); Kannada (ಕನ್ನಡ) ನಮಸ್ಕಾರ @@ -69,7 +62,6 @@ Khmer (ភាសាខ្មែរ) ជំរាបសួរ Lao (ພາສາລາວ) ສະບາຍດີ / ຂໍໃຫ້ໂຊກດີ Malayalam (മലയാളം) നമസ്കാരം Maldivian (ދިވެހި) އައްސަލާމު ޢަލައިކުމް / ކިހިނެހް؟ - Maltese (il-Malti) Bonġu / Saħħa Mathematics ∀ p ∈ world • hello p □ Mongolian (монгол хэл) Сайн байна уу? @@ -85,7 +77,6 @@ Swedish (svenska) Hej / Goddag / Hallå Tamil (தமிழ்) வணக்கம் Telugu (తెలుగు) నమస్కారం TaiViet (ꪁꪫꪱꪣ ꪼꪕ) ꪅꪰꪙꫂ ꪨꪮꫂ ꪁꪫꪱ / ꪅꪽ ꪨꪷ ꪁꪫꪱ - Thai (ภาษาไทย) สวัสดีครับ / สวัสดีค่ะ Tibetan (བོད་སྐད་) བཀྲ་ཤིས་བདེ་ལེགས༎ Tigrigna (ትግርኛ) ሰላማት @@ -99,7 +90,6 @@ Vietnamese (tiếng Việt) Chào bạn chinese-gb2312Chinese (中文,普通话,汉语) 你好 chinese-big5-1Cantonese (粵語,廣東話) 早晨, 你好 korean-ksc5601Korean (한글) 안녕하세요 / 안녕하십니까 - diff --git a/etc/NEWS b/etc/NEWS index 359d308bf19..d632283e7f3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -827,6 +827,10 @@ so e.g. like 'C-x 8 [' inserts a left single quotation mark, Added a new Mozhi scheme. The inapplicable ITRANS scheme is now deprecated. Errors in the Inscript method were corrected. +--- +*** New input method 'cham'. +There's also a Cham greeting in 'etc/HELLO'. + ** Ispell +++ diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 14e7b89dd1f..8f0f263dcce 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -719,6 +719,7 @@ georgian cherokee canadian-aboriginal + cham ogham runic symbol diff --git a/lisp/language/cham.el b/lisp/language/cham.el index 194574f6a8e..59eaef67bfa 100644 --- a/lisp/language/cham.el +++ b/lisp/language/cham.el @@ -35,6 +35,7 @@ "Cham" '((charset unicode) (coding-system utf-8) (coding-priority utf-8) + (input-method . "cham") (sample-text . "Cham (ꨌꩌ)\tꨦꨤꩌ ꨦꨰꨁ") (documentation . "\ The Cham script is a Brahmic script used to write Cham,