Mercurial > emacs
annotate leim/quail/arabic.el @ 112359:011b1eb5c384
Change buffer_defaults to new new macro; preparation for thread patch
* lisp.h (DEFVAR_BUFFER_DEFAULTS): New macro.
* buffer.c (syms_of_buffer): Use DEFVAR_BUFFER_DEFAULTS.
author | Tom Tromey <tromey@redhat.com> |
---|---|
date | Tue, 18 Jan 2011 10:00:04 -0700 |
parents | ef719132ddfa |
children |
rev | line source |
---|---|
90825 | 1 ;;; arabic.el --- Quail package for inputting Arabic -*- coding: utf-8;-*- |
2 | |
112218
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
109925
diff
changeset
|
3 ;; Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
91426
3b99ff362c87
Update copyright years and GPL version.
Glenn Morris <rgm@gnu.org>
parents:
91008
diff
changeset
|
4 |
3b99ff362c87
Update copyright years and GPL version.
Glenn Morris <rgm@gnu.org>
parents:
91008
diff
changeset
|
5 ;; Author: James Cloos <cloos@jhcloos.com> |
90825 | 6 ;; Keywords: mule, input method, Arabic |
7 | |
8 ;; This file is part of GNU Emacs. | |
9 | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91426
diff
changeset
|
10 ;; GNU Emacs is free software: you can redistribute it and/or modify |
90825 | 11 ;; it under the terms of the GNU General Public License as published by |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91426
diff
changeset
|
12 ;; the Free Software Foundation, either version 3 of the License, or |
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91426
diff
changeset
|
13 ;; (at your option) any later version. |
90825 | 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 | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91426
diff
changeset
|
21 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
90825 | 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 | |
91008
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
35 ;; ذّ 1! 2@ 3# 4$ 5% 6^ 7& 8* 9) 0( -_ =+ |
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
36 ;; ضَ صً ثُ قٌ فﻹ غإ ع` ه÷ خ× ح؛ ج< د> <> |
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
37 ;; شِ سٍ ي] ب[ لﻷ اأ تـ ن، م/ ك: ط" |
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
38 ;; ئ~ ءْ ؤ} ر{ ﻻﻵ ىآ ة' و, ز. ظ؟ |
90825 | 39 ;; |
40 | |
41 (quail-define-rules | |
42 ("`" ?ذ) | |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
43 ("~" ?ّ) |
90825 | 44 |
45 ("Q" ?َ) | |
46 ("W" ?ً) | |
47 ("E" ?ُ) | |
48 ("R" ?ٌ) | |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
49 ("T" ["لإ"]) |
90825 | 50 ("Y" ?إ) |
51 ("U" ?`) | |
52 ("I" ?÷) | |
53 ("O" ?×) | |
54 ("P" ?؛) | |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
55 ("{" ?<) |
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
56 ("}" ?>) |
90825 | 57 |
91008
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
58 ("A" ?ِ) |
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
59 ("S" ?ٍ) |
109925
9b6d33480216
Avoid mismatching parens
Andreas Schwab <schwab@linux-m68k.org>
parents:
106815
diff
changeset
|
60 ("D" ?\]) |
9b6d33480216
Avoid mismatching parens
Andreas Schwab <schwab@linux-m68k.org>
parents:
106815
diff
changeset
|
61 ("F" ?\[) |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
62 ("G" ["لأ"]) |
90825 | 63 ("H" ?أ) |
64 ("J" ?ـ) | |
65 ("K" ?،) | |
66 ("L" ?/) | |
67 | |
68 ("Z" ?~) | |
69 ("X" ?ْ) | |
91008
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
70 ("C" ?}) |
eacbf507589b
Updated (sync with xkeyboard-config keyboard).
Kenichi Handa <handa@m17n.org>
parents:
90828
diff
changeset
|
71 ("V" ?{) |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
72 ("B" ["لآ"]) |
90825 | 73 ("N" ?آ) |
74 ("M" ?') | |
75 ("<" ?,) | |
76 (">" ?.) | |
77 ("?" ?؟) | |
78 | |
79 ("q" ?ض) | |
80 ("w" ?ص) | |
81 ("e" ?ث) | |
82 ("r" ?ق) | |
83 ("t" ?ف) | |
84 ("y" ?غ) | |
85 ("u" ?ع) | |
86 ("i" ?ه) | |
87 ("o" ?خ) | |
88 ("p" ?ح) | |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
89 ("[" ?ج) |
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
90 ("]" ?د) |
90825 | 91 |
92 ("a" ?ش) | |
93 ("s" ?س) | |
94 ("d" ?ي) | |
95 ("f" ?ب) | |
96 ("g" ?ل) | |
97 ("h" ?ا) | |
98 ("j" ?ت) | |
99 ("k" ?ن) | |
100 ("l" ?م) | |
101 (";" ?ك) | |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
102 ("'" ?ط) |
90825 | 103 |
104 ("z" ?ئ) | |
105 ("x" ?ء) | |
106 ("c" ?ؤ) | |
107 ("v" ?ر) | |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
108 ("b" ["لا"]) |
90825 | 109 ("n" ?ى) |
110 ("m" ?ة) | |
111 ("," ?و) | |
112 ("." ?ز) | |
104393
9c0333026404
Add missing keys that exist on the Arabic X keyboard. Don't insert
Eli Zaretskii <eliz@gnu.org>
parents:
100963
diff
changeset
|
113 ("/" ?ظ)) |
90825 | 114 |
115 ;;; arabic.el ends here |