Commit | Line | Data |
---|---|---|
4ceb39f8 KH |
1 | ;;; arabic.el --- Quail package for inputting Arabic -*- coding: utf-8;-*- |
2 | ||
acaf905b | 3 | ;; Copyright (C) 2007-2012 Free Software Foundation, Inc. |
f3c8f8d1 GM |
4 | |
5 | ;; Author: James Cloos <cloos@jhcloos.com> | |
4ceb39f8 KH |
6 | ;; Keywords: mule, input method, Arabic |
7 | ||
8 | ;; This file is part of GNU Emacs. | |
9 | ||
3d544458 | 10 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
4ceb39f8 | 11 | ;; it under the terms of the GNU General Public License as published by |
3d544458 GM |
12 | ;; the Free Software Foundation, either version 3 of the License, or |
13 | ;; (at your option) any later version. | |
4ceb39f8 KH |
14 | |
15 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | ;; GNU General Public License for more details. | |
19 | ||
20 | ;; You should have received a copy of the GNU General Public License | |
3d544458 | 21 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
4ceb39f8 KH |
22 | |
23 | ;;; Commentary: | |
24 | ||
25 | ;;; Code: | |
26 | ||
27 | (require 'quail) | |
28 | ||
29 | (quail-define-package | |
30 | "arabic" "Arabic" "ع" nil "Arabic input method. | |
31 | ||
32 | Based on Arabic table in X Keyboard Configuration DB. | |
33 | " nil t t t t nil nil nil nil nil t) | |
34 | ||
3df657c8 KH |
35 | ;; ذّ 1! 2@ 3# 4$ 5% 6^ 7& 8* 9) 0( -_ =+ |
36 | ;; ضَ صً ثُ قٌ فﻹ غإ ع` ه÷ خ× ح؛ ج< د> <> | |
37 | ;; شِ سٍ ي] ب[ لﻷ اأ تـ ن، م/ ك: ط" | |
38 | ;; ئ~ ءْ ؤ} ر{ ﻻﻵ ىآ ة' و, ز. ظ؟ | |
4ceb39f8 KH |
39 | ;; |
40 | ||
41 | (quail-define-rules | |
42 | ("`" ?ذ) | |
76580a68 | 43 | ("~" ?ّ) |
4ceb39f8 KH |
44 | |
45 | ("Q" ?َ) | |
46 | ("W" ?ً) | |
47 | ("E" ?ُ) | |
48 | ("R" ?ٌ) | |
76580a68 | 49 | ("T" ["لإ"]) |
4ceb39f8 KH |
50 | ("Y" ?إ) |
51 | ("U" ?`) | |
52 | ("I" ?÷) | |
53 | ("O" ?×) | |
54 | ("P" ?؛) | |
76580a68 EZ |
55 | ("{" ?<) |
56 | ("}" ?>) | |
4ceb39f8 | 57 | |
3df657c8 KH |
58 | ("A" ?ِ) |
59 | ("S" ?ٍ) | |
e099e659 AS |
60 | ("D" ?\]) |
61 | ("F" ?\[) | |
76580a68 | 62 | ("G" ["لأ"]) |
4ceb39f8 KH |
63 | ("H" ?أ) |
64 | ("J" ?ـ) | |
65 | ("K" ?،) | |
66 | ("L" ?/) | |
4ceb39f8 KH |
67 | |
68 | ("Z" ?~) | |
69 | ("X" ?ْ) | |
3df657c8 KH |
70 | ("C" ?}) |
71 | ("V" ?{) | |
76580a68 | 72 | ("B" ["لآ"]) |
4ceb39f8 KH |
73 | ("N" ?آ) |
74 | ("M" ?') | |
75 | ("<" ?,) | |
76 | (">" ?.) | |
77 | ("?" ?؟) | |
78 | ||
4ceb39f8 KH |
79 | ("q" ?ض) |
80 | ("w" ?ص) | |
81 | ("e" ?ث) | |
82 | ("r" ?ق) | |
83 | ("t" ?ف) | |
84 | ("y" ?غ) | |
85 | ("u" ?ع) | |
86 | ("i" ?ه) | |
87 | ("o" ?خ) | |
88 | ("p" ?ح) | |
76580a68 EZ |
89 | ("[" ?ج) |
90 | ("]" ?د) | |
4ceb39f8 KH |
91 | |
92 | ("a" ?ش) | |
93 | ("s" ?س) | |
94 | ("d" ?ي) | |
95 | ("f" ?ب) | |
96 | ("g" ?ل) | |
97 | ("h" ?ا) | |
98 | ("j" ?ت) | |
99 | ("k" ?ن) | |
100 | ("l" ?م) | |
101 | (";" ?ك) | |
76580a68 | 102 | ("'" ?ط) |
4ceb39f8 KH |
103 | |
104 | ("z" ?ئ) | |
105 | ("x" ?ء) | |
106 | ("c" ?ؤ) | |
107 | ("v" ?ر) | |
76580a68 | 108 | ("b" ["لا"]) |
4ceb39f8 KH |
109 | ("n" ?ى) |
110 | ("m" ?ة) | |
111 | ("," ?و) | |
112 | ("." ?ز) | |
76580a68 | 113 | ("/" ?ظ)) |
4ceb39f8 | 114 | |
4ceb39f8 | 115 | ;;; arabic.el ends here |