all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jean haidouk <haidouk@yandex.com>
To: emacs-devel@gnu.org
Subject: [PATCH] input-method: french "e dans l'o"
Date: Fri, 06 Sep 2013 08:31:55 +0200	[thread overview]
Message-ID: <56541378449115@web23m.yandex.ru> (raw)

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  <haidouk@yandex.com>
+
+	* 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  <eggert@cs.ucla.edu>
 
 	* 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	other threads:[~2013-09-06  6:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06  6:31 jean haidouk [this message]
2013-09-06 18:39 ` [PATCH] input-method: french "e dans l'o" Davis Herring
2013-09-06 22:06   ` jean haidouk
2013-09-07  4:32   ` Stephen J. Turnbull
2013-09-07  5:58   ` Andreas Schwab
2013-09-07  6:23     ` Werner LEMBERG
2013-09-07  6:47       ` Werner LEMBERG
2013-09-06 22:50 ` Stefan Monnier
2013-09-06 23:23   ` Drew Adams
2013-09-07  9:01     ` jean haidouk
2013-09-09 19:28 ` Stefan Monnier

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=56541378449115@web23m.yandex.ru \
    --to=haidouk@yandex.com \
    --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.