From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Grant Shoshin Shangreaux Newsgroups: gmane.emacs.devel Subject: Re: adding Lakota keyboard layouts Date: Fri, 18 Jun 2021 10:31:21 -0500 Message-ID: <87eecz42ba.fsf@churls.world> References: <87bl98vng2.fsf@churls.world> <83sg2ks2rk.fsf@gnu.org> <875yz9v1ly.fsf@churls.world> <87im3743ky.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7017"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 18 18:07:33 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luH1m-0001YE-O3 for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Jun 2021 18:07:31 +0200 Original-Received: from localhost ([::1]:58536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luH1l-0003lm-ME for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Jun 2021 12:07:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luGT1-00076i-P6 for emacs-devel@gnu.org; Fri, 18 Jun 2021 11:31:35 -0400 Original-Received: from out1.migadu.com ([2001:41d0:2:863f::]:19127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luGSy-0001r8-Ju; Fri, 18 Jun 2021 11:31:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=churls.world; s=key1; t=1624030285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5zCFVe5b5a+cwwokIs+sKCcKW5RZzgtsf4lZnuda3Ok=; b=b4aCZEUrz3ePGqkFkJTZnNmNGRqISRSXqNTwgU8iF9f3imtk5xVxlznjK5vNuiuFMtWBp+ LEXXAxEchSWP11lb3m4ZA0P6BHbozZ1/lTr5E5z3mwdCYIsiXfOMfxJ4vSsRijGNzxYF9j sqeuV6uKaGDG11IVRJtsUiyyLFz7iMkMqJlRpikNa3hcL3T+gdZfNXDbXsrgl7sZlMivcZ zOZ6N2fLzt9e4DSHQQh8T6jeWyUgZyFUXdMuMPt9FsCQ98hMnK6C0fOy7NiKT8T3v4oxTB 03ead3RdWkGg+ungfE3QCmlEPf4gZnPMTcYquW4L/NBojlDiyWdPLS6WB9ee3g== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <87im3743ky.fsf@gmail.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: grant@churls.world Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=grant@churls.world; helo=out1.migadu.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.5, PDS_OTHER_BAD_TLD=2, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 18 Jun 2021 12:02:08 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270912 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Robert Pluim writes: > You=CA=BCre missing a ChangeLog and a NEWS entry. See commit 229c51afbf f= or > an example Thank you for the review! I finally had a chance to sit down with this again and I'm attaching an updated patch that also includes one input mode added to the latin-prefix file. I added the NEWS entry, but I apologize, I wasn't able to determine which ChangeLog I should be adding to. I tried to format my commit message as documented in the CONTRIBUTE file.=20 > > Two spaces after '.', here and below > Good to know the docstrings still follow two spaces after a period, I believe I've got them all sorted now > > I guess these combine if you use the ? notation, which looks > terrible. Perhaps a comment to that effect? > I added a comment, I'd be glad to know if there was a better way to insert these combining character literals. This proved to be the best way I could come up with to keep the input mode simple. > Also, in the lakota-slo-postfix, you produce eg =C3=A1, whereas this > method produces a=CC=87. Are they intended to represent the same sound? If > so, could it be confusing to have them represented differently? > The White Hat orthography doesn't add diacritics to vowels. I added a table in the docstring to show the intended use of the combining marks for the consonants. I hope that makes it a bit clearer. - Grant --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-Add-input-modes-for-Lakota-orthographies.patch Content-Transfer-Encoding: quoted-printable Content-Description: Lakota input modes >From 2c5ed933f515d2115f37695e8f1b784e88104127 Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Sun, 23 May 2021 11:28:25 -0500 Subject: [PATCH] Add: input modes for Lakota orthographies The White Hat and Suggested Lakota Orthography are represented here by three different input modes: A prefix and postfix mode for the SLO and a postfix mode for the White Hat orthography. * lisp/leim/quail/latin-post.el: lakota-slo-postfix, lakota-white-hat-postf= ix * lisp/leim/quail/latin-pre.el: lakota-slo-prefix * etc/HELLO: a welcome message in Lakota --- etc/HELLO | 1 + etc/NEWS | 7 +++++ lisp/leim/quail/latin-post.el | 58 +++++++++++++++++++++++++++++++++++ lisp/leim/quail/latin-pre.el | 29 ++++++++++++++++++ 4 files changed, 95 insertions(+) diff --git a/etc/HELLO b/etc/HELLO index 0cebb2bb7c..577c2828de 100644 --- a/etc/HELLO +++ b/etc/HELLO @@ -59,6 +59,7 @@ Italian (italiano) Ciao / Buon giorno Javanese (=EA=A6=A7=EA=A6=B1=EA=A6=97=EA=A6=AE=EA=A6=B6) console.log("=EA= =A6=B2=EA=A6=AD=EA=A6=BA=EA=A6=B4"); Kannada (=E0=B2=95=E0=B2=A8=E0=B3=8D=E0=B2=A8=E0=B2=A1) =E0=B2=A8=E0=B2=AE= =E0=B2=B8=E0=B3=8D=E0=B2=95=E0=B2=BE=E0=B2=B0 Khmer (=E1=9E=97=E1=9E=B6=E1=9E=9F=E1=9E=B6=E1=9E=81=E1=9F=92=E1=9E=98=E1= =9F=82=E1=9E=9A) =E1=9E=87=E1=9F=86=E1=9E=9A=E1=9E=B6=E1=9E=94=E1=9E=9F=E1= =9E=BD=E1=9E=9A +Lakota (Lak=C8=9Fotiyapi) Ta=C5=8By=C3=A1=C5=8B yah=C3=AD! Lao (=E0=BA=9E=E0=BA=B2=E0=BA=AA=E0=BA=B2=E0=BA=A5=E0=BA=B2=E0=BA=A7) =E0= =BA=AA=E0=BA=B0=E0=BA=9A=E0=BA=B2=E0=BA=8D=E0=BA=94=E0=BA=B5 / =E0=BA=82=E0= =BB=8D=E0=BB=83=E0=BA=AB=E0=BB=89=E0=BB=82=E0=BA=8A=E0=BA=81=E0=BA=94=E0=BA= =B5 Malayalam (=E0=B4=AE=E0=B4=B2=E0=B4=AF=E0=B4=BE=E0=B4=B3=E0=B4=82) =E0=B4= =A8=E0=B4=AE=E0=B4=B8=E0=B5=8D=E0=B4=95=E0=B4=BE=E0=B4=B0=E0=B4=82 Maldivian (=DE=8B=DE=A8=DE=88=DE=AC=DE=80=DE=A8) =DE=87=DE=A6=DE=87=DE=B0= =DE=90=DE=A6=DE=8D=DE=A7=DE=89=DE=AA =DE=A2=DE=A6=DE=8D=DE=A6=DE=87=DE=A8= =DE=86=DE=AA=DE=89=DE=B0 / =DE=86=DE=A8=DE=80=DE=A8=DE=82=DE=AC=DE=80=DE=B0= =D8=9F diff --git a/etc/NEWS b/etc/NEWS index da1372baf4..551affe234 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1214,6 +1214,13 @@ deprecated. Errors in the Inscript method were corr= ected. *** New input method 'cham'. There's also a Cham greeting in "etc/HELLO". =20 +--- +*** New input methods for Lakota language orthographies +Two orthographies are represented here, the Suggested Lakota Orthography +and what is known as the White Hat Orthography. Input methods lakota-slo-= prefix, +lakota-slo-postfix, and lakota-white-hat-postfix have been added. +There is also a Lakota greeting in "etc/HELLO". + ** Ispell =20 +++ diff --git a/lisp/leim/quail/latin-post.el b/lisp/leim/quail/latin-post.el index 10408776a2..8329fff82e 100644 --- a/lisp/leim/quail/latin-post.el +++ b/lisp/leim/quail/latin-post.el @@ -1298,6 +1298,64 @@ ("a__" ["a_"]) ) =20 +;; 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 2021-05-23 + +(quail-define-package + "lakota-white-hat-postfix" "Lakota" "Lak " t + "Lakota White Hat orthography input method with postfix modifiers. +The `f' key produces the nasal =C5=8B while unused letters `r' and `v' add +the combining dot above and macron diacritics respectively. This allows +production of all the consonants: + +cv -> c=CC=84 hr -> h=CC=87 pv -> p=CC=84 tv -> t=CC=84 +cr -> c=CC=87 kv -> k=CC=84 pr -> p=CC=87 tr -> t=CC=87 +gr -> g=CC=87 kr -> k=CC=87 sr -> s=CC=87 zr -> z=CC=87 + +The glottal stop is produced by repeating the ' character. This orthograp= hy +does not use stress diacritics on vowels. Mit=CC=84ak=CC=84uyep=CC=84i p= =CC=84ilamayayap=CC=84ilo." +nil t nil nil nil nil nil nil nil nil t) + +(quail-define-rules + ("f" ?=C5=8B) + ("''" ?=E2=80=99) + ;; using hex representation as these characters combine with the ? syntax + ("r" #x307) ; COMBINING DOT ABOVE + ("v" #x304)) ; COMBINING MACRON + + + +(quail-define-package + "lakota-slo-postfix" "Lakota" "SLO " t + "Suggested Lakota Orthography input method with postfix modifier. +To add stress to a vowel, simply type the single quote ' after the vowel. +The glottal stop is produced by repeating the ' character. All other +characters are bound to a single key. Mit=C3=A1kuyepi phil=C3=A1mayayapi = l=C3=B3." +nil t nil nil nil nil nil nil nil nil t) + +(quail-define-rules + ;; accented vowels + ("a'" ?=C3=A1) ("A'" ?=C3=81) + ("e'" ?=C3=A9) ("E'" ?=C3=89) + ("i'" ?=C3=AD) ("I'" ?=C3=8D) + ("o'" ?=C3=B3) ("O'" ?=C3=93) + ("u'" ?=C3=BA) ("U'" ?=C3=9A) + + ;; consonants with caron + ("c" ?=C4=8D) ("C" ?=C4=8C) + ("j" ?=C8=9F) ("J" ?=C8=9E) + ("q" ?=C7=A7) ("Q" ?=C7=A6) + ("x" ?=C5=BE) ("X" ?=C5=BD) + ("r" ?=C5=A1) ("R" ?=C5=A0) + + ;; velar nasal n + ("f" ?=C5=8B) + + ;; glottal stop + ("''" ?=E2=80=99)) + (quail-define-package "norwegian-postfix" "Latin-1" "NO<" t "Norwegian (Norsk) input method (rule: AE->=C3=86 OE->=C3=98 AA->=C3= =85 E\\=3D'->=C3=89 diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el index b8b0fabfa8..3b9c942a8c 100644 --- a/lisp/leim/quail/latin-pre.el +++ b/lisp/leim/quail/latin-pre.el @@ -1337,4 +1337,33 @@ ("``" ["`"]) ) =20 +(quail-define-package + "lakota-slo-prefix" "Lakota" "SLO " t + "Suggested Lakota Orthography input method with prefix modifier. +To add stress to a vowel, simply type the single quote ' before the vowel. +The glottal stop is produced by repeating the ' character. All other +characters are bound to a single key. Mit=C3=A1kuyepi phil=C3=A1mayayapi = l=C3=B3." +nil t nil nil nil nil nil nil nil nil t) + +(quail-define-rules + ;; accented vowels + ("'a" ?=C3=A1) ("'A" ?=C3=81) + ("'e" ?=C3=A9) ("'E" ?=C3=89) + ("'i" ?=C3=AD) ("'I" ?=C3=8D) + ("'o" ?=C3=B3) ("'O" ?=C3=93) + ("'u" ?=C3=BA) ("'U" ?=C3=9A) + + ;; consonants with caron + ("c" ?=C4=8D) ("C" ?=C4=8C) + ("j" ?=C8=9F) ("J" ?=C8=9E) + ("q" ?=C7=A7) ("Q" ?=C7=A6) + ("x" ?=C5=BE) ("X" ?=C5=BD) + ("r" ?=C5=A1) ("R" ?=C5=A0) + + ;; velar nasal n + ("f" ?=C5=8B) + + ;; glottal stop + ("''" ?=E2=80=99)) + ;;; latin-pre.el ends here --=20 2.20.1 --=-=-=--