1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Add support for Tifinagh script

* lisp/leim/quail/tifinagh.el: New file.  Contributed by Adam Oudad
<adam.oudad@gmail.com>.
* lisp/language/misc-lang.el ("Tifinagh"): New language environment.

* etc/HELLO: Add a greeting in Tifinagh.
* etc/NEWS: Announce the addition of Tifinagh.
This commit is contained in:
Eli Zaretskii 2024-07-26 16:49:11 +03:00
parent 52cae67e1e
commit 4e250154ec
4 changed files with 88 additions and 1 deletions

View File

@ -1,5 +1,5 @@
Content-Type: text/enriched
Text-Width: 70
Text-Width: 72
This is a list of ways to write a <x-color><param>orange red</param>"hello"</x-color> greeting using
various scripts. It is not intended to be comprehensive,
@ -114,6 +114,7 @@ Tagbanwa (ᝦᝪᝯ) ᝫᝩᝬᝥ ᝣᝮᝧᝯ
TaiViet (ꪁꪫꪱꪣ ꪼꪕ) ꪅꪰꪙꫂ ꪨꪮꫂ ꪁꪫꪱ / ꪅꪽ ꪨꪷ ꪁꪫꪱ
Thai (ภาษาไทย) สวัสดีครับ / สวัสดีค่ะ
Tibetan (བོད་སྐད་) བཀྲ་ཤིས་བདེ་ལེགས༎
Tifinagh (ⵜⵉⴼⵉⵏⴰⵖ) ⴰⵣⵓⵍ
Tigrigna (ትግርኛ) ሰላማት
Tirhuta (𑒞𑒱𑒩𑒯𑒳𑒞𑒰) 𑒣𑓂𑒩𑒢𑒰𑒧 / 𑒮𑒲𑒞𑒰𑒩𑒰𑒧
Turkish (Türkçe) Esenlikler / Merhaba

View File

@ -46,6 +46,12 @@ usual minibuffer history commands. Each command has a separate history.
* Editing Changes in Emacs 31.1
** Internationalization
---
*** New language-environment and input method for Tifinagh.
The Tifinagh script is used to write the Berber languages.
* Changes in Specialized Modes and Packages in Emacs 31.1

View File

@ -364,6 +364,19 @@ language environment."))
(vector "[\u1820-\u18AF\u202F\u180B-\u180F\u1807]+"
0 'font-shape-gstring)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Tifinagh
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(set-language-info-alist
"Tifinagh"
'((charset unicode)
(coding-system utf-8)
(coding-priority utf-8)
(input-method "tifinagh")
(sample-text "Tifinagh ⴰⵣⵓⵍ")
(documentation "Tifinagh a script used to write the Berber languages."))
'("Misc"))
(provide 'misc-lang)
;;; misc-lang.el ends here

View File

@ -0,0 +1,67 @@
;;; tifinagh.el --- Quail package for inputting Tifinagh -*- coding: utf-8; lexical-binding:t -*-
;; Copyright (C) 2024 Free Software Foundation, Inc.
;; Author: Adam Oudad <adam.oudad@gmail.com>
;; Keywords: mule, input method, Tifinagh
(require 'quail)
(quail-define-package
"tifinagh" "Tininagh" "" nil "Tifinagh input method.
Based on Tifinagh table in X Keyboard Configuration DB.
" nil t t t t nil nil nil nil nil t)
;; FIXME: This doesn't cover all of the codepoints that Unicode has
;; defined for the Tifinagh script.
(quail-define-rules
("Q" ?ⵈ)
("W" ?ⵯ)
("R" ?)
("T" ?ⵟ)
("P" ?ⵒ)
("S" ?ⵚ)
("D" ?)
("G" ?ⴶ)
("H" ?ⵂ)
("J" ?ⵌ)
("K" ?ⴾ)
("Z" ?ⵥ)
("X" ?)
("C" ?ⵞ)
("V" ?ⵗ)
("q" ?ⵇ)
("w" ?ⵡ)
("e" ?ⴻ)
("r" ?)
("t" ?ⵜ)
("y" ?ⵢ)
("u" ?ⵓ)
("i" ?ⵉ)
("o" ?ⵄ)
("p" ?ⵃ)
("a" ?ⴰ)
("s" ?ⵙ)
("d" ?ⴷ)
("f" ?ⴼ)
("g" ?ⴳ)
("h" ?ⵀ)
("j" ?ⵊ)
("k" ?ⴽ)
("l" ?ⵍ)
("z" ?ⵣ)
("x" ?ⵅ)
("c" ?ⵛ)
("v" ?ⵖ)
("b" ?ⴱ)
("n" ?)
("m" ?ⵎ)
)
;;; tifinagh.el ends here