emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding Lakota keyboard layouts


From: Grant Shoshin Shangreaux
Subject: Re: adding Lakota keyboard layouts
Date: Sun, 23 May 2021 11:47:21 -0500

Eli Zaretskii writes:

> Lakota uses the Latin script, right?  So I think your input method(s)
> should be in the latin-*.el files, depending on whether they are
> prefix or postfix.  Does that sound right?

Yeah that sounds right to me. I'm contributing two orthographies, but
they're both based on latin text. Fits in with the Hawaiian methods in
the same file. Currently, I just have postfix, but may
follow up with prefix input methods in the future.

> Thanks.  As Robert said, please read CONTRIBUTE and format
> accordingly.  We generally prefer the patches to be formatted by
> "git format-patch" relative to the current master branch, if that is
> feasible for you.

yes no problem. i'm going to attach the patch here for now, since this
thread is already open and there's no "bug" to attach it to yet on the
other list.

let me know what else may be needed for this patch! thanks

>From 0caaf81a098ef168681672107a37bfaca8498d52 Mon Sep 17 00:00:00 2001
From: Grant Shangreaux <grant@churls.world>
Date: Sun, 23 May 2021 11:28:25 -0500
Subject: [PATCH] * lisp/leim/quail/latin-post.el Add: Lakota postfix
 definitions

---
 lisp/leim/quail/latin-post.el | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/lisp/leim/quail/latin-post.el b/lisp/leim/quail/latin-post.el
index 10408776a2..f4876622b4 100644
--- a/lisp/leim/quail/latin-post.el
+++ b/lisp/leim/quail/latin-post.el
@@ -1298,6 +1298,55 @@
  ("a__" ["a_"])
  )
 
+;; Input modes of various orthographies for the Lakota language.
+;; I'd like to acknowledge the elders and ancestors who fought
+;; to keep the language and culture alive.
+;; Grant Shangreaux <grant@churls.world> 2021-05-23
+
+(quail-define-package
+ "lakota-white-hat-postfix" "Lakota" "Lak " t
+ "Lakota White Hat orthography input method.
+Unused letters `r' and `v' are used to add the dot above and macron
+diacritics for used in this orthography. The glottal stop is produced
+by repeating the `'' character."
+nil t nil nil nil nil nil nil nil nil t)
+
+(quail-define-rules
+ ("f" ?ŋ)
+ ("r" #x307)                            ; COMBINING DOT ABOVE
+ ("v" #x304)                            ; COMBINING MACRON
+ ("''" ?’)
+ )
+
+(quail-define-package
+ "lakota-slo-postfix" "Lakota" "SLO " t
+ "Suggested Lakota Orthography input method.
+Uses a postfix modifier key for adding accent diacritics. To add stress
+to a vowel, simply type the single quote ' after the vowel. All other 
characters
+are bound to a single key. Mitákuyepi philámayaye ló. "
+nil t nil nil nil nil nil nil nil nil t)
+
+(quail-define-rules
+ ;; accented vowels
+ ("a'" ?á) ("A'" ?Á)
+ ("e'" ?é) ("E'" ?É)
+ ("i'" ?í) ("I'" ?Í)
+ ("o'" ?ó) ("O'" ?Ó)
+ ("u'" ?ú) ("U'" ?Ú)
+
+ ;; consonants with caron
+ ("c" ?č) ("C" ?Č)
+ ("j" ?ȟ) ("J" ?Ȟ)
+ ("q" ?ǧ) ("Q" ?Ǧ)
+ ("x" ?ž) ("X" ?Ž)
+ ("r" ?š) ("R" ?Š)
+
+ ;; velar nasal n
+ ("f" ?ŋ)
+
+ ;; glottal stop
+ ("''" ?’))
+
 (quail-define-package
  "norwegian-postfix" "Latin-1" "NO<" t
  "Norwegian (Norsk) input method (rule: AE->Æ   OE->Ø   AA->Å   E\\='->É
-- 
2.20.1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]