emacs-devel
[Top][All Lists]
Advanced

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

Re: adding Lakota keyboard layouts


From: Robert Pluim
Subject: Re: adding Lakota keyboard layouts
Date: Tue, 25 May 2021 10:31:25 +0200

>>>>> On Sun, 23 May 2021 11:47:21 -0500, Grant Shoshin Shangreaux 
>>>>> <grant@churls.world> said:

    Grant> 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?

    Grant> Yeah that sounds right to me. I'm contributing two orthographies, but
    Grant> they're both based on latin text. Fits in with the Hawaiian methods 
in
    Grant> the same file. Currently, I just have postfix, but may
    Grant> 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.

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

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

Thanks for this, comments below (disclaimer: I know nothing about
Lakota orthography)

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

Youʼre missing a ChangeLog and a NEWS entry. See commit 229c51afbf for
an example

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

    Grant> diff --git a/lisp/leim/quail/latin-post.el 
b/lisp/leim/quail/latin-post.el
    Grant> index 10408776a2..f4876622b4 100644
    Grant> --- a/lisp/leim/quail/latin-post.el
    Grant> +++ b/lisp/leim/quail/latin-post.el
    Grant> @@ -1298,6 +1298,55 @@
    Grant>   ("a__" ["a_"])
    Grant>   )
 
    Grant> +;; Input modes of various orthographies for the Lakota language.
    Grant> +;; I'd like to acknowledge the elders and ancestors who fought
    Grant> +;; to keep the language and culture alive.
    Grant> +;; Grant Shangreaux <grant@churls.world> 2021-05-23
    Grant> +
    Grant> +(quail-define-package
    Grant> + "lakota-white-hat-postfix" "Lakota" "Lak " t
    Grant> + "Lakota White Hat orthography input method.
    Grant> +Unused letters `r' and `v' are used to add the dot above and macron
    Grant> +diacritics for used in this orthography. The glottal stop
    Grant> is produced

Two spaces after '.', here and below

    Grant> +by repeating the `'' character."
    Grant> +nil t nil nil nil nil nil nil nil nil t)
    Grant> +
    Grant> +(quail-define-rules
    Grant> + ("f" ?ŋ)
    Grant> + ("r" #x307)                            ; COMBINING DOT ABOVE
    Grant> + ("v" #x304)                            ; COMBINING MACRON

I guess these combine if you use the ? notation, which looks
terrible. Perhaps a comment to that effect?

Also, in the lakota-slo-postfix, you produce eg á, whereas this
method produces ȧ. Are they intended to represent the same sound? If
so, could it be confusing to have them represented differently?

    Grant> + ("''" ?’)
    Grant> + )
    Grant> +
    Grant> +(quail-define-package
    Grant> + "lakota-slo-postfix" "Lakota" "SLO " t
    Grant> + "Suggested Lakota Orthography input method.
    Grant> +Uses a postfix modifier key for adding accent diacritics. To add 
stress
    Grant> +to a vowel, simply type the single quote ' after the vowel. All 
other characters
    Grant> +are bound to a single key. Mitákuyepi philámayaye ló. "
    Grant> +nil t nil nil nil nil nil nil nil nil t)
    Grant> +
    Grant> +(quail-define-rules
    Grant> + ;; accented vowels
    Grant> + ("a'" ?á) ("A'" ?Á)
    Grant> + ("e'" ?é) ("E'" ?É)
    Grant> + ("i'" ?í) ("I'" ?Í)
    Grant> + ("o'" ?ó) ("O'" ?Ó)
    Grant> + ("u'" ?ú) ("U'" ?Ú)
    Grant> +
    Grant> + ;; consonants with caron
    Grant> + ("c" ?č) ("C" ?Č)
    Grant> + ("j" ?ȟ) ("J" ?Ȟ)
    Grant> + ("q" ?ǧ) ("Q" ?Ǧ)
    Grant> + ("x" ?ž) ("X" ?Ž)
    Grant> + ("r" ?š) ("R" ?Š)
    Grant> +
    Grant> + ;; velar nasal n
    Grant> + ("f" ?ŋ)
    Grant> +
    Grant> + ;; glottal stop
    Grant> + ("''" ?’))
    Grant> +
    Grant>  (quail-define-package
    Grant>   "norwegian-postfix" "Latin-1" "NO<" t
    Grant>   "Norwegian (Norsk) input method (rule: AE->Æ   OE->Ø   AA->Å   
E\\='->É
    Grant> -- 
    Grant> 2.20.1


Robert
-- 



reply via email to

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