arabic.el 2.1 KB

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