m17n-list
[Top][All Lists]
Advanced

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

[Patch] Improvement for ar-kbd.mim: Use digits 0-9 on the 0-9 keys


From: Mike FABIAN
Subject: [Patch] Improvement for ar-kbd.mim: Use digits 0-9 on the 0-9 keys
Date: Tue, 13 Sep 2022 16:52:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Improvement for ar-kbd.mim: Use digits 0-9 on the 0-9 keys
instead of the Arabic-Indic digits, move these to G-0, ..., G-9.

This makes ar-kbd.mim more similar to what the standard Arabic
keyboard layout /usr/share/X11/xkb/symbols/ara does, it also has 0-9
on the 0-9 keys and the Arabic-Indic digits on AltGr+0, ..., AltGr+9.

-- 
Mike FABIAN <mfabian@redhat.com>
睡眠不足はいい仕事の敵だ。
>From 2fb313d300a82bb0e073376f5237ac781a47f348 Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Tue, 13 Sep 2022 16:42:16 +0200
Subject: [PATCH] Improvement for ar-kbd.mim: Use digits 0-9 on the 0-9 keys

instead of the Arabic-Indic digits, move these to G-0, ..., G-9.

This makes ar-kbd.mim more similar to what the standard Arabic
keyboard layout /usr/share/X11/xkb/symbols/ara does, it also has 0-9
on the 0-9 keys and the Arabic-Indic digits on AltGr+0, ..., AltGr+9.
---
 MIM/ar-kbd.mim | 30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

diff --git a/MIM/ar-kbd.mim b/MIM/ar-kbd.mim
index 6bd5771..c3cd1fc 100644
--- a/MIM/ar-kbd.mim
+++ b/MIM/ar-kbd.mim
@@ -30,16 +30,26 @@
 
 (map
  (generic
-  ("1" "١")
-  ("2" "٢")
-  ("3" "٣")
-  ("4" "٤")
-  ("5" "٥")
-  ("6" "٦")
-  ("7" "٧")
-  ("8" "٨")
-  ("9" "٩")
-  ("0" "٠")
+  ("1" "1")
+  ("2" "2")
+  ("3" "3")
+  ("4" "4")
+  ("5" "5")
+  ("6" "6")
+  ("7" "7")
+  ("8" "8")
+  ("9" "9")
+  ("0" "0")
+  ((G-1) "١")
+  ((G-2) "٢")
+  ((G-3) "٣")
+  ((G-4) "٤")
+  ((G-5) "٥")
+  ((G-6) "٦")
+  ((G-7) "٧")
+  ((G-8) "٨")
+  ((G-9) "٩")
+  ((G-0) "٠")
   ("`" "ذ")
 
   ("q" "ض")
-- 
2.37.2


reply via email to

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