unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Oudad <adam.oudad@gmail.com>
To: emacs-devel@gnu.org
Subject: Input method for Tifinagh (alphabet of the Berber language)
Date: Mon, 15 Jul 2024 01:51:06 +0900	[thread overview]
Message-ID: <CAPdWrtgMpHhazKOrzZrogq5BTrmAmASmQa09jPaBh6TsUV2zxw@mail.gmail.com> (raw)


[-- 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

             reply	other threads:[~2024-07-14 16:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-14 16:51 Adam Oudad [this message]
2024-07-14 18:20 ` Input method for Tifinagh (alphabet of the Berber language) Eli Zaretskii
2024-07-16 14:04   ` Robert Pluim
2024-07-26 13:53   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPdWrtgMpHhazKOrzZrogq5BTrmAmASmQa09jPaBh6TsUV2zxw@mail.gmail.com \
    --to=adam.oudad@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).