From: Robert Pluim Date: Wed, 8 Jun 2022 12:40:03 +0000 (+0200) Subject: Add fractions to latin-post input method X-Git-Tag: emacs-29.0.90~1910^2~147 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1ce34040fafb9a30499b199c8292b92205147f38;p=emacs.git Add fractions to latin-post input method * lisp/leim/quail/latin-post.el ("latin-postfix"): Add fractions. --- 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/"]) (" __" [" _"]) ("!//" ["!/"]) ("///" ["//"])