unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Input method for Tifinagh (alphabet of the Berber language)
@ 2024-07-14 16:51 Adam Oudad
  2024-07-14 18:20 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Oudad @ 2024-07-14 16:51 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 695 bytes --]

Hi,

As a daily user of GNU Emacs 29.3 and a native speaker of the Berber
language, spoken in North African countries such as Morocco, I regret the
inability to input characters from the Tifinagh (can be pronounced
"tee-fee-nar") alphabet, the alphabet used by the Berber language.

So I wrote a quail package for inputting Tifinagh and thought it would be a
nice addition to the input methods already available inside Emacs.

I based my implementation on arabic.el for the arabie input method, and
just remapped the keys to the correct phonetic symbols.

Your feedback will be much appreciated.

Best regards,

Adam

PS: The Wikipedia page about Tifinagh https://en.wikipedia.org/wiki/Tifinagh

[-- Attachment #1.2: Type: text/html, Size: 982 bytes --]

[-- Attachment #2: tifinagh.el --]
[-- Type: text/x-emacs-lisp, Size: 985 bytes --]

;;; tifinagh.el --- Quail package for inputting Tifinagh	-*- coding: utf-8; lexical-binding:t -*-

;; Copyright (C) 2007-2022 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)

(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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-09-13  6:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-14 16:51 Input method for Tifinagh (alphabet of the Berber language) Adam Oudad
2024-07-14 18:20 ` Eli Zaretskii
2024-07-16 14:04   ` Robert Pluim
2024-07-26 13:53   ` Eli Zaretskii
2024-09-12 23:37     ` Adam Oudad
2024-09-13  6:07       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).