From: Richard Zidlicky <rz@linux-m68k.org>
To: emacs-devel@gnu.org
Subject: RFC czech-translit input method
Date: Tue, 19 Jan 2010 19:33:16 +0100 [thread overview]
Message-ID: <20100119183316.GB6131@linux-m68k.org> (raw)
Hello,
I have recently submitted this to xemacs-devel and hope some emacs user may
find it useful as well.
The main motivation was to be able to easilly type czech with eg german keyborads
- on those most of the keys typically used for composing/pre/postfix are only available
shifted or alt-grd. With this input method only the basic character keys are used,
found inspiration for this in some cyrilic-translit and various iso-postfix packages.
It is available under any kind of GPL license.
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" ?í)
("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" ?Ě)
)
next reply other threads:[~2010-01-19 18:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 18:33 Richard Zidlicky [this message]
2010-01-20 10:55 ` RFC czech-translit input method Richard Zidlicky
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=20100119183316.GB6131@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.