emacs-diffs
[Top][All Lists]
Advanced

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

master 1ce34040fa 2/3: Add fractions to latin-post input method


From: Robert Pluim
Subject: master 1ce34040fa 2/3: Add fractions to latin-post input method
Date: Wed, 8 Jun 2022 10:14:09 -0400 (EDT)

branch: master
commit 1ce34040fafb9a30499b199c8292b92205147f38
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>

    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 49df3fd2d1..53a5dc6371 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/"])
  (" __" [" _"])
  ("!//" ["!/"])
  ("///" ["//"])



reply via email to

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