From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Zidlicky Newsgroups: gmane.emacs.devel Subject: Re: RFC czech-translit input method Date: Wed, 20 Jan 2010 11:55:12 +0100 Message-ID: <20100120105512.GB21224@linux-m68k.org> References: <20100119183316.GB6131@linux-m68k.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1264011662 1453 80.91.229.12 (20 Jan 2010 18:21:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2010 18:21:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 20 19:20:54 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NXfAj-0006MK-GK for ged-emacs-devel@m.gmane.org; Wed, 20 Jan 2010 19:20:53 +0100 Original-Received: from localhost ([127.0.0.1]:38070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXfAk-0003Pw-4Q for ged-emacs-devel@m.gmane.org; Wed, 20 Jan 2010 13:20:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXYCM-00022z-7B for emacs-devel@gnu.org; Wed, 20 Jan 2010 05:54:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXYCF-0001zC-7r for emacs-devel@gnu.org; Wed, 20 Jan 2010 05:54:03 -0500 Original-Received: from [199.232.76.173] (port=59150 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXYCF-0001z2-22 for emacs-devel@gnu.org; Wed, 20 Jan 2010 05:53:59 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.153]:29877) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXYCE-0007ed-GS for emacs-devel@gnu.org; Wed, 20 Jan 2010 05:53:58 -0500 Original-Received: by fg-out-1718.google.com with SMTP id 22so116950fge.12 for ; Wed, 20 Jan 2010 02:53:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :subject:message-id:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=77hTr6w7MWljjBmUgXNc8Vffwyi6idnYhGbhLLd6riM=; b=o7WrlUDMyMP0MStKzKw/Ac3MP3aCPii31pDrS9DjK61Wvx/moXrU10T5s7n0mmVC5x ySwRc3t0C4fskEOgcscW/GRgL49PWoKwBcE8IqWWqctV+Nk1STyfDVPA83PUDLJ6K5k3 olMvBzcfkRvdp4r+9/JJCm3RZHzS/OQaRoZpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=qLtA+B/Ih7QEVOcQZUz6znjdLY3dJA62Cw35X9nsUcvLBG+T1RM/DTscKsVwsfLdy7 r61/F4vyjpav3Rh/Muzoy9Y6iw2yamVNPG/XcGwN9eDMguHldJI0TeuYDc3AXAI61OUx 8tFDSPknLexwRMMprCavZJDAixieaownrY7M0= Original-Received: by 10.87.66.11 with SMTP id t11mr11943182fgk.18.1263984837347; Wed, 20 Jan 2010 02:53:57 -0800 (PST) Original-Received: from localhost.localdomain (184.121.113.82.net.de.o2.com [82.113.121.184]) by mx.google.com with ESMTPS id e11sm18849819fga.9.2010.01.20.02.53.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 02:53:56 -0800 (PST) Original-Received: from rz by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1NXYDQ-0005ne-42 for emacs-devel@gnu.org; Wed, 20 Jan 2010 11:55:12 +0100 Content-Disposition: inline In-Reply-To: <20100119183316.GB6131@linux-m68k.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 20 Jan 2010 12:59:03 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120265 Archived-At: 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" ?Ě) )