From 1ce34040fafb9a30499b199c8292b92205147f38 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 8 Jun 2022 14:40:03 +0200 Subject: [PATCH] Add fractions to latin-post input method * lisp/leim/quail/latin-post.el ("latin-postfix"): Add fractions. --- lisp/leim/quail/latin-post.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/leim/quail/latin-post.el b/lisp/leim/quail/latin-post.el index 49df3fd2d1a..53a5dc63714 100644 --- a/lisp/leim/quail/latin-post.el +++ b/lisp/leim/quail/latin-post.el @@ -2248,13 +2248,17 @@ of characters from a single Latin-N charset. nordic | / | d/ -> ð t/ -> þ a/ -> å e/ -> æ o/ -> ø symbols | ^ | r^ -> ® t^ -> ™ others | / | s/ -> ß ?/ -> ¿ !/ -> ¡ // -> ° o/ -> œ + | / | 2/ -> ½ 3/ -> ¾ 4/ -> ?¼ | various | << -> « >> -> » o_ -> º a_ -> ª Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\=' " nil t nil nil nil nil nil nil nil nil t) -;; Fixme: ¦ § ¨ © ¬ ­ ¯ ± ² ³ ´ µ ¶ · ¸ ¹ ¼ ½ ¾ × ÷ +;; Fixme: ¦ § ¨ © ¬ ­ ¯ ± ² ³ ´ µ ¶ · ¸ ¹ × ÷ (quail-define-rules + ("2/" ?½) + ("3/" ?¾) + ("4/" ?¼) (" _" ? ) ("!/" ?¡) ("//" ?°) @@ -2446,6 +2450,9 @@ Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\=' ("z." ?ż) ("z~" ?ž) + ("2//" ["2/"]) + ("3//" ["3/"]) + ("4//" ["4/"]) (" __" [" _"]) ("!//" ["!/"]) ("///" ["//"]) -- 2.39.2