From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jean haidouk Newsgroups: gmane.emacs.devel Subject: [PATCH] input-method: french "e dans l'o" Date: Fri, 06 Sep 2013 08:31:55 +0200 Message-ID: <56541378449115@web23m.yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1378452447 22540 80.91.229.3 (6 Sep 2013 07:27:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2013 07:27:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 06 09:27:28 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHqRz-00014y-WC for ged-emacs-devel@m.gmane.org; Fri, 06 Sep 2013 09:27:28 +0200 Original-Received: from localhost ([::1]:35564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHqRz-0000ON-JF for ged-emacs-devel@m.gmane.org; Fri, 06 Sep 2013 03:27:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHpaQ-0005bn-3c for emacs-devel@gnu.org; Fri, 06 Sep 2013 02:32:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHpaK-00081Q-Rf for emacs-devel@gnu.org; Fri, 06 Sep 2013 02:32:06 -0400 Original-Received: from forward9.mail.yandex.net ([77.88.61.48]:36985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHpaK-000815-Ce for emacs-devel@gnu.org; Fri, 06 Sep 2013 02:32:00 -0400 Original-Received: from web23m.yandex.ru (web23m.yandex.ru [37.140.138.114]) by forward9.mail.yandex.net (Yandex) with ESMTP id 3CEC9CE080F for ; Fri, 6 Sep 2013 10:31:55 +0400 (MSK) Original-Received: from 127.0.0.1 (localhost [127.0.0.1]) by web23m.yandex.ru (Yandex) with ESMTP id B683725A0625; Fri, 6 Sep 2013 10:31:55 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1378449115; bh=NyfBK/e5mHCb+ByXeu3pY6yLBwCLxsnZsje1DBSaZeo=; h=From:To:Subject:Date; b=On7ILFCrEFMIv5r/RZy2hHs1irT+XXyuZKn4VPbuxdKziA4foiGw+DOmtkYnLuUVE EabRuAEYfCgmaK6rUgbsCPk3XV3gQnaVc+Vy5VjhH93FSL9UEIX/E0BrnLjXHjZLo5 p9CcUPVJcAaYY351JAZcBKrm384fzXOQ3woSpVZ4= Original-Received: from sat78-12-83-157-59-146.fbx.proxad.net (sat78-12-83-157-59-146.fbx.proxad.net [83.157.59.146]) by web23m.yandex.ru with HTTP; Fri, 06 Sep 2013 10:31:55 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 77.88.61.48 X-Mailman-Approved-At: Fri, 06 Sep 2013 03:27:25 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163210 Archived-At: Hi, Here is a patch to add support for the french =C5=92. http://en.wikipedia.org/wiki/%C5%92#Encodings Thanks. --- leim/ChangeLog | 6 ++++++ leim/quail/latin-alt.el | 8 +++++++- leim/quail/latin-post.el | 8 ++++++-- leim/quail/latin-pre.el | 4 ++++ 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/leim/ChangeLog b/leim/ChangeLog index 3e25c0e..c85a4d5 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog @@ -1,3 +1,9 @@ +2013-09-05 Jean Haidouk + + * quail/latin-pre.el ("french-prefix"): + * quail/latin-post.el ("french-postfix"): + * quail/latin-alt.el ("french-alt-postfix"): Add U+0152 `=C5=93'. + 2013-08-28 Paul Eggert =20 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, diff --git a/leim/quail/latin-alt.el b/leim/quail/latin-alt.el index fdfc89f..6841947 100644 --- a/leim/quail/latin-alt.el +++ b/leim/quail/latin-alt.el @@ -938,7 +938,7 @@ Par exemple: a` -> =C3=A0 e' -> =C3=A9. En doublant la frappe des diacritiques, ils s'isoleront de la lettre. Par exemple: e'' -> e' =20 - n'est pas disponible." +=C5=92 est produit par O/." nil t nil nil nil nil nil nil nil nil t) =20 (quail-define-rules @@ -959,7 +959,9 @@ Par exemple: e'' -> e' ("i^" ?=C3=AE) ("i\"" ?=C3=AF) ("O^" ?=C3=94) + ("O/" ?=C5=92) ("o^" ?=C3=B4) + ("o/" ?=C5=93) ("U`" ?=C3=99) ("U^" ?=C3=9B) ("U\"" ?=C3=9C) @@ -988,8 +990,9 @@ Par exemple: e'' -> e' ("i^^" ["i^"]) ("i\"\"" ["i\""]) ("O^^" ["O^"]) + ("O//" ["O/"]) ("o^^" ["o^"]) + ("o//" ["o/"]) ("U``" ["U`"]) ("U^^" ["U^"]) ("U\"\"" ["U\""]) @@ -1423,6 +1427,7 @@ Doubling the postfix separates the letter and postf= ix: e.g. a'' -> a' ("O'" ?=C3=93) ("O-" ?=C5=8C) ("O/" ?=C3=98) + ("O/" ?=C5=92) ("O:" ?=C5=90) ("O\"" ?=C3=96) ("O^" ?=C3=94) @@ -1515,6 +1520,7 @@ Doubling the postfix separates the letter and postf= ix: e.g. a'' -> a' ("o'" ?=C3=B3) ("o-" ?=C5=8D) ("o/" ?=C3=B8) + ("o/" ?=C5=93) ("o:" ?=C5=91) ("o\"" ?=C3=B6) ("o^" ?=C3=B4) diff --git a/leim/quail/latin-post.el b/leim/quail/latin-post.el index 67cd064..7fa3d88 100644 --- a/leim/quail/latin-post.el +++ b/leim/quail/latin-post.el @@ -1013,7 +1013,7 @@ Par exemple: a` -> =C3=A0 e' -> =C3=A9. En doublant la frappe des diacritiques, ils s'isoleront de la lettre. Par exemple: e'' -> e' =20 - n'est pas disponible." +=C5=92 est produit par O/." nil t nil nil nil nil nil nil nil nil t) =20 (quail-define-rules @@ -1034,7 +1034,9 @@ Par exemple: e'' -> e' ("i^" ?=C3=AE) ("i\"" ?=C3=AF) ("O^" ?=C3=94) + ("O/" ?=C5=92) ("o^" ?=C3=B4) + ("o/" ?=C5=93) ("U`" ?=C3=99) ("U^" ?=C3=9B) ("U\"" ?=C3=9C) @@ -1063,7 +1065,9 @@ Par exemple: e'' -> e' ("i^^" ["i^"]) ("i\"\"" ["i\""]) ("O^^" ["O^"]) + ("O//" ["O/"]) ("o^^" ["o^"]) + ("o//" ["o/"]) ("U``" ["U`"]) ("U^^" ["U^"]) ("U\"\"" ["U\""]) @@ -2099,7 +2103,7 @@ of characters from a single Latin-N charset. dot | . | z. -> =C5=BC stroke | / | d/ -> =C4=91 nordic | / | d/ -> =C3=B0 t/ -> =C3=BE a/ -> =C3=A5 e/= -> =C3=A6 o/ -> =C3=B8 - others | / | s/ -> =C3=9F ?/ -> =C2=BF !/ -> =C2=A1 //= -> =C2=B0 + others | / | s/ -> =C3=9F ?/ -> =C2=BF !/ -> =C2=A1 //= -> =C2=B0 o/ -> =C5=93 | various | << -> =C2=AB >> -> =C2=BB o_ -> =C2=BA a_= -> =C2=AA =20 Doubling the postfix separates the letter and postfix: e.g. a'' -> a' diff --git a/leim/quail/latin-pre.el b/leim/quail/latin-pre.el index 4b4179e..c6085f3 100644 --- a/leim/quail/latin-pre.el +++ b/leim/quail/latin-pre.el @@ -264,6 +264,7 @@ Key translation rules are: diaeresis | \" | \"i -> =C3=AF cedilla | ~ or , | ~c -> =C3=A7 ,c -> =C3=A7 symbol | ~ | ~> -> =C2=BB ~< -> =C2=AB + misc | / | /o -> =C5=93 " nil t nil nil nil nil nil nil nil nil t) =20 (quail-define-rules @@ -295,6 +296,9 @@ Key translation rules are: ("\"e" ?=C3=AB) ("\"i" ?=C3=AF) ("\" " ?\") + ("/o" ?=C5=93) + ("/O" ?=C5=92) + ("/ " ?/) ("~<" ?\=C2=AB) ("~>" ?\=C2=BB) ("~C" ?=C3=87) --=20