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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90825
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 ;;; arabic.el --- Quail package for inputting Arabic -*- coding: utf-8;-*-
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 ;; Keywords: mule, input method, Arabic
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;;; Commentary:
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 ;;; Code:
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 (require 'quail)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29 (quail-define-package
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 "arabic" "Arabic" "ع" nil "Arabic input method.
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32 Based on Arabic table in X Keyboard Configuration DB.
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 " nil t t t t nil nil nil nil nil t)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39 ;;
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41 (quail-define-rules
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
45 ("Q" ?َ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46 ("W" ?ً)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 ("E" ?ُ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 ("Y" ?إ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 ("U" ?`)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 ("I" ?÷)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 ("O" ?×)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
63 ("H" ?أ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
64 ("J" ?ـ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65 ("K" ?،)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66 ("L" ?/)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68 ("Z" ?~)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73 ("N" ?آ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 ("M" ?')
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
75 ("<" ?,)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
76 (">" ?.)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77 ("?" ?؟)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
79 ("q" ?ض)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
80 ("w" ?ص)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
81 ("e" ?ث)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
82 ("r" ?ق)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83 ("t" ?ف)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
84 ("y" ?غ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
85 ("u" ?ع)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
86 ("i" ?ه)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
87 ("o" ?خ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
92 ("a" ?ش)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
93 ("s" ?س)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
94 ("d" ?ي)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
95 ("f" ?ب)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
96 ("g" ?ل)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
97 ("h" ?ا)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
98 ("j" ?ت)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
99 ("k" ?ن)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
100 ("l" ?م)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
103
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
104 ("z" ?ئ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
105 ("x" ?ء)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
106 ("c" ?ؤ)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
109 ("n" ?ى)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
110 ("m" ?ة)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
111 ("," ?و)
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
114
948ada4860a8 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
115 ;;; arabic.el ends here