emacs/lisp/leim/quail/latin-pre.el

1429 lines
26 KiB
EmacsLisp
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;;; latin-pre.el --- Quail packages for inputting various European characters -*-coding: utf-8; lexical-binding: t -*-
;; Copyright (C) 1997-2024 Free Software Foundation, Inc.
;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
;; 2006, 2007, 2008, 2009, 2010, 2011
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H14PRO021
;; Keywords: mule, multilingual, latin, input method
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; Key translation maps were originally copied from iso-acc.el.
;; latin-1-prefix: extra special characters added, adapted from the vim
;; digraphs (from J.H.M.Dassen <jdassen@wi.leidenuniv.nl>)
;; by R.F. Smith <rsmith@xs4all.nl>
;;
;; polish-slash:
;; Author: Włodek Bzyl <matwb@univ.gda.pl>
;;
;; latin-[89]-prefix: Dave Love <fx@gnu.org>
;;
;; polish-prefix:
;; Author: Wojciech Gac <wojciech.s.gac@gmail.com>
;; You might make extra input sequences on the basis of the X
;; locale/*/Compose files (which have both prefix and postfix
;; sequences), but bear in mind that sequences which are logical in
;; that context may not be sensible when they're not signaled with
;; the Compose key. An example is a double space for NBSP.
;;; Code:
(require 'quail)
(quail-define-package
"latin-1-prefix" "Latin-1" "1>" t
"Latin-1 characters input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á, \\='\\=' -> ´
grave | \\=` | \\=`a -> à
circumflex | ^ | ^a -> â
diaeresis | \" | \"a -> ä \"\" -> ¨
tilde | ~ | ~a -> ã
cedilla | ~ | ~c -> ç
misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
| ~ | ~s -> § ~x -> ¤ ~. -> · ~$ -> £ ~u -> µ
| ~ | ~p -> ¶ ~- -> ­ ~= -> ¯ ~| -> ¦
symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
| _ / | _: -> ÷ /c -> ¢ /2 -> ½ /4 -> ¼ /3 -> ¾
| _ / | /= -> ¬
symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'Y" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("'y" )
("''" ?´)
("' " ?')
("`A" )
("`E" )
("`I" )
("`O" )
("`U" )
("`a" )
("`e" )
("`i" )
("`o" )
("`u" )
("``" ?`)
("` " ?`)
("^A" )
("^E" )
("^I" )
("^O" )
("^U" )
("^a" )
("^e" )
("^i" )
("^o" )
("^u" )
("^^" ?^)
("^ " ?^)
("\"A" )
("\"E" )
("\"I" )
("\"O" )
("\"U" )
("\"a" )
("\"e" )
("\"i" )
("\"o" )
("\"s" )
("\"u" )
("\"y" ?ÿ)
("\"\"" )
("\" " ?\")
("~A" )
("~C" )
("~D" )
("~N" )
("~O" )
("~T" )
("~a" )
("~c" )
("~d" )
("~n" )
("~o" )
("~t" )
("~>" ?\»)
("~<" ?\«)
("~!" )
("~?" ?¿)
("~~" ?¸)
("~ " ?~)
("/A" )
("/E" )
("/O" )
("/a" )
("/e" )
("/o" )
("//" )
("/ " ?/)
("_o" )
("_a" )
("_ " ? )
;; Symbols added by Roland Smith <rsmith@xs4all.nl>
("_+" )
("_y" )
("_:" )
("__" ?_)
("/c" )
("/\\" ?×)
("/2" )
("/4" )
("/3" )
("~s" )
("~p" )
("~x" )
("~." )
("~$" )
("~u" )
("^r" )
("^c" )
("^1" )
("^2" )
("^3" )
("~-" ?­)
("~|" )
("/=" )
("~=" )
)
(quail-define-package
"catalan-prefix" "Latin-1" "CA>" t
"Catalan and Spanish input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á \\='\\=' -> ´
grave | \\=` | \\=`a -> à
diaeresis | \" | \"i -> ï \"\" -> ¨
tilde | ~ | ~n -> ñ
cedilla | ~ | ~c -> ç
middle dot | ~ | ~. -> ·
symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("' " ?')
("`A" )
("`E" )
("`O" )
("`a" )
("`e" )
("`o" )
("` " ?`)
("\"I" )
("\"U" )
("\"i" )
("\"u" )
("\" " ?\")
("~C" )
("~N" )
("~c" )
("~n" )
("~>" ?\»)
("~<" ?\«)
("~!" )
("~?" ?¿)
("~." )
("~ " ?~)
)
(quail-define-package
"esperanto-prefix" "Latin-3" "EO>" t
"Esperanto input method with prefix modifiers
Key translation rules are:
^H -> ?Ĥ ^J -> ?Ĵ ^h -> ?ĥ ^j -> ?ĵ ^C -> ?Ĉ ^G -> ?Ĝ,
^S -> ?Ŝ ^c -> ?ĉ ^g -> ?ĝ ^s -> ?ŝ ~U -> ?Ŭ ~u -> ?ŭ
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("^H" )
("^J" )
("^h" )
("^j" )
("^C" )
("^G" )
("^S" )
("^c" )
("^g" )
("^s" )
("^^" ?^)
("^ " ?^)
("~U" )
("~u" )
("~ " ?~)
)
(quail-define-package
"french-prefix" "French" "FR>" t
"French (Français) input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='e -> é
grave | \\=` | \\=`a -> à
circumflex | ^ | ^a -> â
diaeresis | \" | \"i -> ï
cedilla | ~ or , | ~c -> ç ,c -> ç
symbol | ~ | ~> -> » ~< -> «
misc | / | /o -> œ
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'E" )
("'C" )
("'e" )
("'c" )
("' " ?')
("`A" )
("`E" )
("`U" )
("`a" )
("`e" )
("`u" )
("` " ?`)
("^A" )
("^E" )
("^I" )
("^O" )
("^U" )
("^a" )
("^e" )
("^i" )
("^o" )
("^u" )
("^ " ?^)
("\"E" )
("\"I" )
("\"e" )
("\"i" )
("\" " ?\")
("/o" )
("/O" )
("/ " ?/)
("~<" ?\«)
("~>" ?\»)
("~C" )
("~c" )
("~ " ?~)
(",C" )
(",c" )
(",," ?,)
)
(quail-define-package
"romanian-prefix" "Romanian" "RO>" t
"Romanian (româneşte) input method with prefix modifiers
effect | prefix | examples
------------+--------+------------------
breve | ~ | ~a -> ă
circumflex | ^ | ^a -> â, ^i -> î
cedilla | , | ,s -> ş, ,t -> ţ
~ | ~ | ~~ -> ~
^ | ^ | ^^ -> ^
, | , | ,, -> ,
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("~A" ) ("~a" )
("^A" ) ("^a" )
("^I" ) ("^i" )
(",S" ) (",s" )
(",T" ) (",t" )
("^^" ?^) ("~~" ?~) (",," ?,))
(quail-define-package
"romanian-alt-prefix" "Romanian" "RO>" t
"Alternative Romanian (româneşte) input method with prefix modifiers
effect | prefix | examples
------------+--------+------------------
breve | \\=' | \\='a -> ă
circumflex | \" \\=' | \"a -> â \\='i -> î
cedilla | \\=' | \\='s -> ş \\='t -> ţ
\\=' | \\=' | \\='\\=' -> \\='
\" | \" | \"\" -> \"
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" ) ("'a" )
("\"A" ) ("\"a" )
("'I" ) ("'i" )
("'S" ) ("'s" )
("'T" ) ("'t" )
("''" ?') ("\"\"" ?\"))
(quail-define-package
"german-prefix" "German" "DE>" t
"German (Deutsch) input method with prefix modifiers
Key translation rules are:
\"A -> Ä -> \"O -> Ö \"S -> ẞ \"U -> Ü \"s -> ß
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("\"A" )
("\"O" )
("\"U" )
("\"S" ?ẞ)
("\"a" )
("\"o" )
("\"u" )
("\"s" )
("\" " ?\")
)
(quail-define-package
"irish-prefix" "Latin-1" "GA>" t
"Irish input method with prefix modifiers
Key translation rules are:
\\='A -> Á \\='E -> É \\='I -> Í \\='O -> Ó \\='U -> Ú
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("' " ?')
)
(quail-define-package
"portuguese-prefix" "Latin-1" "PT>" t
"Portuguese input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á \\='\\=' -> ´
grave | \\=` | \\=`a -> à
circumflex | ^ | ^a -> â
diaeresis | \" | \"u -> ü
tilde | ~ | ~a -> ã
cedilla | \\=' or , | \\='c -> ç ,c -> ç
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'C" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("'c" )
("' " ?')
("`A" )
("`a" )
("` " ?`)
("^A" )
("^E" )
("^O" )
("^a" )
("^e" )
("^o" )
("^ " ?^)
("\"U" )
("\"u" )
("\" " ?\")
("~A" )
("~O" )
("~a" )
("~o" )
("~ " ?~)
(",c" )
(",C" )
(",," ?,)
)
(quail-define-package
"spanish-prefix" "Spanish" "ES>" t
"Spanish (Español) input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á
diaeresis | \" | \"u -> ü
tilde | ~ | ~n -> ñ
symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("' " ?')
("\"U" )
("\"u" )
("\" " ?\")
("~N" )
("~n" )
("~>" ?\»)
("~<" ?\«)
("~!" )
("~?" ?¿)
("~ " ?~)
)
(quail-define-package
"latin-2-prefix" "Latin-2" "2>" t
"Latin-2 characters input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á \\='\\=' -> ?´
circumflex | ^ | ^a -> â
diaeresis | \" | \"a -> ä \"\" -> ¨
breve | ~ | ~a -> ă
caron | ~ | ~c -> č
cedilla | \\=` | \\=`c -> ç \\=`e -> ?ę
misc | \\=' \\=` ~ | \\='d -> đ \\=`l -> ł \\=`z -> ż ~o -> ő ~u -> ű
symbol | ~ | \\=`. -> ˙ ~~ -> ˘ ~. -> ?¸
"
'(("\C-?" . quail-delete-last-char)
(">" . quail-next-translation)
("\C-f" . quail-next-translation)
([right] . quail-next-translation)
("<" . quail-prev-translation)
("\C-b" . quail-prev-translation)
([left] . quail-prev-translation))
t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'C" )
("'D" )
("'E" )
("'I" )
("'L" )
("'N" )
("'O" )
("'R" )
("'S" )
("'U" )
("'Y" )
("'Z" )
("'a" )
("'c" )
("'d" )
("'e" )
("'i" )
("'l" )
("'n" )
("'o" )
("'r" )
("'s" )
("'u" )
("'y" )
("'z" )
("''" ?´)
("' " ?')
("`A" )
("`C" )
("`E" )
("`L" )
("`S" "ŞȘ")
("`T" "ŢȚ") ; the second variant is for Romanian
("`Z" )
("`a" )
("`l" )
("`c" )
("`e" )
("`s" "şș")
("`t" "ţț") ; the second variant is for Romanian
("`z" )
("``" )
("`." )
("` " ?`)
("^A" )
("^I" )
("^O" )
("^a" )
("^i" )
("^o" )
("^^" ?^)
("^ " ?^)
("\"A" )
("\"E" )
("\"O" )
("\"U" )
("\"a" )
("\"e" )
("\"o" )
("\"s" )
("\"u" )
("\"\"" )
("\" " ?\")
("~A" )
("~C" )
("~D" )
("~E" )
("~L" )
("~N" )
("~O" )
("~R" )
("~S" )
("~T" )
("~U" )
("~Z" )
("~a" )
("~c" )
("~d" )
("~e" )
("~l" )
("~n" )
("~o" )
("~r" )
("~s" )
("~t" )
("~u" )
("~z" )
("~v" )
("~~" )
("~." ?¸)
("~ " ?~)
)
(quail-define-package
"latin-3-prefix" "Latin-3" "3>" t
"Latin-3 characters input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á \\='\\=' -> ?´
grave | \\=` | \\=`a -> à
circumflex | ^ | ^a -> â
diaeresis | \" | \"a -> ä \"\" -> ¨
cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
dot above | / . | /g -> ġ .g -> ġ
misc | \" ~ / | \"s -> ß ~g -> ğ ~u -> ŭ /h -> ħ /i -> ı
symbol | ~ | ~\\=` -> ˘ /# -> £ /$ -> ¤ // -> °
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("''" ?´)
("' " ?')
("`A" )
("`E" )
("`I" )
("`O" )
("`U" )
("`a" )
("`e" )
("`i" )
("`o" )
("`u" )
("``" ?`)
("` " ?`)
("^A" )
("^C" )
("^E" )
("^G" )
("^H" )
("^I" )
("^J" )
("^O" )
("^S" )
("^U" )
("^a" )
("^c" )
("^e" )
("^g" )
("^h" )
("^i" )
("^j" )
("^o" )
("^s" )
("^u" )
("^^" ?^)
("^ " ?^)
("\"A" )
("\"E" )
("\"I" )
("\"O" )
("\"U" )
("\"a" )
("\"e" )
("\"i" )
("\"o" )
("\"u" )
("\"s" )
("\"\"" )
("\" " ?\")
("~C" )
("~N" )
("~c" )
("~n" )
("~S" )
("~s" )
("~G" )
("~g" )
("~U" )
("~u" )
("~`" )
("~~" ?¸)
("~ " ?~)
("/C" )
("/G" )
("/H" )
("/I" )
("/Z" )
("/c" )
("/g" )
("/h" )
("/i" ?ı)
("/z" )
("/." )
("/#" )
("/$" )
("//" )
("/ " ?/)
(".C" )
(".G" )
(".I" )
(".Z" )
(".c" )
(".g" )
(".z" )
)
(quail-define-package
"polish-prefix" "Polish" "PL>" nil
"Input method for Polish, Kashubian, Kurpie and Silesian.
Similar in spirit to `polish-slash', but uses the most intuitive
prefix for each diacritic. In addition to ordinary Polish diacritics,
this input method also contains characters from the Kashubian, Kurpie
and Silesian (both Steuer and Ślabikŏrzowy szrajbōnek) scripts."
nil t t nil nil nil nil nil nil nil t)
(quail-define-rules
(",a" )
(",A" )
("/a" )
("/A" )
("'a" )
("'A" )
("\\a" )
("\\A" )
("`a" )
("`A" )
(".a" )
(".A" )
("~a" )
("~A" )
("/c" )
("/C" )
("'c" )
("'C" )
("'e" )
("'E" )
("/e" )
("/E" )
(",e" )
(",E" )
(":e" )
(":E" )
(":i" )
(":I" )
("/l" )
("/L" )
("/n" )
("/N" )
("'n" )
("'N" )
("`o" )
("`O" )
("\\o" )
("\\O" )
("'o" )
("'O" )
("/o" )
("/O" )
("^o" )
("^O" )
("-o" )
("-O" )
("~o" )
("~O" )
("#o" )
("#O" )
("/s" )
("/S" )
("'s" )
("'S" )
("`u" )
("`U" )
(".u" )
(".U" )
("/z" )
("/Z" )
("'z" )
("'Z" )
(".z" )
(".Z" )
;; Explicit input of prefix characters. Normally, to input a prefix
;; character itself, one needs to press <Tab>. Definitions below
;; allow inputting those characters by entering them twice.
("//" ?/)
("\\\\" ?\\)
("~~" ?~)
("''" ?')
("::" ?:)
("``" ?`)
("^^" ?^)
(".." ?.)
(",," ?,)
("--" ?-))
(quail-define-package
"polish-slash" "Polish" "PL>" nil
"Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
For example, the character named `aogonek' is obtained by `/a'."
nil t t nil nil nil nil nil nil nil t)
(quail-define-rules
("//" ?/)
("/a" )
("/c" )
("/e" )
("/l" )
("/n" )
("/o" )
("/s" )
("/x" )
("/z" )
("/A" )
("/C" )
("/E" )
("/L" )
("/N" )
("/O" )
("/S" )
("/X" )
("/Z" ))
(quail-define-package
"latin-9-prefix" "Latin-9" "0>" t
"Latin-9 characters input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á
grave | \\=` | \\=`a -> à
circumflex | ^ | ^a -> â
diaeresis | \" | \"a -> ä, \"Y -> Ÿ
tilde | ~ | ~a -> ã
caron | ~ | ~z -> ž
cedilla | ~ | ~c -> ç
misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
| \" ~ / | /o -> œ
symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ž
| ~ | ~s -> § ~e -> € ~. -> · ~$ -> £ ~u -> µ
| ~ | ~- -> ­ ~= -> ¯
symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
| _ / | _: -> ÷ /c -> ¢ ~p -> ¶
| _ / | /= -> ¬
symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³ _a -> ª
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'Y" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("'y" )
("' " ?')
("`A" )
("`E" )
("`I" )
("`O" )
("`U" )
("`a" )
("`e" )
("`i" )
("`o" )
("`u" )
("``" ?`)
("` " ?`)
("^A" )
("^E" )
("^I" )
("^O" )
("^U" )
("^a" )
("^e" )
("^i" )
("^o" )
("^u" )
("^^" ?^)
("^ " ?^)
("\"A" )
("\"E" )
("\"I" )
("\"O" )
("\"U" )
("\"a" )
("\"e" )
("\"i" )
("\"o" )
("\"s" )
("\"u" )
("\"y" ?ÿ)
("\" " ?\")
("~A" )
("~C" )
("~D" )
("~N" )
("~O" )
("~S" )
("~T" )
("~Z" )
("~a" )
("~c" )
("~d" )
("~n" )
("~o" )
("~s" )
("~t" )
("~z" )
("~>" ?\»)
("~<" ?\«)
("~!" )
("~?" ?¿)
("~ " ?~)
("/A" )
("/E" )
("/O" )
("/a" )
("/e" )
("/o" )
("//" )
("/ " ?/)
("_o" )
("_a" )
("_+" )
("_y" )
("_:" )
("_ " ? )
("__" ?_)
("/c" )
("/\\" ?×)
("/o" ) ; clash with ø, but æ uses /
("/O" )
("\"Y" )
("~s" )
("~p" )
;; Is this the best option for Euro entry?
("~e" ?€)
("~." )
("~$" )
("~u" )
("^r" )
("^c" )
("^1" )
("^2" )
("^3" )
("~-" ?­)
("~=" )
("/=" ))
;; Latin-8 was done by an Englishman -- Johnny Celt should take a
;; squint at it.
(quail-define-package
"latin-8-prefix" "Latin-8" "8>" t
"Latin-8 characters input method with prefix modifiers
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á
grave | \\=` | \\=`a -> à
circumflex | ^ | ^w -> ŵ
diaeresis | \" | \"a -> ä
dot above | . | .b -> ḃ
tilde | ~ | ~a -> ã
cedilla | ~ | ~c -> ç
misc | \" ~ / | \"s -> ß /a -> å /e -> æ /o -> ø
| ~ | ~s -> § ~$ -> £ ~p -> ¶
symbol | ^ | ^r -> ® ^c -> ©
" nil t nil nil nil nil nil nil nil nil t)
;; Basically following Latin-1, plus dottiness from Latin-3.
(quail-define-rules
(".B" ?Ḃ)
(".b" ?ḃ)
(".c" )
(".C" )
(".D" ?Ḋ)
(".d" ?ḋ)
(".f" ?ḟ)
(".F" ?Ḟ)
(".g" )
(".G" )
(".m" ?ṁ)
(".M" ?Ṁ)
(".p" ?ṗ)
(".P" ?Ṗ)
(".s" ?ṡ)
(".S" ?Ṡ)
(".t" ?ṫ)
(".T" ?Ṫ)
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'Y" )
("'W" ?Ẃ)
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("'w" ?ẃ)
("'y" )
("' " ?')
("`A" )
("`E" )
("`I" )
("`O" )
("`U" )
("`W" ?Ẁ)
("`Y" ?Ỳ)
("`a" )
("`e" )
("`i" )
("`o" )
("`u" )
("`w" ?ẁ)
("`y" ?ỳ)
("``" ?`)
("` " ?`)
("^A" )
("^E" )
("^I" )
("^O" )
("^U" )
("^a" )
("^e" )
("^i" )
("^o" )
("^u" )
("^w" )
("^W" )
("^y" )
("^Y" )
("^^" ?^)
("^ " ?^)
("\"A" )
("\"E" )
("\"I" )
("\"O" )
("\"U" )
("\"a" )
("\"e" )
("\"i" )
("\"o" )
("\"s" )
("\"u" )
("\"w" ?ẅ)
("\"W" ?Ẅ)
("\"y" ?ÿ)
("\"Y" )
("\" " ?\")
("~A" )
("~C" )
("~N" )
("~O" )
("~a" )
("~c" )
("~n" )
("~o" )
("~ " ?~)
("/A" )
("/E" )
("/O" )
("/a" )
("/e" )
("/o" )
("/ " ?/)
("~p" )
("~s" )
("~$" )
("^r" )
("^c" ))
(quail-define-package
"latin-prefix" "Latin" "L>" t
"Latin characters input method with prefix modifiers.
This is the union of various input methods originally made for input
of characters from a single Latin-N charset.
effect | prefix | examples
------------+--------+----------
acute | \\=' | \\='a -> á \\='\\=' -> ´
grave | \\=` | \\=`a -> à
circumflex | ^ | ^a -> â
diaeresis | \" | \"a -> ä \"\" -> ¨
tilde | ~ | ~a -> ã
cedilla | , ~ | ,c -> ç ~c -> ç
caron | ~ | ~c -> č ~g -> ğ
breve | ~ | ~a -> ă
macron | - | -a -> ā -/e -> ǣ -- -> ¯
dot above | / . | /g -> ġ .g -> ġ
misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
| [ | [\\=' -> [\" -> “
| ] | ]\\=' -> ]\" -> ”
| , | ,\\=' -> ,\" -> „
symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
symbol | ^ | ^r -> ® ^t -> ™ ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("--" )
("-A" )
("-a" )
("-E" )
("-e" )
("-/E" )
("-/e" )
("-G" ?Ḡ)
("-g" ?ḡ)
("-I" )
("-i" )
("-O" )
("-o" )
("-U" )
("-u" )
("-Y" )
("-y" )
("' " ?')
("''" ?´)
("['" ?)
("]'" ?)
("[\"" ?“)
("]\"" ?”)
(",\"" ?„)
(",'" ?)
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'W" ?Ẃ)
("'Y" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("'w" ?ẃ)
("'y" )
(".B" ?Ḃ)
(".C" )
(".D" ?Ḋ)
(".F" ?Ḟ)
(".G" )
(".I" )
(".M" ?Ṁ)
(".P" ?Ṗ)
(".S" ?Ṡ)
(".T" ?Ṫ)
(".Z" )
(".b" ?ḃ)
(".c" )
(".d" ?ḋ)
(".f" ?ḟ)
(".g" )
(".m" ?ṁ)
(".p" ?ṗ)
(".s" ?ṡ)
(".t" ?ṫ)
(".z" )
("/ " ?/)
("/#" )
("/$" )
("/." )
("//" )
("/2" )
("/3" )
("/4" )
("/=" )
("/A" )
("/C" )
("/E" )
("/G" )
("/H" )
("/I" )
("/O" )
("/O" )
("/Z" )
("/\\" ?×)
("/a" )
("/c" )
("/c" )
("/e" )
("/g" )
("/h" )
("/i" ?ı)
("/o" )
("/o" )
("/z" )
("\" " ?\")
("\"A" )
("\"E" )
("\"I" )
("\"O" )
("\"S" ?ẞ)
("\"U" )
("\"W" ?Ẅ)
("\"Y" )
("\"\"" )
("\"a" )
("\"e" )
("\"i" )
("\"o" )
("\"s" )
("\"u" )
("\"w" ?ẅ)
("\"y" ?ÿ)
("^ " ?^)
("^0" ?⁰)
("^1" )
("^2" )
("^3" )
("^4" ?⁴)
("^5" ?⁵)
("^6" ?⁶)
("^7" ?⁷)
("^8" ?⁸)
("^9" ?⁹)
("^A" )
("^C" )
("^E" )
("^G" )
("^H" )
("^I" )
("^J" )
("^O" )
("^S" )
("^U" )
("^W" )
("^Y" )
("^^" ?^)
("^a" )
("^c" )
("^c" )
("^e" )
("^g" )
("^h" )
("^i" )
("^j" )
("^o" )
("^r" )
("^s" )
("^t" ?™)
("^u" )
("^w" )
("^y" )
("^+" ?⁺)
("^-" ?⁻)
("_0" ?₀)
("_1" ?₁)
("_2" ?₂)
("_3" ?₃)
("_4" ?₄)
("_5" ?₅)
("_6" ?₆)
("_7" ?₇)
("_8" ?₈)
("_9" ?₉)
("_++" ?₊)
("_-" ?₋)
("_+" )
("_:" )
("_a" )
("_o" )
("_y" )
("_ " ? )
("` " ?`)
("`A" )
("`E" )
("`I" )
("`O" )
("`U" )
("`W" ?Ẁ)
("`Y" ?Ỳ)
("``" ?`)
("`a" )
("`e" )
("`i" )
("`o" )
("`u" )
("`w" ?ẁ)
("`y" ?ỳ)
("~ " ?~)
("~!" )
("~$" )
("~-" ?­)
("~." )
("~<" ?\«)
("~~<" ?\)
("~=" )
("~>" ?\»)
("~~>" ?\)
("~?" ?¿)
("~A" )
("~A" )
("~C" )
("~C" )
(",C" )
("~D" )
("~G" )
("~N" )
("~O" )
("~O" )
("~S" )
("~S" )
("~T" )
("~U" )
("~Z" )
("~`" )
("~a" )
("~a" )
("~c" )
("~c" )
(",c" )
("~d" )
("~e" ?€)
("~g" )
("~n" )
("~o" )
("~p" )
("~s" )
("~s" )
("~s" )
("~t" )
("~u" )
("~u" )
("~x" )
("~z" )
("~|" )
("~~" ?¸)
)
;;; Hawaiian prefix input method. It's a small subset of Latin-4
;;; with the addition of an ʻokina mapping. Hopefully the ʻokina shows
;;; correctly on most displays.
;;; This reference is an authoritative guide to Hawaiian orthography:
;;; https://www2.hawaii.edu/~strauch/tips/HawaiianOrthography.html
;;; Initial coding 2018-09-08 Bob Newell, Honolulu, Hawaiʻi
;;; Comments to bobnewell@bobnewell.net
(quail-define-package
"hawaiian-prefix" "Hawaiian Prefix" "H>" t
"Hawaiian characters input method with postfix modifiers
| prefix | examples
------------+---------+----------
ʻokina | \\=` | \\=` -> ʻ
kahakō | - | -a -> ā
Doubling the prefix separates the letter and prefix. --a -> -a
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("-A" )
("-E" )
("~I" )
("-O" )
("-U" )
("-a" )
("-e" )
("-i" )
("-o" )
("-u" )
("`" ?ʻ)
("--A" ["-A"])
("--E" ["-E"])
("--I" ["-I"])
("--O" ["-O"])
("--U" ["-U"])
("--a" ["-a"])
("--e" ["-e"])
("--i" ["-i"])
("--o" ["-o"])
("--u" ["-u"])
("``" ["`"])
)
(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ákuyepi philámayayapi 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
("''" ?))
;;; latin-pre.el ends here