emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] input-method: french "e dans l'o"


From: jean haidouk
Subject: [PATCH] input-method: french "e dans l'o"
Date: Fri, 06 Sep 2013 08:31:55 +0200

Hi,

Here is a patch to add support for the french Œ.
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  <address@hidden>
+
+       * quail/latin-pre.el ("french-prefix"):
+       * quail/latin-post.el ("french-postfix"):
+       * quail/latin-alt.el ("french-alt-postfix"): Add U+0152 `œ'.
+
 2013-08-28  Paul Eggert  <address@hidden>
 
        * 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` -> à   e' -> é.
 En doublant la frappe des diacritiques, ils s'isoleront de la lettre.
 Par exemple: e'' -> e'
 
-<e dans l'o> n'est pas disponible."
+Πest produit par O/."
  nil t nil nil nil nil nil nil nil nil t)
 
 (quail-define-rules
@@ -959,7 +959,9 @@ Par exemple: e'' -> e'
  ("i^" ?î)
  ("i\"" ?ï)
  ("O^" ?Ô)
+ ("O/" ?Œ)
  ("o^" ?ô)
+ ("o/" ?œ)
  ("U`" ?Ù)
  ("U^" ?Û)
  ("U\"" ?Ü)
@@ -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 postfix: 
e.g. a'' -> a'
  ("O'" ?Ó)
  ("O-" ?Ō)
  ("O/" ?Ø)
+ ("O/" ?Œ)
  ("O:" ?Ő)
  ("O\"" ?Ö)
  ("O^" ?Ô)
@@ -1515,6 +1520,7 @@ Doubling the postfix separates the letter and postfix: 
e.g. a'' -> a'
  ("o'" ?ó)
  ("o-" ?ō)
  ("o/" ?ø)
+ ("o/" ?œ)
  ("o:" ?ő)
  ("o\"" ?ö)
  ("o^" ?ô)
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` -> à   e' -> é.
 En doublant la frappe des diacritiques, ils s'isoleront de la lettre.
 Par exemple: e'' -> e'
 
-<e dans l'o> n'est pas disponible."
+Πest produit par O/."
  nil t nil nil nil nil nil nil nil nil t)
 
 (quail-define-rules
@@ -1034,7 +1034,9 @@ Par exemple: e'' -> e'
  ("i^" ?î)
  ("i\"" ?ï)
  ("O^" ?Ô)
+ ("O/" ?Œ)
  ("o^" ?ô)
+ ("o/" ?œ)
  ("U`" ?Ù)
  ("U^" ?Û)
  ("U\"" ?Ü)
@@ -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. -> ż
   stroke     |    /    | d/ -> đ
   nordic     |    /    | d/ -> ð   t/ -> þ   a/ -> å   e/ -> æ   o/ -> ø
-  others     |    /    | s/ -> ß   ?/ -> ¿   !/ -> ¡   // -> °
+  others     |    /    | s/ -> ß   ?/ -> ¿   !/ -> ¡   // -> °   o/ -> œ
              | various | << -> «   >> -> »   o_ -> º   a_ -> ª
 
 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 -> ï
    cedilla   | ~ or , | ~c -> ç   ,c -> ç
    symbol    |   ~    | ~> -> »   ~< -> «
+    misc     |   /    | /o -> œ
 " nil t nil nil nil nil nil nil nil nil t)
 
 (quail-define-rules
@@ -295,6 +296,9 @@ Key translation rules are:
  ("\"e" ?ë)
  ("\"i" ?ï)
  ("\" " ?\")
+ ("/o" ?œ)
+ ("/O" ?Œ)
+ ("/ " ?/)
  ("~<" ?\«)
  ("~>" ?\»)
  ("~C" ?Ç)
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]