diff options
| author | Eli Zaretskii | 2024-07-26 16:49:11 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-07-26 16:49:11 +0300 |
| commit | 4e250154ec4dc73eb9a2ec2c00d7a6e9a98b5476 (patch) | |
| tree | ce2d76aa95f08e64e9791394f25ebac3e9617ede | |
| parent | 52cae67e1e73615fff184abcc8e635d80f8846ad (diff) | |
| download | emacs-4e250154ec4dc73eb9a2ec2c00d7a6e9a98b5476.tar.gz emacs-4e250154ec4dc73eb9a2ec2c00d7a6e9a98b5476.zip | |
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.
| -rw-r--r-- | etc/HELLO | 3 | ||||
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/language/misc-lang.el | 13 | ||||
| -rw-r--r-- | lisp/leim/quail/tifinagh.el | 67 |
4 files changed, 88 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | Content-Type: text/enriched | 1 | Content-Type: text/enriched |
| 2 | Text-Width: 70 | 2 | Text-Width: 72 |
| 3 | 3 | ||
| 4 | This is a list of ways to write a <x-color><param>orange red</param>"hello"</x-color> greeting using | 4 | This is a list of ways to write a <x-color><param>orange red</param>"hello"</x-color> greeting using |
| 5 | various scripts. It is not intended to be comprehensive, | 5 | various scripts. It is not intended to be comprehensive, |
| @@ -114,6 +114,7 @@ Tagbanwa (ᝦᝪᝯ) ᝫᝩᝬᝥ ᝣᝮᝧᝯ | |||
| 114 | TaiViet (ꪁꪫꪱꪣ ꪼꪕ) ꪅꪰꪙꫂ ꪨꪮꫂ ꪁꪫꪱ / ꪅꪽ ꪨꪷ ꪁꪫꪱ | 114 | TaiViet (ꪁꪫꪱꪣ ꪼꪕ) ꪅꪰꪙꫂ ꪨꪮꫂ ꪁꪫꪱ / ꪅꪽ ꪨꪷ ꪁꪫꪱ |
| 115 | Thai (ภาษาไทย) สวัสดีครับ / สวัสดีค่ะ | 115 | Thai (ภาษาไทย) สวัสดีครับ / สวัสดีค่ะ |
| 116 | Tibetan (བོད་སྐད་) བཀྲ་ཤིས་བདེ་ལེགས༎ | 116 | Tibetan (བོད་སྐད་) བཀྲ་ཤིས་བདེ་ལེགས༎ |
| 117 | Tifinagh (ⵜⵉⴼⵉⵏⴰⵖ) ⴰⵣⵓⵍ | ||
| 117 | Tigrigna (ትግርኛ) ሰላማት | 118 | Tigrigna (ትግርኛ) ሰላማት |
| 118 | Tirhuta (𑒞𑒱𑒩𑒯𑒳𑒞𑒰) 𑒣𑓂𑒩𑒢𑒰𑒧 / 𑒮𑒲𑒞𑒰𑒩𑒰𑒧 | 119 | Tirhuta (𑒞𑒱𑒩𑒯𑒳𑒞𑒰) 𑒣𑓂𑒩𑒢𑒰𑒧 / 𑒮𑒲𑒞𑒰𑒩𑒰𑒧 |
| 119 | Turkish (Türkçe) Esenlikler / Merhaba | 120 | Turkish (Türkçe) Esenlikler / Merhaba |
| @@ -46,6 +46,12 @@ usual minibuffer history commands. Each command has a separate history. | |||
| 46 | 46 | ||
| 47 | * Editing Changes in Emacs 31.1 | 47 | * Editing Changes in Emacs 31.1 |
| 48 | 48 | ||
| 49 | ** Internationalization | ||
| 50 | |||
| 51 | --- | ||
| 52 | *** New language-environment and input method for Tifinagh. | ||
| 53 | The Tifinagh script is used to write the Berber languages. | ||
| 54 | |||
| 49 | 55 | ||
| 50 | * Changes in Specialized Modes and Packages in Emacs 31.1 | 56 | * Changes in Specialized Modes and Packages in Emacs 31.1 |
| 51 | 57 | ||
diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el index 1de424252e8..272fe79d314 100644 --- a/lisp/language/misc-lang.el +++ b/lisp/language/misc-lang.el | |||
| @@ -364,6 +364,19 @@ language environment.")) | |||
| 364 | (vector "[\u1820-\u18AF\u202F\u180B-\u180F\u1807]+" | 364 | (vector "[\u1820-\u18AF\u202F\u180B-\u180F\u1807]+" |
| 365 | 0 'font-shape-gstring))) | 365 | 0 'font-shape-gstring))) |
| 366 | 366 | ||
| 367 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 368 | ;; Tifinagh | ||
| 369 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 370 | (set-language-info-alist | ||
| 371 | "Tifinagh" | ||
| 372 | '((charset unicode) | ||
| 373 | (coding-system utf-8) | ||
| 374 | (coding-priority utf-8) | ||
| 375 | (input-method "tifinagh") | ||
| 376 | (sample-text "Tifinagh ⴰⵣⵓⵍ") | ||
| 377 | (documentation "Tifinagh a script used to write the Berber languages.")) | ||
| 378 | '("Misc")) | ||
| 379 | |||
| 367 | (provide 'misc-lang) | 380 | (provide 'misc-lang) |
| 368 | 381 | ||
| 369 | ;;; misc-lang.el ends here | 382 | ;;; misc-lang.el ends here |
diff --git a/lisp/leim/quail/tifinagh.el b/lisp/leim/quail/tifinagh.el new file mode 100644 index 00000000000..6a138396143 --- /dev/null +++ b/lisp/leim/quail/tifinagh.el | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | ;;; tifinagh.el --- Quail package for inputting Tifinagh -*- coding: utf-8; lexical-binding:t -*- | ||
| 2 | |||
| 3 | ;; Copyright (C) 2024 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | ;; Author: Adam Oudad <adam.oudad@gmail.com> | ||
| 6 | ;; Keywords: mule, input method, Tifinagh | ||
| 7 | |||
| 8 | (require 'quail) | ||
| 9 | |||
| 10 | (quail-define-package | ||
| 11 | "tifinagh" "Tininagh" "ⵣ" nil "Tifinagh input method. | ||
| 12 | |||
| 13 | Based on Tifinagh table in X Keyboard Configuration DB. | ||
| 14 | " nil t t t t nil nil nil nil nil t) | ||
| 15 | |||
| 16 | ;; FIXME: This doesn't cover all of the codepoints that Unicode has | ||
| 17 | ;; defined for the Tifinagh script. | ||
| 18 | (quail-define-rules | ||
| 19 | ("Q" ?ⵈ) | ||
| 20 | ("W" ?ⵯ) | ||
| 21 | ("R" ?ⵕ) | ||
| 22 | ("T" ?ⵟ) | ||
| 23 | ("P" ?ⵒ) | ||
| 24 | |||
| 25 | ("S" ?ⵚ) | ||
| 26 | ("D" ?ⴹ) | ||
| 27 | ("G" ?ⴶ) | ||
| 28 | ("H" ?ⵂ) | ||
| 29 | ("J" ?ⵌ) | ||
| 30 | ("K" ?ⴾ) | ||
| 31 | |||
| 32 | ("Z" ?ⵥ) | ||
| 33 | ("X" ?ⵝ) | ||
| 34 | ("C" ?ⵞ) | ||
| 35 | ("V" ?ⵗ) | ||
| 36 | |||
| 37 | ("q" ?ⵇ) | ||
| 38 | ("w" ?ⵡ) | ||
| 39 | ("e" ?ⴻ) | ||
| 40 | ("r" ?ⵔ) | ||
| 41 | ("t" ?ⵜ) | ||
| 42 | ("y" ?ⵢ) | ||
| 43 | ("u" ?ⵓ) | ||
| 44 | ("i" ?ⵉ) | ||
| 45 | ("o" ?ⵄ) | ||
| 46 | ("p" ?ⵃ) | ||
| 47 | |||
| 48 | ("a" ?ⴰ) | ||
| 49 | ("s" ?ⵙ) | ||
| 50 | ("d" ?ⴷ) | ||
| 51 | ("f" ?ⴼ) | ||
| 52 | ("g" ?ⴳ) | ||
| 53 | ("h" ?ⵀ) | ||
| 54 | ("j" ?ⵊ) | ||
| 55 | ("k" ?ⴽ) | ||
| 56 | ("l" ?ⵍ) | ||
| 57 | |||
| 58 | ("z" ?ⵣ) | ||
| 59 | ("x" ?ⵅ) | ||
| 60 | ("c" ?ⵛ) | ||
| 61 | ("v" ?ⵖ) | ||
| 62 | ("b" ?ⴱ) | ||
| 63 | ("n" ?ⵏ) | ||
| 64 | ("m" ?ⵎ) | ||
| 65 | ) | ||
| 66 | |||
| 67 | ;;; tifinagh.el ends here | ||