From: Richard Zidlicky <rz@linux-m68k.org>
To: emacs-devel@gnu.org
Subject: Re: RFC czech-translit input method
Date: Wed, 20 Jan 2010 11:55:12 +0100 [thread overview]
Message-ID: <20100120105512.GB21224@linux-m68k.org> (raw)
In-Reply-To: <20100119183316.GB6131@linux-m68k.org>
Hi,
sorry, previous post was missing one rule - ("ie" ?ě)
Richard
;; enter Czech accented keys by combination of ASCII letters.
;; Works well because the used double letter combinations are very rare
;; - with the exception of "ie" which is frequent in words of foreign origin.
;; To deal with foreign words and names it is essential to have toggle-input-method
;; bound to a very convenient key
(quail-define-package
"czech-translit" "Czech" "cz-tr" t ; name, language, title guidance
"Intuitively transliterated keyboard layout for Czech:
aa -> á, ee -> é, AA -> Á ...
cc -> č, rr -> ř , tt -> ť ...
nj -> ň, dj -> ď
ie -> ě
uu -> ú
uo -> ů
exceptions and strange cases:
iee -> ié
iie -> ie
eee -> ee
other
iii -> i
"
nil t ; translation-keys, forget-last-selection
t t ; deterministic, kbd-translate
t nil ; show-layout, create-decode-map
nil nil ; maximum-shortest (non-greedy), overlay-plist
nil nil ; update-translation-function, conversion-keys
t ; simple
)
(quail-define-rules
("aa" ?á)
("ee" ?é)
("eee" ["ee"])
("ii" ?í)
("ie" ?ě)
("iee" ["ié"])
("iie" ["ie"])
("iii" ?i)
("oo" ?ó)
("uu" ?ú)
("uo" ?ů)
("yy" ?ý)
("AA" ?Á)
("EE" ?É)
("II" ?Í)
("III" ?Í)
("OO" ?Ó)
("UU" ?Ú)
("YY" ?Ý)
("cc" ?č)
("dj" ?ď)
("nj" ?ň)
("rr" ?ř)
("ss" ?š)
("tt" ?ť)
("zz" ?ž)
("CC" ?Č)
("DJ" ?Ď)
("NJ" ?Ň)
("RR" ?Ř)
("SS" ?Š)
("TT" ?Ť)
("ZZ" ?Ž)
("IE" ?Ě)
)
prev parent reply other threads:[~2010-01-20 10:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 18:33 RFC czech-translit input method Richard Zidlicky
2010-01-20 10:55 ` Richard Zidlicky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100120105512.GB21224@linux-m68k.org \
--to=rz@linux-m68k.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.