1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00
emacs/lisp/leim/quail/latin-post.el
Robert Pluim 0e811aba53 Improve support for entering quotation marks
* lisp/international/iso-transl.el (iso-transl-char-map): Add entries
for "low" single and double quotation marks.
(iso-transl-language-alist): Add convenient support for the official
German quoting style to the German language entry. It uses "low" double
quotes on the left, and *left* double quotes on the right.  Add support
for single guillemets to the French language entry.
* lisp/leim/quail/latin-post.el ("latin-postfix"): Add entries for
single, double and "low" Unicode quotation marks.  Add entries for
single guillemets.
* lisp/leim/quail/latin-pre.el ("latin-prefix"): And here.

* etc/NEWS: Announce the changes.

(Bug#70984)
2024-06-03 13:23:44 +02:00

2782 lines
46 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-post.el --- Quail packages for inputting various European characters -*-coding: utf-8; lexical-binding: t -*-
;; Copyright (C) 1997-1998, 2001-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
;; Copyright (C) 2003
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H13PRO009
;; Keywords: multilingual, input method, latin, i18n
;; 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/>.
;; Author: TAKAHASHI Naoto <ntakahas@etl.go.jp>
;;; Commentary:
;;; Code:
(require 'quail)
(quail-define-package
"latin-1-postfix" "Latin-1" "1<" t
"Latin-1 character input method with postfix modifiers
| postfix | examples
------------+---------+----------
acute | \\=' | a\\=' -> á
grave | \\=` | a\\=` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
tilde | ~ | a~ -> ã
cedilla | , | c, -> ç
nordic | / | d/ -> ð t/ -> þ a/ -> å e/ -> æ o/ -> ø
others | / | s/ -> ß ?/ -> ¿ !/ -> ¡ // -> °
| various | << -> « >> -> » o_ -> º a_ -> ª
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A'" )
("A^" )
("A~" )
("A\"" )
("A/" )
("a`" )
("a'" )
("a^" )
("a~" )
("a\"" )
("a/" )
("E`" )
("E'" )
("E^" )
("E\"" )
("E/" )
("e`" )
("e'" )
("e^" )
("e\"" )
("e/" )
("I`" )
("i`" )
("I'" )
("i'" )
("I^" )
("i^" )
("I\"" )
("i\"" )
("O`" )
("o`" )
("O'" )
("o'" )
("O^" )
("o^" )
("O~" )
("o~" )
("O\"" )
("o\"" )
("O/" )
("o/" )
("U`" )
("u`" )
("U'" )
("u'" )
("U^" )
("u^" )
("U\"" )
("u\"" )
("Y'" )
("y'" )
("y\"" ?ÿ)
("D/" )
("d/" )
("T/" )
("t/" )
("s/" )
("C," )
("c," )
("N~" )
("n~" )
("?/" ?¿)
("!/" )
("<<" )
(">>" )
("o_" )
("a_" )
("//" )
("A``" ["A`"])
("A''" ["A'"])
("A^^" ["A^"])
("A~~" ["A~"])
("A\"\"" ["A\""])
("A//" ["A/"])
("a``" ["a`"])
("a''" ["a'"])
("a^^" ["a^"])
("a~~" ["a~"])
("a\"\"" ["a\""])
("a//" ["a/"])
("E``" ["E`"])
("E''" ["E'"])
("E^^" ["E^"])
("E\"\"" ["E\""])
("E//" ["E/"])
("e``" ["e`"])
("e''" ["e'"])
("e^^" ["e^"])
("e\"\"" ["e\""])
("e//" ["e/"])
("I``" ["I`"])
("i``" ["i`"])
("I''" ["I'"])
("i''" ["i'"])
("I^^" ["I^"])
("i^^" ["i^"])
("I\"\"" ["I\""])
("i\"\"" ["i\""])
("O``" ["O`"])
("o``" ["o`"])
("O''" ["O'"])
("o''" ["o'"])
("O^^" ["O^"])
("o^^" ["o^"])
("O~~" ["O~"])
("o~~" ["o~"])
("O\"\"" ["O\""])
("o\"\"" ["o\""])
("O//" ["O/"])
("o//" ["o/"])
("U``" ["U`"])
("u``" ["u`"])
("U''" ["U'"])
("u''" ["u'"])
("U^^" ["U^"])
("u^^" ["u^"])
("U\"\"" ["U\""])
("u\"\"" ["u\""])
("Y''" ["Y'"])
("y''" ["y'"])
("y\"\"" ["y\""])
("D//" ["D/"])
("d//" ["d/"])
("T//" ["T/"])
("t//" ["t/"])
("s//" ["s/"])
("C,," ["C,"])
("c,," ["c,"])
("N~~" ["N~"])
("n~~" ["n~"])
("?//" ["?/"])
("!//" ["!/"])
("<<<" ["<<"])
(">>>" [">>"])
("o__" ["o_"])
("a__" ["a_"])
("///" ["//"])
)
(quail-define-package
"latin-2-postfix" "Latin-2" "2<" t
"Latin-2 character input method with postfix modifiers
| postfix | examples
------------+---------+----------
acute | \\=' | a\\=' -> á
ogonek | , | a, -> ą
diaeresis | \" | a\" -> ä
circumflex | ^ | a^ -> â
breve | ~ | a~ -> ă
cedilla | , | c, -> ç
caron | ~ | c~ -> č
dbl. acute | : | o: -> ő
ring | . | u. -> ů
dot | . | z. -> ż
stroke | / | d/ -> đ
others | / | s/ -> ß
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
"
'(("\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'" )
("A," )
("A\"" )
("A^" )
("A~" )
("C'" )
("C," )
("C~" )
("D/" )
("D~" )
("E'" )
("E," )
("E\"" )
("E~" )
("I'" )
("I^" )
("L'" )
("L/" )
("L~" )
("N'" )
("N~" )
("O'" )
("O:" )
("O\"" )
("O^" )
("R'" )
("R~" )
("S'" )
("S," "ŞȘ") ; the second variant is for Romanian
("S~" )
("T," "ŢȚ") ; the second variant is for Romanian
("T~" )
("U'" )
("U:" )
("U\"" )
("U." )
("Y'" )
("Z'" )
("Z." )
("Z~" )
("a'" )
("a," )
("a\"" )
("a^" )
("a~" )
("c'" )
("c," )
("c~" )
("d/" )
("d~" )
("e'" )
("e," )
("e\"" )
("e~" )
("i'" )
("i^" )
("l'" )
("l/" )
("l~" )
("n'" )
("n~" )
("o'" )
("o:" )
("o\"" )
("o^" )
("r'" )
("r~" )
("s'" )
("s," "şș") ; the second variant is for Romanian
("s/" )
("s~" )
("t," "ţț") ; the second variant is for Romanian
("t~" )
("u'" )
("u:" )
("u\"" )
("u." )
("y'" )
("z'" )
("z." )
("z~" )
("A''" ["A'"])
("A,," ["A,"])
("A\"\"" ["A\""])
("A^^" ["A^"])
("A~~" ["A~"])
("C''" ["C'"])
("C,," ["C,"])
("C~~" ["C~"])
("D//" ["D/"])
("D~~" ["D~"])
("E''" ["E'"])
("E,," ["E,"])
("E\"\"" ["E\""])
("E~~" ["E~"])
("I''" ["I'"])
("I^^" ["I^"])
("L''" ["L'"])
("L//" ["L/"])
("L~~" ["L~"])
("N''" ["N'"])
("N~~" ["N~"])
("O''" ["O'"])
("O::" ["O:"])
("O\"\"" ["O\""])
("O^^" ["O^"])
("R''" ["R'"])
("R~~" ["R~"])
("S''" ["S'"])
("S,," ["S,"])
("S~~" ["S~"])
("T,," ["T,"])
("T~~" ["T~"])
("U''" ["U'"])
("U::" ["U:"])
("U\"\"" ["U\""])
("U.." ["U."])
("Y''" ["Y'"])
("Z''" ["Z'"])
("Z.." ["Z."])
("Z~~" ["Z~"])
("a''" ["a'"])
("a,," ["a,"])
("a\"\"" ["a\""])
("a^^" ["a^"])
("a~~" ["a~"])
("c''" ["c'"])
("c,," ["c,"])
("c~~" ["c~"])
("d//" ["d/"])
("d~~" ["d~"])
("e''" ["e'"])
("e,," ["e,"])
("e\"\"" ["e\""])
("e~~" ["e~"])
("i''" ["i'"])
("i^^" ["i^"])
("l''" ["l'"])
("l//" ["l/"])
("l~~" ["l~"])
("n''" ["n'"])
("n~~" ["n~"])
("o''" ["o'"])
("o::" ["o:"])
("o\"\"" ["o\""])
("o^^" ["o^"])
("r''" ["r'"])
("r~~" ["r~"])
("s''" ["s'"])
("s,," ["s,"])
("s//" ["s/"])
("s~~" ["s~"])
("t,," ["t,"])
("t~~" ["t~"])
("u''" ["u'"])
("u::" ["u:"])
("u\"\"" ["u\""])
("u.." ["u."])
("y''" ["y'"])
("z''" ["z'"])
("z.." ["z."])
("z~~" ["z~"])
)
(quail-define-package
"latin-3-postfix" "Latin-3" "3<" t
"Latin-3 character input method with postfix modifiers
| postfix | examples
------------+---------+----------
acute | \\=' | a\\=' -> á
grave | \\=` | a\\=` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
dot | . | c. -> ċ i. -> ı I. -> İ
cedilla | , | c, -> ç
breve | ~ | g~ -> ğ
tilde | ~ | n~ -> ñ
stroke | / | h/ -> ħ
others | / | s/ -> ß
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A'" )
("A^" )
("A\"" )
("C." )
("C^" )
("C," )
("E`" )
("E'" )
("E^" )
("E\"" )
("G~" )
("G." )
("G^" )
("H/" )
("H^" )
("I." )
("I`" )
("I'" )
("I^" )
("I\"" )
("J^" )
("N~" )
("O`" )
("O'" )
("O^" )
("O\"" )
("S," )
("S^" )
("U`" )
("U'" )
("U^" )
("U\"" )
("U~" )
("Z." )
("a`" )
("a'" )
("a^" )
("a\"" )
("c." )
("c^" )
("c," )
("e`" )
("e'" )
("e^" )
("e\"" )
("g~" )
("g." )
("g^" )
("h/" )
("h^" )
("i." ?ı)
("i`" )
("i'" )
("i^" )
("i\"" )
("j^" )
("n~" )
("o`" )
("o'" )
("o^" )
("o\"" )
("s," )
("s/" )
("s^" )
("u`" )
("u'" )
("u^" )
("u\"" )
("u~" )
("z." )
("A``" ["A`"])
("A''" ["A'"])
("A^^" ["A^"])
("A\"\"" ["A\""])
("C.." ["C."])
("C^^" ["C^"])
("C,," ["C,"])
("E``" ["E`"])
("E''" ["E'"])
("E^^" ["E^"])
("E\"\"" ["E\""])
("G~~" ["G~"])
("G.." ["G."])
("G^^" ["G^"])
("H//" ["H/"])
("H^^" ["H^"])
("I.." ["I."])
("I``" ["I`"])
("I''" ["I'"])
("I^^" ["I^"])
("I\"\"" ["I\""])
("J^^" ["J^"])
("N~~" ["N~"])
("O``" ["O`"])
("O''" ["O'"])
("O^^" ["O^"])
("O\"\"" ["O\""])
("S,," ["S,"])
("S^^" ["S^"])
("U``" ["U`"])
("U''" ["U'"])
("U^^" ["U^"])
("U\"\"" ["U\""])
("U~~" ["U~"])
("Z.." ["Z."])
("a``" ["a`"])
("a''" ["a'"])
("a^^" ["a^"])
("a\"\"" ["a\""])
("c.." ["c."])
("c^^" ["c^"])
("c,," ["c,"])
("e``" ["e`"])
("e''" ["e'"])
("e^^" ["e^"])
("e\"\"" ["e\""])
("g~~" ["g~"])
("g.." ["g."])
("g^^" ["g^"])
("h//" ["h/"])
("h^^" ["h^"])
("i.." ["i."])
("i``" ["i`"])
("i''" ["i'"])
("i^^" ["i^"])
("i\"\"" ["i\""])
("j^^" ["j^"])
("n~~" ["n~"])
("o``" ["o`"])
("o''" ["o'"])
("o^^" ["o^"])
("o\"\"" ["o\""])
("s,," ["s,"])
("s//" ["s/"])
("s^^" ["s^"])
("u``" ["u`"])
("u''" ["u'"])
("u^^" ["u^"])
("u\"\"" ["u\""])
("u~~" ["u~"])
("z.." ["z."])
)
(quail-define-package
"latin-4-postfix" "Latin-4" "4<" t
"Latin-4 characters input method with postfix modifiers
| postfix | examples
------------+---------+----------
acute | \\=' | a\\=' -> á
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
ogonek | , | a, -> ą
macron | - | a- -> ā
tilde | ~ | a~ -> ã
caron | ~ | c~ -> č
dot | . | e. -> ė
cedilla | , | k, -> ķ g, -> ģ
stroke | / | d/ -> đ
nordic | / | a/ -> å e/ -> æ o/ -> ø
others | / | s/ -> ß n/ -> ŋ k/ -> ĸ
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A," )
("A-" )
("A'" )
("A^" )
("A~" )
("A\"" )
("A/" )
("C~" )
("D/" )
("E/" )
("E-" )
("E'" )
("E," )
("E\"" )
("E." )
("G," )
("I~" )
("I," )
("I'" )
("I^" )
("I-" )
("K," )
("L," )
("N/" )
("N," )
("O-" )
("O^" )
("O~" )
("O\"" )
("O/" )
("R," )
("S~" )
("T/" )
("U," )
("U'" )
("U^" )
("U\"" )
("U~" )
("U-" )
("Z~" )
("a," )
("a-" )
("a'" )
("a^" )
("a~" )
("a\"" )
("a/" )
("c~" )
("d/" )
("e/" )
("e-" )
("e'" )
("e," )
("e\"" )
("e." )
("g," )
("i~" )
("i," )
("i'" )
("i^" )
("i-" )
("k/" )
("k," )
("l," )
("n/" )
("n," )
("o-" )
("o^" )
("o~" )
("o\"" )
("o/" )
("r," )
("s/" )
("s~" )
("t/" )
("u," )
("u'" )
("u^" )
("u\"" )
("u~" )
("u-" )
("z~" )
("A,," ["A,"])
("A--" ["A-"])
("A''" ["A'"])
("A^^" ["A^"])
("A~~" ["A~"])
("A\"\"" ["A\""])
("A//" ["A/"])
("C~~" ["C~"])
("D//" ["D/"])
("E//" ["E/"])
("E--" ["E-"])
("E''" ["E'"])
("E,," ["E,"])
("E\"\"" ["E\""])
("E.." ["E."])
("G,," ["G,"])
("I~~" ["I~"])
("I,," ["I,"])
("I''" ["I'"])
("I^^" ["I^"])
("I--" ["I-"])
("K,," ["K,"])
("L,," ["L,"])
("N//" ["N/"])
("N,," ["N,"])
("O--" ["O-"])
("O^^" ["O^"])
("O~~" ["O~"])
("O\"\"" ["O\""])
("O//" ["O/"])
("R,," ["R,"])
("S~~" ["S~"])
("T//" ["T/"])
("U,," ["U,"])
("U''" ["U'"])
("U^^" ["U^"])
("U\"\"" ["U\""])
("U~~" ["U~"])
("U--" ["U-"])
("Z~~" ["Z~"])
("a,," ["a,"])
("a--" ["a-"])
("a''" ["a'"])
("a^^" ["a^"])
("a~~" ["a~"])
("a\"\"" ["a\""])
("a//" ["a/"])
("c~~" ["c~"])
("d//" ["d/"])
("e//" ["e/"])
("e--" ["e-"])
("e''" ["e'"])
("e,," ["e,"])
("e\"\"" ["e\""])
("e.." ["e."])
("g,," ["g,"])
("i~~" ["i~"])
("i,," ["i,"])
("i''" ["i'"])
("i^^" ["i^"])
("i--" ["i-"])
("k//" ["k/"])
("k,," ["k,"])
("l,," ["l,"])
("n//" ["n/"])
("n,," ["n,"])
("o--" ["o-"])
("o^^" ["o^"])
("o~~" ["o~"])
("o\"\"" ["o\""])
("o//" ["o/"])
("r,," ["r,"])
("s//" ["s/"])
("s~~" ["s~"])
("t//" ["t/"])
("u,," ["u,"])
("u''" ["u'"])
("u^^" ["u^"])
("u\"\"" ["u\""])
("u~~" ["u~"])
("u--" ["u-"])
("z~~" ["z~"])
)
;;; Hawaiian postfix 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-postfix" "Hawaiian Postfix" "H<" t
"Hawaiian characters input method with postfix modifiers
| postfix | examples
------------+---------+----------
ʻokina | \\=` | \\=` -> ʻ
kahakō | - | a- -> ā
Doubling the postfix separates the letter and postfix. 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
"latin-5-postfix" "Latin-5" "5<" t
"Latin-5 characters input method with postfix modifiers
| postfix | examples
------------+---------+----------
acute | \\=' | a\\=' -> á
grave | \\=` | a\\=` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
tilde | ~ | a~ -> ã
breve | ~ | g~ -> ğ
cedilla | , | c, -> ç
dot | . | i. -> ı I. -> İ
nordic | / | a/ -> å e/ -> æ o/ -> ø
others | / | s/ -> ß
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A'" )
("A/" )
("A\"" )
("A^" )
("A`" )
("A~" )
("C," )
("E'" )
("E/" )
("E\"" )
("E^" )
("E`" )
("G~" )
("I'" )
("I." )
("I\"" )
("I^" )
("I`" )
("N~" )
("O'" )
("O/" )
("O\"" )
("O^" )
("O`" )
("O~" )
("S," )
("U'" )
("U\"" )
("U^" )
("U`" )
("a'" )
("a/" )
("a\"" )
("a^" )
("a`" )
("a~" )
("c," )
("e'" )
("e/" )
("e\"" )
("e^" )
("e`" )
("g~" )
("i'" )
("i." ?ı)
("i\"" )
("i^" )
("i`" )
("n~" )
("o'" )
("o/" )
("o\"" )
("o^" )
("o`" )
("o~" )
("s," )
("s/" )
("u'" )
("u\"" )
("u^" )
("u`" )
("y\"" ?ÿ)
("A''" ["A'"])
("A//" ["A/"])
("A\"\"" ["A\""])
("A^^" ["A^"])
("A``" ["A`"])
("A~~" ["A~"])
("C,," ["C,"])
("E''" ["E'"])
("E//" ["E/"])
("E\"\"" ["E\""])
("E^^" ["E^"])
("E``" ["E`"])
("G~~" ["G~"])
("I''" ["I'"])
("I.." ["I."])
("I\"\"" ["I\""])
("I^^" ["I^"])
("I``" ["I`"])
("N~~" ["N~"])
("O''" ["O'"])
("O//" ["O/"])
("O\"\"" ["O\""])
("O^^" ["O^"])
("O``" ["O`"])
("O~~" ["O~"])
("S,," ["S,"])
("U''" ["U'"])
("U\"\"" ["U\""])
("U^^" ["U^"])
("U``" ["U`"])
("a''" ["a'"])
("a//" ["a/"])
("a\"\"" ["a\""])
("a^^" ["a^"])
("a``" ["a`"])
("a~~" ["a~"])
("c,," ["c,"])
("e''" ["e'"])
("e//" ["e/"])
("e\"\"" ["e\""])
("e^^" ["e^"])
("e``" ["e`"])
("g~~" ["g~"])
("i''" ["i'"])
("i.." ["i."])
("i\"\"" ["i\""])
("i^^" ["i^"])
("i``" ["i`"])
("n~~" ["n~"])
("o''" ["o'"])
("o//" ["o/"])
("o\"\"" ["o\""])
("o^^" ["o^"])
("o``" ["o`"])
("o~~" ["o~"])
("s,," ["s,"])
("s//" ["s/"])
("u''" ["u'"])
("u\"\"" ["u\""])
("u^^" ["u^"])
("u``" ["u`"])
("y\"\"" ["y\""])
)
(quail-define-package
"danish-postfix" "Latin-1" "DA<" t
"Danish input method (rule: AE -> Æ, OE -> Ø, AA -> Å, E\\=' -> É, E= -> €)
Doubling the postfix separates the letter and postfix: e.g. aee -> ae
"
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("AE" )
("ae" )
("OE" )
("oe" )
("AA" )
("aa" )
("E'" )
("E=" ?€)
("e'" )
("AEE" ["AE"])
("aee" ["ae"])
("OEE" ["OE"])
("oee" ["oe"])
("AAA" ["AA"])
("aaa" ["aa"])
("E''" ["E'"])
("E==" ["E="])
("e''" ["e'"])
)
(quail-define-package
"esperanto-postfix" "Latin-3" "EO<" t
"Esperanto input method with postfix modifiers
A following ^ or x will produce an accented character,
e.g. c^ -> ĉ gx -> ĝ u^ -> ŭ.
Doubling the postfix separates the letter and postfix,
e.g. a\\='\\=' -> a\\='.
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("Cx" )
("C^" )
("cx" )
("c^" )
("Gx" )
("G^" )
("gx" )
("g^" )
("Hx" )
("H^" )
("hx" )
("h^" )
("Jx" )
("J^" )
("jx" )
("j^" )
("Sx" )
("S^" )
("sx" )
("s^" )
("Ux" )
("U^" )
("ux" )
("u^" )
("Cxx" ["Cx"])
("C^^" ["C^"])
("cxx" ["cx"])
("c^^" ["c^"])
("Gxx" ["Gx"])
("G^^" ["G^"])
("gxx" ["gx"])
("g^^" ["g^"])
("Hxx" ["Hx"])
("H^^" ["H^"])
("hxx" ["hx"])
("h^^" ["h^"])
("Jxx" ["Jx"])
("J^^" ["J^"])
("jxx" ["jx"])
("j^^" ["j^"])
("Sxx" ["Sx"])
("S^^" ["S^"])
("sxx" ["sx"])
("s^^" ["s^"])
("Uxx" ["Ux"])
("U^^" ["U^"])
("uxx" ["ux"])
("u^^" ["u^"])
)
(quail-define-package
"finnish-postfix" "Latin-1" "FI<" t
"Finnish (Suomi) input method
AE -> Ä
AEE -> AE
OE -> Ö
OEE -> OE
E= -> €
"
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("AE" )
("ae" )
("OE" )
("oe" )
("E=" ?€)
("AEE" ["AE"])
("aee" ["ae"])
("OEE" ["OE"])
("oee" ["oe"])
("E==" ["E="])
)
(quail-define-package
"french-postfix" "French" "FR<" t
"French (Français) input method with postfix modifiers
\\=` pour grave, \\=' pour aigu, ^ pour circonflexe, et \" pour tréma.
Par exemple: a\\=` -> à e\\=' -> é.
Ç, «, et » sont produits par C,, <<, et >>.
En doublant la frappe des diacritiques, ils s'isoleront de la lettre.
Par exemple: e\\='\\=' -> e\\='
€ est produit par E=.
Œ est produit par O/."
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A^" )
("a`" )
("a^" )
("E`" )
("E'" )
("E^" )
("E\"" )
("E=" ?€)
("e`" )
("e'" )
("e^" )
("e\"" )
("I^" )
("I\"" )
("i^" )
("i\"" )
("O^" )
("O/" )
("o^" )
("o/" )
("U`" )
("U^" )
("U\"" )
("u`" )
("u^" )
("u\"" )
("C," )
("c," )
("<<" )
(">>" )
("A``" ["A`"])
("A^^" ["A^"])
("a``" ["a`"])
("a^^" ["a^"])
("E``" ["E`"])
("E''" ["E'"])
("E^^" ["E^"])
("E\"\"" ["E\""])
("E==" ["E="])
("e``" ["e`"])
("e''" ["e'"])
("e^^" ["e^"])
("e\"\"" ["e\""])
("I^^" ["I^"])
("I\"\"" ["I\""])
("i^^" ["i^"])
("i\"\"" ["i\""])
("O^^" ["O^"])
("O//" ["O/"])
("o^^" ["o^"])
("o//" ["o/"])
("U``" ["U`"])
("U^^" ["U^"])
("U\"\"" ["U\""])
("u``" ["u`"])
("u^^" ["u^"])
("u\"\"" ["u\""])
("C,," ["C,"])
("c,," ["c,"])
("<<<" ["<<"])
(">>>" [">>"])
)
(quail-define-package
"german-postfix" "German" "DE<" t
"German (Deutsch) input method
ae -> ä
aee -> ae
oe -> ö
oee -> oe
ue -> ü (not after a/e/q)
uee -> ue
sz -> ß
szz -> sz
E= -> €
"
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("AE" )
("ae" )
("OE" )
("oe" )
("UE" )
("ue" )
("sz" )
("SZ" ?ẞ)
("E=" ?€)
("AEE" ["AE"])
("aee" ["ae"])
("OEE" ["OE"])
("oee" ["oe"])
("UEE" ["UE"])
("uee" ["ue"])
("szz" ["sz"])
("SZZ" ["SZ"])
("ge" ["ge"])
("eue" ["eue"])
("Eue" ["Eue"])
("aue" ["aue"])
("Aue" ["Aue"])
("que" ["que"])
("Que" ["Que"])
("E==" ["E="])
)
(quail-define-package
"icelandic-postfix" "Latin-1" "IS<" t
"Icelandic (Íslenska) input method with postfix modifiers
A\\=' -> Á
E\\=' -> É
I\\=' -> Í
O\\=' -> Ó
U\\=' -> Ú
Y\\=' -> Ý
AE -> Æ
OE -> Ö
D/ -> Ð (eth)
T/ -> Þ (thorn)
E= -> €
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A'" )
("a'" )
("E'" )
("e'" )
("I'" )
("i'" )
("O'" )
("o'" )
("U'" )
("u'" )
("Y'" )
("y'" )
("AE" )
("ae" )
("OE" )
("oe" )
("D/" )
("d/" )
("T/" )
("t/" )
("A''" ["A'"])
("a''" ["a'"])
("E''" ["E'"])
("e''" ["e'"])
("I''" ["I'"])
("i''" ["i'"])
("O''" ["O'"])
("o''" ["o'"])
("U''" ["U'"])
("u''" ["u'"])
("Y''" ["Y'"])
("y''" ["y'"])
("AEE" ["AE"])
("aee" ["ae"])
("OEE" ["OE"])
("oee" ["oe"])
("D//" ["D/"])
("d//" ["d/"])
("T//" ["T/"])
("t//" ["t/"])
)
(quail-define-package
"italian-postfix" "Latin-1" "IT<" t
"Italian (Italiano) input method with postfix modifiers
a\\=` -> à A\\=` -> À e\\=' -> é << -> «
e\\=` -> è E\\=` -> È E\\=' -> É >> -> »
i\\=` -> ì I\\=` -> Ì E= -> € o_ -> º
o\\=` -> ò O\\=` -> Ò a_ -> ª
u\\=` -> ù U\\=` -> Ù
Typewriter-style italian characters.
Doubling the postfix separates the letter and postfix: e.g. a\\=`\\=` -> a\\=`
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("a`" )
("E`" )
("E'" )
("E=" ?€)
("e`" )
("e'" )
("I`" )
("i`" )
("O`" )
("o`" )
("U`" )
("u`" )
("<<" )
(">>" )
("o_" )
("a_" )
("A``" ["A`"])
("a``" ["a`"])
("E``" ["E`"])
("E''" ["E'"])
("E==" ["E="])
("e``" ["e`"])
("e''" ["e'"])
("I``" ["I`"])
("i``" ["i`"])
("O``" ["O`"])
("o``" ["o`"])
("U``" ["U`"])
("u``" ["u`"])
("<<<" ["<<"])
(">>>" [">>"])
("o__" ["o_"])
("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 with postfix modifiers.
The `f' key produces the nasal ŋ while unused letters `r' and `v' add
the combining dot above and macron diacritics respectively. This allows
production of all the consonants:
cv -> c̄ hr -> ḣ pv -> p̄ tv -> t̄
cr -> ċ kv -> k̄ pr -> ṗ tr -> ṫ
gr -> ġ kr -> k̇ sr -> ṡ zr -> ż
The glottal stop is produced by repeating the ' character. This orthography
does not use stress diacritics on vowels. Mit̄ak̄uyep̄i p̄ilamayayap̄ilo."
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("f" )
("''" ?)
;; 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á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
("''" ?))
(quail-define-package
"norwegian-postfix" "Latin-1" "NO<" t
"Norwegian (Norsk) input method (rule: AE->Æ OE->Ø AA->Å E\\='->É
E= -> €)
Doubling the postfix separates the letter and postfix: e.g. aee -> ae
"
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("AE" )
("ae" )
("OE" )
("oe" )
("AA" )
("aa" )
("E'" )
("E=" ?€)
("e'" )
("AEE" ["AE"])
("aee" ["ae"])
("OEE" ["OE"])
("oee" ["oe"])
("AAA" ["AA"])
("aaa" ["aa"])
("E''" ["E'"])
("E==" ["E="])
("e''" ["e'"])
)
(quail-define-package
"scandinavian-postfix" "Latin-1" "SC<" t
"Scandinavian input method with postfix modifiers
Supported languages are Swedish, Norwegian, Danish, and Finnish.
ae -> æ
oe -> ø
aa -> å
a\" -> ä
o\" -> ö
e\\=' -> é
E= -> €
Doubling the postfix separates the letter and postfix:
aee -> ae o\"\" -> o\" etc.
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("AE" )
("ae" )
("OE" )
("oe" )
("AA" )
("aa" )
("A\"" )
("a\"" )
("O\"" )
("o\"" )
("E'" )
("E=" ?€)
("e'" )
("AEE" ["AE"])
("aee" ["ae"])
("OEE" ["OE"])
("oee" ["oe"])
("AAA" ["AA"])
("aaa" ["aa"])
("A\"\"" ["A\""])
("a\"\"" ["a\""])
("O\"\"" ["O\""])
("o\"\"" ["o\""])
("E''" ["E'"])
("E==" ["E="])
("e''" ["e'"])
)
(quail-define-package
"spanish-postfix" "Spanish" "ES<" t
"Spanish (Español) input method with postfix modifiers
A\\=' -> Á
E\\=' -> É
E= -> €
I\\=' -> Í
O\\=' -> Ó
U\\=' -> Ú
N~ -> Ñ
!/ -> ¡
?/ -> ¿
Doubling the postfix separates the letter and postfix:
a\\='\\=' -> a\\=' n~~ -> n~, etc.
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A'" )
("a'" )
("E'" )
("E=" ?€)
("e'" )
("I'" )
("i'" )
("O'" )
("o'" )
("U'" )
("u'" )
("U\"" )
("u\"" )
("N~" )
("n~" )
("?/" ?¿)
("!/" )
("A''" ["A'"])
("a''" ["a'"])
("E''" ["E'"])
("E==" ["E="])
("e''" ["e'"])
("I''" ["I'"])
("i''" ["i'"])
("O''" ["O'"])
("o''" ["o'"])
("U''" ["U'"])
("u''" ["u'"])
("U\"" ["U\""])
("u\"" ["U\""])
("N~~" ["N~"])
("n~~" ["n~"])
("?//" ["?/"])
("!//" ["!/"])
)
(quail-define-package
"swedish-postfix" "Latin-1" "SV<" t
"Swedish (Svenska) input method
(rule: AA -> Å AE -> Ä OE -> Ö E\\=' -> É E= -> €)
Doubling the postfix separates the letter and postfix: e.g. aee -> ae
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("AA" )
("aa" )
("AE" )
("ae" )
("OE" )
("oe" )
("E'" )
("E=" ?€)
("e'" )
("AAA" ["AA"])
("aaa" ["aa"])
("AEE" ["AE"])
("aee" ["ae"])
("OEE" ["OE"])
("oee" ["oe"])
("E''" ["E'"])
("E==" ["E="])
("e''" ["e'"])
)
(quail-define-package
"turkish-postfix" "Turkish" "TR<" t
"Turkish (Türkçe) input method with postfix modifiers.
turkish-latin-3-postfix is an obsolete alias for turkish-postfix.
Note for I, ı, İ, i.
A^ -> Â
C, -> Ç
G^ -> Ğ
I -> I
i -> ı
I. -> İ
i. -> i
O\" -> Ö
S, -> Ş
U\" -> Ü
U^ -> Û
Doubling the postfix separates the letter and postfix: e.g. a^^ -> a^
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A^" )
("a^" )
("C," )
("c," )
("G^" )
("g^" )
("I." )
("i" ?ı)
("i." ?i)
("O\"" )
("o\"" )
("S," )
("s," )
("U\"" )
("u\"" )
("U^" )
("u^" )
("A^^" ["A^"])
("a^^" ["a^"])
("C,," ["C,"])
("c,," ["c,"])
("G^^" ["G^"])
("g^^" ["g^"])
("I.." ["I."])
("i" ["i"])
("i.." ["i."])
("O\"\"" ["O\""])
("o\"\"" ["o\""])
("S,," ["S,"])
("s,," ["s,"])
("U\"\"" ["U\""])
("u\"\"" ["u\""])
("U^^" ["U^"])
("u^^" ["u^"])
)
;; Backwards compatibility.
(push (cons "turkish-latin-3-postfix"
(cdr (assoc "turkish-postfix" quail-package-alist)))
quail-package-alist)
(quail-define-package
"british" "Latin-1" "£@" t
"British English input method with Latin-1 character £ (# -> £)"
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("#" [ ?#])
)
;; The following are various quail packages for those who think
;; the above are too awkward. Supported languages and their
;; package name are:
;;
;; French (frnch, azerty)
;; Icelandic (iclndc)
;; Denish (dnsh)
;; Norwegian (nrwgn)
;; Swedish (swdsh)
;; Finnish (fnnsh)
;; German (grmn)
;; Italian (itln)
;; Spanish (spnsh)
;; Dvorak (dvorak)
;; Colemak (colemak)
;;
;;; 92.12.15 created for Mule Ver.0.9.6 by Takahashi N. <ntakahas@etl.go.jp>
;;; 92.12.29 modified by Takahashi N. <ntakahas@etl.go.jp>
;;
(quail-define-package
"french-keyboard" "French" "FR@" t
"French (Français) input method simulating some French keyboard
<e dans l'o> n'est pas disponible." nil t t t t nil nil nil nil nil t)
;; ê1 é2 è3 ô4 î5 ï6 â7 û8 ù9 à0 -_ ë+ `~
;; qQ wW eE rR tT yY uU iI oO pP çÇ ü&
;; aA sS dD fF gG hH jJ kK lL ;: '" \|
;; zZ xX cC vV bB nN mM ,( .) !?
(quail-define-rules
("1" )
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" )
("0" )
("=" )
("[" )
("]" )
("!" ?1)
("@" ?2)
("#" ?3)
("$" ?4)
("%" ?5)
("^" ?6)
("&" ?7)
("*" ?8)
("(" ?9)
(")" ?0)
("{" )
("}" ?&)
("<" ?\()
(">" ?\))
)
;;
(quail-define-package
"french-azerty" "French" "AZ@" t
"French (Français) input method simulating Azerty keyboard
Similaire au clavier français de SUN.
préfixes: ^ pour circonflexe, ¨ pour tréma.
<e dans l'o> n'est pas disponible." nil t t t t nil nil nil nil nil t)
;; &1 é2 "3 '4 (5 §6 è7 !8 ç9 à0 )° -_ @~
;; aA zZ eE rR tT yY uU iI oO pP ^¨ `$
;; qQ sS dD fF gG hH jJ kK lL mM ù% *|
;; wW xX cC vV bB nN ,? ;. :/ =+
(quail-define-rules
("1" ?&)
("2" )
("3" ?\")
("4" ?')
("5" ?\()
("6" )
("7" )
("8" ?!)
("9" )
("0" )
("-" ?\))
("=" ?-)
("`" ?@)
("q" ?a)
("w" ?z)
("e" ?e)
("r" ?r)
("t" ?t)
("y" ?y)
("u" ?u)
("i" ?i)
("o" ?o)
("p" ?p)
("[" ?^)
("]" ?`)
("a" ?q)
("s" ?s)
("d" ?d)
("f" ?f)
("g" ?g)
("h" ?h)
("j" ?j)
("k" ?k)
("l" ?l)
(";" ?m)
("'" )
("\\" ?*)
("z" ?w)
("x" ?x)
("c" ?c)
("v" ?v)
("b" ?b)
("n" ?n)
("m" ?,)
("," ?\;)
("." ?:)
("/" ?=)
("!" ?1)
("@" ?2)
("#" ?3)
("$" ?4)
("%" ?5)
("^" ?6)
("&" ?7)
("*" ?8)
("(" ?9)
(")" ?0)
("_" )
("+" ?_)
("~" ?~)
("Q" ?A)
("W" ?Z)
("E" ?E)
("R" ?R)
("T" ?T)
("Y" ?Y)
("U" ?U)
("I" ?I)
("O" ?O)
("P" ?P)
("{" )
("}" ?$)
("A" ?Q)
("S" ?S)
("D" ?D)
("F" ?F)
("G" ?G)
("H" ?H)
("J" ?J)
("K" ?K)
("L" ?L)
(":" ?M)
("\"" ?%)
("|" ?|)
("Z" ?W)
("X" ?X)
("C" ?C)
("V" ?V)
("B" ?B)
("N" ?N)
("M" ??)
("<" ?.)
(">" ?/)
("?" ?+)
("[q" )
("[e" )
("[i" )
("[o" )
("[u" )
("{e" )
("{i" )
("{u" )
("[[" ?^)
("{{" )
)
;;
(quail-define-package
"icelandic-keyboard" "Latin-1" "IS@" t
"Icelandic (Íslenska) input method simulating some Icelandic keyboard
Dead accent is right to æ." nil t t t t nil nil nil nil nil t)
;; 1! 2" 3# 4$ 5% 6^ 7& 8* 9( 0) öÖ -_ `~
;; qQ wW eE rR tT yY uU iI oO pP ðÐ '?
;; aA sS dD fF gG hH jJ kK lL æÆ ´´ +*
;; zZ xX cC vV bB nN mM ,; .: þÞ
(quail-define-rules
("-" )
("=" ?-)
("[" )
("]" ?')
(";" )
("'" ?´)
("\\" ?+)
("/" )
("@" ?\")
("_" )
("+" ?_)
("{" )
("}" ??)
(":" )
("\"" ?´)
("|" ?*)
("<" ?\;)
(">" ?:)
("?" )
("'a" )
("'e" )
("'i" )
("'o" )
("'u" )
("'y" )
("'A" )
("'E" )
("'I" )
("'O" )
("'U" )
("'Y" )
("''" ?´)
)
;;
(quail-define-package
"danish-keyboard" "Latin-1" "DA@" t
"Danish input method simulating SUN Danish keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3# 4¤ 5% 6& 7/ 8( 9) 0= +? ½§ ~^
;; qQ wW eE rR tT yY uU iI oO pP åÅ éÉ
;; aA sS dD fF gG hH jJ kK lL æÆ øØ '*
;; zZ xX cC vV bB nN mM ,; .: -_
(quail-define-rules
("-" ?+)
("=" )
("`" ?~)
("[" )
("]" )
(";" )
("'" )
("\\" ?')
("/" ?-)
("@" ?\")
("$" )
("^" ?&)
("&" ?/)
("*" ?\()
("(" ?\))
(")" ?=)
("_" ??)
("+" )
("~" ?^)
("{" )
("}" )
(":" )
("\"" )
("|" ?*)
("<" ?\;)
(">" ?:)
("?" ?_)
)
;;
(quail-define-package
"norwegian-keyboard" "Latin-1" "NO@" t
"Norwegian (Norsk) input method simulating SUN Norwegian keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3# 4¤ 5% 6& 7/ 8( 9) 0= +? |§ ~^
;; qQ wW eE rR tT yY uU iI oO pP åÅ éÉ
;; aA sS dD fF gG hH jJ kK lL øØ æÆ '*
;; zZ xX cC vV bB nN mM ,; .: '?
(quail-define-rules
("-" ?+)
("=" ?|)
("`" ?~)
("[" )
("]" )
(";" )
("'" )
("\\" ?')
("/" ?-)
("!" ?!)
("@" ?\")
("$" )
("^" ?&)
("&" ?/)
("*" ?\()
("(" ?\))
(")" ?=)
("_" ??)
("+" )
("~" ?^)
("{" )
("}" )
(":" )
("\"" )
("|" ?*)
("<" ?\;)
(">" ?:)
("?" ?_)
)
;;
(quail-define-package
"swedish-keyboard" "Latin-1" "SV@" t
"Swedish (Svenska) input method simulating SUN Swedish/Finnish keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3# 4¤ 5% 6& 7/ 8( 9) 0= +? §½ ~^
;; qQ wW eE rR tT yY uU iI oO pP åÅ éÉ
;; aA sS dD fF gG hH jJ kK lL öÖ äÄ '*
;; zZ xX cC vV bB nN mM ,; .: -_
(quail-define-rules
("-" ?+)
("=" )
("`" ?~)
("[" )
("]" )
(";" )
("'" )
("\\" ?')
("/" ?-)
("@" ?\")
("$" )
("^" ?&)
("&" ?/)
("*" ?\()
("(" ?\))
(")" ?=)
("_" ??)
("+" )
("~" ?^)
("{" )
("}" )
(":" )
("\"" )
("|" ?*)
("<" ?\;)
(">" ?:)
("?" ?_)
)
;;
(quail-define-package
"finnish-keyboard" "Latin-1" "FI@" t
"Finnish input method simulating SUN Finnish/Swedish keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3# 4¤ 5% 6& 7/ 8( 9) 0= +? §½ ~^
;; qQ wW eE rR tT yY uU iI oO pP åÅ éÉ
;; aA sS dD fF gG hH jJ kK lL öÖ äÄ '*
;; zZ xX cC vV bB nN mM ,; .: -_
(quail-define-rules
("-" ?+)
("=" )
("`" ?~)
("[" )
("]" )
(";" )
("'" )
("\\" ?')
("/" ?-)
("@" ?\")
("$" )
("^" ?&)
("&" ?/)
("*" ?\()
("(" ?\))
(")" ?=)
("_" ??)
("+" )
("~" ?^)
("{" )
("}" )
(":" )
("\"" )
("|" ?*)
("<" ?\;)
(">" ?:)
("?" ?_)
)
;;
(quail-define-package
"german" "German" "DE@" t
"German (Deutsch) input method simulating SUN German keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3§ 4$ 5% 6& 7/ 8( 9) 0= ß? [{ ]}
;; qQ wW eE rR tT zZ uU iI oO pP üÜ +*
;; aA sS dD fF gG hH jJ kK lL öÖ äÄ #^
;; yY xX cC vV bB nN mM ,; .: -_
(quail-define-rules
("-" )
("=" ?\[)
("`" ?\])
("y" ?z)
("[" )
("]" ?+)
(";" )
("'" )
("\\" ?#)
("z" ?y)
("/" ?-)
("@" ?\")
("#" )
("^" ?&)
("&" ?/)
("*" ?\()
("Y" ?Z)
("(" ?\))
(")" ?=)
("_" ??)
("+" ?{)
("~" ?})
("{" )
("}" ?*)
(":" )
("\"" )
("|" ?^)
("Z" ?Y)
("<" ?\;)
(">" ?:)
("?" ?_)
)
;;
(quail-define-package
"italian-keyboard" "Latin-1" "IT@" t
"Italian (Italiano) input method simulating SUN Italian keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3£ 4$ 5% 6& 7/ 8( 9) 0= '? ì^ `~
;; qQ wW eE rR tT yY uU iI oO pP èé +*
;; aA sS dD fF gG hH jJ kK lL òç à° ù§
;; zZ xX cC vV bB nN mM ,; .: -_
(quail-define-rules
("-" ?')
("=" )
("[" )
("]" ?+)
(";" )
("'" )
("\\" )
("/" ?-)
("@" ?\")
("#" )
("^" ?&)
("&" ?/)
("*" ?\()
("(" ?\))
(")" ?=)
("_" ??)
("+" ?^)
("~" ?~)
("{" )
("}" ?*)
(":" )
("\"" )
("|" )
("<" ?\;)
(">" ?:)
("?" ?_)
)
;;
(quail-define-package
"spanish-keyboard" "Spanish" "ES@" t
"Spanish (Español) input method simulating SUN Spanish keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3· 4$ 5% 6& 7/ 8( 9) 0= '? ¡¿ íÍ
;; qQ wW eE rR tT yY uU iI oO pP éÉ óÓ
;; aA sS dD fF gG hH jJ kK lL ñÑ áÁ úÚ
;; zZ xX cC vV bB nN mM ,; .: -_
(quail-define-rules
("-" ?')
("=" )
("`" )
("[" )
("]" )
(";" )
("'" )
("\\" )
("/" ?-)
("@" ?\")
("#" )
("^" ?&)
("&" ?/)
("*" ?\()
("(" ?\))
(")" ?=)
("_" ??)
("+" ?¿)
("~" )
("{" )
("}" )
(":" )
("\"" )
("|" )
("<" ?\;)
(">" ?:)
("?" ?_)
)
;;
(quail-define-package
"english-dvorak" "English" "DV@" t
"English (ASCII) input method simulating Dvorak keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2@ 3# 4$ 5% 6^ 7& 8* 9( 0) [{ ]} `~
;; '" ,< .> pP yY fF gG cC rR lL /? =+
;; aA oO eE uU iI dD hH tT nN sS -_ \|
;; ;: qQ jJ kK xX bB mM wW vV zZ
(quail-define-rules
("-" ?\[)
("=" ?\])
("`" ?`)
("q" ?')
("w" ?,)
("e" ?.)
("r" ?p)
("t" ?y)
("y" ?f)
("u" ?g)
("i" ?c)
("o" ?r)
("p" ?l)
("[" ?/)
("]" ?=)
("a" ?a)
("s" ?o)
("d" ?e)
("f" ?u)
("g" ?i)
("h" ?d)
("j" ?h)
("k" ?t)
("l" ?n)
(";" ?s)
("'" ?-)
("\\" ?\\)
("z" ?\;)
("x" ?q)
("c" ?j)
("v" ?k)
("b" ?x)
("n" ?b)
("m" ?m)
("," ?w)
("." ?v)
("/" ?z)
("_" ?{)
("+" ?})
("~" ?~)
("Q" ?\")
("W" ?<)
("E" ?>)
("R" ?P)
("T" ?Y)
("Y" ?F)
("U" ?G)
("I" ?C)
("O" ?R)
("P" ?L)
("{" ??)
("}" ?+)
("A" ?A)
("S" ?O)
("D" ?E)
("F" ?U)
("G" ?I)
("H" ?D)
("J" ?H)
("K" ?T)
("L" ?N)
(":" ?S)
("\"" ?_)
("|" ?|)
("Z" ?:)
("X" ?Q)
("C" ?J)
("V" ?K)
("B" ?X)
("N" ?B)
("M" ?M)
("<" ?W)
(">" ?V)
("?" ?Z)
)
;;
(quail-define-package
"english-colemak" "English" "CM@" t
"English (ASCII) input method simulating Colemak keyboard"
nil t t t t nil nil nil nil nil t)
;; 1! 2@ 3# 4$ 5% 6^ 7& 8* 9( 0) -_ =+ `~
;; qQ wW fF pP gG jJ lL uU yY ;: [{ ]}
;; aA rR sS tT dD hH nN eE iI oO '" \|
;; zZ xX cC vV bB kK mM ,< .> /?
(quail-define-rules
("e" ?f)
("r" ?p)
("t" ?g)
("y" ?j)
("u" ?l)
("i" ?u)
("o" ?y)
("p" ?\;)
("s" ?r)
("d" ?s)
("f" ?t)
("g" ?d)
("j" ?n)
("k" ?e)
("l" ?i)
(";" ?o)
("n" ?k)
("E" ?F)
("R" ?P)
("T" ?G)
("Y" ?J)
("U" ?L)
("I" ?U)
("O" ?Y)
("P" ?\:)
("S" ?R)
("D" ?S)
("F" ?T)
("G" ?D)
("J" ?N)
("K" ?E)
("L" ?I)
(":" ?O)
("N" ?K)
)
(quail-define-package
"latin-postfix" "Latin" "L<" t
"Latin character input method with postfix modifiers.
This is the union of various input methods originally made for input
of characters from a single Latin-N charset.
| postfix | examples
------------+---------+----------
acute | \\=' | a\\=' -> á
grave | \\=` | a\\=` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
tilde | ~ | a~ -> ã
cedilla | , | c, -> ç
ogonek | , | a, -> ą
macron | - | a- -> ā g- -> ḡ e/- -> ǣ -- -> ¯
breve | ~ | a~ -> ă
caron | ~ | c~ -> č
dbl. acute | : | o: -> ő
ring | . | u. -> ů
dot | . | z. -> ż
stroke | / | d/ -> đ
nordic | / | d/ -> ð t/ -> þ a/ -> å e/ -> æ o/ -> ø
symbols | ^ | r^ -> ® t^ -> ™
super | ^ | 0^ -> ⁰ 1^ -> ¹ +^ -> ⁺ -^ -> ⁻
subscript | _ | 0_ -> ₀ 1_ -> ₁ +_ -> ₊ -_ -> ₋
others | / | s/ -> ß ?/ -> ¿ !/ -> ¡ // -> ° o/ -> œ
| / | 2/ -> ½ 3/ -> ¾ 4/ -> ?¼
| [ | \\='[ -> \"[ -> “
| ] | \\='] -> \"] -> ”
| , | \\=', -> \", -> „
| various | << -> « >> -> » o_ -> º a_ -> ª
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
" nil t nil nil nil nil nil nil nil nil t)
;; Fixme: ¦ § ¨ © ¬ ± ´ µ ¶ · ¸ × ÷
(quail-define-rules
("'[" ?)
("']" ?)
("\"[" ?“)
("\"]" ?”)
("\"," ?„)
("'," ?)
("2/" )
("3/" )
("4/" )
("0^" ?⁰)
("1^" )
("2^" )
("3^" )
("4^" ?⁴)
("5^" ?⁵)
("6^" ?⁶)
("7^" ?⁷)
("8^" ?⁸)
("9^" ?⁹)
("+^" ?⁺)
("-^" ?⁻)
("0_" ?₀)
("1_" ?₁)
("2_" ?₂)
("3_" ?₃)
("4_" ?₄)
("5_" ?₅)
("6_" ?₆)
("7_" ?₇)
("8_" ?₈)
("9_" ?₉)
("+_" ?₊)
("-_" ?₋)
(" _" ? )
("!/" )
("//" )
("<<" ?\«)
(">>" ?\»)
("<~" ?\)
(">~" ?\)
("?/" ?¿)
("$/" )
("$/" )
("A'" )
("A," )
("A-" )
("A/" )
("A\"" )
("A^" )
("A`" )
("A~" )
("A~" )
("C'" )
("C," )
("C." )
("C^" )
("C~" )
("D/" )
("D/" )
("D~" )
("E'" )
("E," )
("E-" )
("E." )
("E/" )
("E/-" )
("E\"" )
("E^" )
("E`" )
("E~" )
("G," )
("G-" ?Ḡ)
("G." )
("G^" )
("G~" )
("H/" )
("H^" )
("I'" )
("I," )
("I-" )
("I." )
("I\"" )
("I^" )
("I`" )
("I~" )
("J^" )
("K," )
("L'" )
("L," )
("L/" )
("L~" )
("N'" )
("N," )
("N/" )
("N~" )
("N~" )
("O'" )
("O-" )
("O/" )
("O/" )
("O:" )
("O\"" )
("O^" )
("O`" )
("O~" )
("R'" )
("R," )
("R~" )
("S'" )
("S," )
("S/" ?ẞ)
("S^" )
("S~" )
("T," )
("T/" )
("T/" )
("T~" )
("U'" )
("U," )
("U-" )
("U." )
("U:" )
("U\"" )
("U^" )
("U`" )
("U~" )
("U~" )
("Y'" )
("Y\"" )
("Y=" )
("Z'" )
("Z." )
("Z~" )
("a'" )
("a," )
("a-" )
("a/" )
("a\"" )
("a^" )
("a_" )
("a`" )
("a~" )
("a~" )
("c'" )
("c," )
("c." )
("c^" )
("c~" )
("c/" )
("d/" )
("d/" )
("d~" )
("e'" )
("e," )
("e-" )
("e." )
("e/" )
("e/-" )
("e\"" )
("e^" )
("e`" )
("e~" )
("e=" ?€)
("g," )
("g-" ?ḡ)
("g." )
("g^" )
("g~" )
("h/" )
("h^" )
("i'" )
("i," )
("i-" )
("i." ?ı)
("i\"" )
("i^" )
("i`" )
("i~" )
("j^" )
("k," )
("k/" )
("l'" )
("l," )
("l/" )
("l~" )
("n'" )
("n," )
("n/" )
("n~" )
("n~" )
("o'" )
("o-" )
("o/" )
("o/" )
("o:" )
("o\"" )
("o^" )
("o_" )
("o`" )
("o~" )
("r'" )
("r," )
("r^" )
("r~" )
("s'" )
("s," )
("s/" )
("s^" )
("s~" )
("t," )
("t/" )
("t/" )
("t^" ?™)
("t~" )
("u'" )
("u," )
("u-" )
("u." )
("u:" )
("u\"" )
("u^" )
("u`" )
("u~" )
("u~" )
("y'" )
("y\"" ?ÿ)
("z'" )
("z." )
("z~" )
("--" )
("'[[" ["'["])
("']]" ["']"])
("\"[[" ["\"["])
("\"]]" ["\"]"])
("\",," ["\","])
("',," ["',"])
("2//" ["2/"])
("3//" ["3/"])
("4//" ["4/"])
("0^^" ["0^"])
("1^^" ["1^"])
("2^^" ["2^"])
("3^^" ["3^"])
("4^^" ["4^"])
("5^^" ["5^"])
("6^^" ["6^"])
("7^^" ["7^"])
("8^^" ["8^"])
("9^^" ["9^"])
("+^^" ["+^"])
("-^^" ["-^"])
("0__" ["0_"])
("1__" ["1_"])
("2__" ["2_"])
("3__" ["3_"])
("4__" ["4_"])
("5__" ["5_"])
("6__" ["6_"])
("7__" ["7_"])
("8__" ["8_"])
("9__" ["9_"])
("+__" ["+_"])
("-__" ["-_"])
(" __" [" _"])
("!//" ["!/"])
("///" ["//"])
("<<<" ["<<"])
(">>>" [">>"])
("<~~" ["<~"])
(">~~" [">~"])
("?//" ["?/"])
("$//" ["$/"])
("A''" ["A'"])
("A,," ["A,"])
("A--" ["A-"])
("A//" ["A/"])
("A\"\"" ["A\""])
("A^^" ["A^"])
("A``" ["A`"])
("A~~" ["A~"])
("C''" ["C'"])
("C,," ["C,"])
("C.." ["C."])
("C^^" ["C^"])
("C~~" ["C~"])
("D//" ["D/"])
("D~~" ["D~"])
("E''" ["E'"])
("E,," ["E,"])
("E--" ["E-"])
("E.." ["E."])
("E//" ["E/"])
("E/--" ["E/-"])
("E\"\"" ["E\""])
("E^^" ["E^"])
("E``" ["E`"])
("E~~" ["E~"])
("G,," ["G,"])
("G--" ["G-"])
("G.." ["G."])
("G^^" ["G^"])
("G~~" ["G~"])
("H//" ["H/"])
("H^^" ["H^"])
("I''" ["I'"])
("I,," ["I,"])
("I--" ["I-"])
("I.." ["I."])
("I\"\"" ["I\""])
("I^^" ["I^"])
("I``" ["I`"])
("I~~" ["I~"])
("J^^" ["J^"])
("K,," ["K,"])
("L''" ["L'"])
("L,," ["L,"])
("L//" ["L/"])
("L~~" ["L~"])
("N''" ["N'"])
("N,," ["N,"])
("N//" ["N/"])
("N~~" ["N~"])
("O''" ["O'"])
("O--" ["O-"])
("O//" ["O/"])
("O::" ["O:"])
("O\"\"" ["O\""])
("O^^" ["O^"])
("O``" ["O`"])
("O~~" ["O~"])
("R''" ["R'"])
("R,," ["R,"])
("R~~" ["R~"])
("S''" ["S'"])
("S,," ["S,"])
("S^^" ["S^"])
("S~~" ["S~"])
("T,," ["T,"])
("T//" ["T/"])
("T~~" ["T~"])
("U''" ["U'"])
("U,," ["U,"])
("U--" ["U-"])
("U.." ["U."])
("U::" ["U:"])
("U\"\"" ["U\""])
("U^^" ["U^"])
("U``" ["U`"])
("U~~" ["U~"])
("Y''" ["Y'"])
("Y\"\"" ["Y\""])
("Y==" ["Y="])
("Z''" ["Z'"])
("Z.." ["Z."])
("Z~~" ["Z~"])
("a''" ["a'"])
("a,," ["a,"])
("a--" ["a-"])
("a//" ["a/"])
("a\"\"" ["a\""])
("a^^" ["a^"])
("a__" ["a_"])
("a``" ["a`"])
("a~~" ["a~"])
("c''" ["c'"])
("c,," ["c,"])
("c.." ["c."])
("c^^" ["c^"])
("c~~" ["c~"])
("c//" ["c/"])
("d//" ["d/"])
("d~~" ["d~"])
("e''" ["e'"])
("e,," ["e,"])
("e--" ["e-"])
("e.." ["e."])
("e//" ["e/"])
("e/--" ["e/-"])
("e\"\"" ["e\""])
("e^^" ["e^"])
("e``" ["e`"])
("e==" ["e="])
("e~~" ["e~"])
("g,," ["g,"])
("g--" ["g-"])
("g.." ["g."])
("g^^" ["g^"])
("g~~" ["g~"])
("h//" ["h/"])
("h^^" ["h^"])
("i''" ["i'"])
("i,," ["i,"])
("i--" ["i-"])
("i.." ["i."])
("i\"\"" ["i\""])
("i^^" ["i^"])
("i``" ["i`"])
("i~~" ["i~"])
("j^^" ["j^"])
("k,," ["k,"])
("k//" ["k/"])
("l''" ["l'"])
("l,," ["l,"])
("l//" ["l/"])
("l~~" ["l~"])
("n''" ["n'"])
("n,," ["n,"])
("n//" ["n/"])
("n~~" ["n~"])
("o''" ["o'"])
("o--" ["o-"])
("o//" ["o/"])
("o::" ["o:"])
("o\"\"" ["o\""])
("o^^" ["o^"])
("o__" ["o_"])
("o``" ["o`"])
("o~~" ["o~"])
("r''" ["r'"])
("r,," ["r,"])
("r~~" ["r~"])
("s''" ["s'"])
("s,," ["s,"])
("s//" ["s/"])
("s^^" ["s^"])
("s~~" ["s~"])
("t,," ["t,"])
("t//" ["t/"])
("t~~" ["t~"])
("u''" ["u'"])
("u,," ["u,"])
("u--" ["u-"])
("u.." ["u."])
("u::" ["u:"])
("u\"\"" ["u\""])
("u^^" ["u^"])
("u``" ["u`"])
("u~~" ["u~"])
("y''" ["y'"])
("y\"\"" ["y\""])
("z''" ["z'"])
("z.." ["z."])
("z~~" ["z~"])
("---" ["--"])
)
;; Derived from Slovenian.kmap from Yudit
;; attributed as: 2001-11-11 Roman Maurer <roman.maurer@amis.net>
(quail-define-package
"slovenian" "Slovenian" "Sl" t
"Slovenian postfix input."
nil t t t nil nil nil nil nil nil t)
(quail-define-rules
("C<" )
("C'" )
("D;" )
("S<" )
("Z<" )
("c<" )
("c'" )
("d;" )
("s<" )
("z<" ))
;;; latin-post.el ends here