persian.el 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. ;;; persian.el --- Quail package for inputting Persian/Farsi keyboard -*- coding: utf-8;-*-
  2. ;; Copyright (C) 2011-2012 Free Software Foundation, Inc.
  3. ;; Author: Mohsen BANAN <libre@mohsen.1.banan.byname.net>
  4. ;; http://mohsen.1.banan.byname.net/contact
  5. ;; Keywords: multilingual, input method, Farsi, Persian, keyboard
  6. ;; This file is part of GNU Emacs.
  7. ;; GNU Emacs is free software: you can redistribute it and/or modify
  8. ;; it under the terms of the GNU General Public License as published by
  9. ;; the Free Software Foundation, either version 3 of the License, or
  10. ;; (at your option) any later version.
  11. ;; GNU Emacs is distributed in the hope that it will be useful,
  12. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;; GNU General Public License for more details.
  15. ;; You should have received a copy of the GNU General Public License
  16. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  17. ;;; Commentary:
  18. ;;
  19. ;; This file contains a collection of input methods for
  20. ;; Persian languages (Farsi, Urdu, Pashto/Afghanic, ...)
  21. ;;
  22. ;; At this time, the following input methods are specified:
  23. ;;
  24. ;; - (farsi-isiri-9149) Persian Keyboard based on Islamic Republic of Iran's ISIR-9147
  25. ;; - (farsi-transliterate-banan) An intuitive transliteration keyboard for Farsi
  26. ;;
  27. ;; Additional documentation for these input methods can be found at:
  28. ;; http://www.persoarabic.org/PLPC/120036
  29. ;;
  30. ;;; Code:
  31. (require 'quail)
  32. ;;
  33. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  34. ;;
  35. ;; farsi-isiri-9147
  36. ;;
  37. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  38. ;;
  39. ;; The keyboard mapping defined here is based on:
  40. ;;
  41. ;; Institute of Standards and Industrial Research of Iran
  42. ;; Information Technology – Layout of Persian Letters and Symbols
  43. ;; on Computer Keyboards
  44. ;; ISIRI 9147 -- 1st edition
  45. ;; http://www.isiri.org/UserStd/DownloadStd.aspx?id=9147
  46. ;;
  47. ;; The specification is also republished at
  48. ;; http://www.farsiweb.ir/wiki/Image:Isiri-9147.pdf
  49. ;; and various other sites.
  50. ;;
  51. ;; ISIRI-6219 is also relevant.
  52. ;;
  53. ;; Layers 1, 2 and 3 of ISIRI-9147 are fully implemented with the
  54. ;; exception of the Backslash, Alt-Backslash, Shift-Space and
  55. ;; Alt-Space keys.
  56. ;;
  57. ;; The Backslash key is used to replace کلید با دگر ساز راست‌ -- the Alt or
  58. ;; Meta key.
  59. ;;
  60. ;; Layer 3 is then entered with the Backslash key and Layer 3 is
  61. ;; implemented as two letter keys as specified in ISIRI-9147.
  62. ;;
  63. ;; The character corresponding to Backslash is entered with Backslash-Backslash.
  64. ;; Alt-Backslash has been moved to Backslash-r.
  65. ;; Alt-Space has been moved to Backslash-t.
  66. ;; Shift-Space has been moved to Backslash-y.
  67. ;;
  68. ;; With these modifications, farsi-isiri-9147 is a full implementation
  69. ;; of ISIRI-9147. Additionally, these modifications allow for this
  70. ;; implementation to be ascii input stream based -- in addition to
  71. ;; being a keyboard layout.
  72. ;;
  73. ;; If a key on Layer 1 was reserved to replace دگر ساز راست‌ (the Alt
  74. ;; or Meta key), then farsi-isiri-9147 could have claimed full
  75. ;; compliance -- without the need for the above description. Perhaps
  76. ;; this can be considered a flaw in the base ISIRI-9147 specification
  77. ;; to be addressed in the next revision.
  78. ;;
  79. (quail-define-package
  80. "farsi-isiri-9147" "Farsi" " ف" nil "Farsi input method.
  81. Based on ISIRI-9147 Layout of Persian Letters and Symbols on Computer Keyboards.
  82. " nil t t t t nil nil nil nil nil t)
  83. ;; Note: the rows of keys below are enclosed in Left-To-Right Override
  84. ;; embedding, to prevent them from being reordered by the Emacs
  85. ;; display engine.
  86. ;; +----------------------------------------------------------------+
  87. ;; ‭| ۱! | ۲٬ | ۳٫ | ۴﷼ | ۵٪ | ۶× | ۷، | ۸* | ۹( | ۰) | -ـ | =+ | `÷ |‬
  88. ;; +----------------------------------------------------------------+
  89. ;; ‭| ضْ| صٌ| ثٍ| قً| فُ| غِ| عَ| هّ| خ] | ح[ | ج{ | چ} |‬
  90. ;; +------------------------------------------------------------+
  91. ;; ‭| ش‌ؤ | س‌ئ | ی‌ي | ب‌إ | لأ | اآ | ت‌ة | ن« | م» | ک: | گ؛ | \| |‬
  92. ;; +-----------------------------------------------------------+
  93. ;; ‭| ظ‌ك | طٓ| زژ | رٰ| ذB | دٔ| پء | و< | .> | /؟ |‬
  94. ;; +-------------------------------------------+
  95. (quail-define-rules
  96. ("1" ?۱)
  97. ("2" ?۲)
  98. ("3" ?۳)
  99. ("4" ?۴)
  100. ("5" ?۵)
  101. ("6" ?۶)
  102. ("7" ?۷)
  103. ("8" ?۸)
  104. ("9" ?۹)
  105. ("0" ?۰)
  106. ("-" ?-)
  107. ("=" ?=)
  108. ("`" ?\u200D) ;; ZWJ -- ZERO WIDTH JOINER اتصال مجازى
  109. ("q" ?ض)
  110. ("w" ?ص)
  111. ("e" ?ث)
  112. ("r" ?ق)
  113. ("t" ?ف)
  114. ("y" ?غ)
  115. ("u" ?ع)
  116. ("i" ?ه)
  117. ("o" ?خ)
  118. ("p" ?ح)
  119. ("[" ?ج)
  120. ("]" ?چ)
  121. ("a" ?ش)
  122. ("s" ?س)
  123. ("d" ?ی)
  124. ("f" ?ب)
  125. ("g" ?ل)
  126. ("h" ?ا)
  127. ("j" ?ت)
  128. ("k" ?ن)
  129. ("l" ?م)
  130. (";" ?ک)
  131. ("'" ?گ)
  132. ("z" ?ظ)
  133. ("x" ?ط)
  134. ("c" ?ز)
  135. ("v" ?ر)
  136. ("b" ?ذ)
  137. ("n" ?د)
  138. ("m" ?پ)
  139. ("," ?و)
  140. ("." ?.)
  141. ("/" ?/)
  142. ("!" ?!)
  143. ("@" ?٬)
  144. ("#" ?٫)
  145. ("$" ?﷼)
  146. ("%" ?٪)
  147. ("^" ?×)
  148. ("&" ?،)
  149. ("*" ?*)
  150. ("(" ?\))
  151. (")" ?\()
  152. ("_" ?ـ)
  153. ("+" ?+)
  154. ("~" ?÷)
  155. ("Q" ?ْ) ;; ساکن فارسى
  156. ("W" ?ٌ) ;; دو پيش فارسى -- تنوين رفع
  157. ("E" ?ٍ) ;; دو زير فارسى -- تنوين جر
  158. ("R" ?ً) ;; دو زبر فارسى -- تنوين نصب
  159. ("T" ?ُ) ;; پيش فارسى -- ضمه
  160. ("Y" ?ِ) ;; زير فارسى -- کسره
  161. ("U" ?َ) ;; زبر فارسى -- فتحه
  162. ("I" ?ّ) ;; تشديد فارسى
  163. ("O" ?\])
  164. ("P" ?\[)
  165. ("{" ?})
  166. ("}" ?{)
  167. ("A" ?ؤ)
  168. ("S" ?ئ)
  169. ("D" ?ي)
  170. ("F" ?إ)
  171. ("G" ?أ)
  172. ("H" ?آ)
  173. ("J" ?ة)
  174. ("K" ?»)
  175. ("L" ?«)
  176. (":" ?:)
  177. ("\"" ?؛)
  178. ("|" ?|)
  179. ("Z" ?ك)
  180. ("X" ?ٓ)
  181. ("C" ?ژ)
  182. ("V" ?ٰ)
  183. ("B" ?\u200C) ;; ZWNJ -- ZERO WIDTH NON-JOINER فاصلهٔ مجازى
  184. ("N" ?ٔ) ;; همزه فارسى بالا
  185. ("M" ?ء) ;; harf farsi hamzeh
  186. ("<" ?>)
  187. (">" ?<)
  188. ("?" ?؟)
  189. ;; Level 3 Entered with \
  190. ;;
  191. ("\\" ?\\) ;; خط اريب وارو
  192. ("\\\\" ?\\)
  193. ("\\~" ?\u007E)
  194. ("\\1" ?\u0060)
  195. ("\\2" ?\u0040)
  196. ("\\3" ?\u0023)
  197. ("\\4" ?\u0024)
  198. ("\\5" ?\u0025)
  199. ("\\6" ?\u005E)
  200. ("\\7" ?\u0026)
  201. ("\\8" ?\u2022)
  202. ("\\9" ?\u200E)
  203. ("\\0" ?\u200F)
  204. ("\\-" ?\u005F)
  205. ("\\+" ?\u2212)
  206. ("\\q" ?\u00B0)
  207. ;;\\w" ?\u0000)
  208. ("\\e" ?\u20AC)
  209. ("\\r" ?\u2010) ;; replacement for Alt-BSL
  210. ("\\t" ?\u00A0) ;; replacement for ALT-SPC
  211. ("\\y" ?\u200C) ;; replacement for SHIFT-SPC
  212. ;;("\\u" ?\u0000)
  213. ("\\i" ?\u202D)
  214. ("\\o" ?\u202E)
  215. ("\\p" ?\u202C)
  216. ("\\[" ?\u202A)
  217. ("\\]" ?\u202B)
  218. ;;("\\a" ?\u0000)
  219. ;;("\\s" ?\u0000)
  220. ("\\d" ?\u0649)
  221. ;;("\\f" ?\u0000)
  222. ;;("\\g" ?\u0000)
  223. ("\\h" ?\u0671)
  224. ;;("\\j" ?\u0000)
  225. ("\\k" ?\uFD3E)
  226. ("\\l" ?\uFD3F)
  227. ("\\;" ?\u003B)
  228. ("\\'" ?\u0022)
  229. ;;("\\z" ?\u0000)
  230. ;;("\\x" ?\u0000)
  231. ;;("\\c" ?\u0000)
  232. ("\\v" ?\u0656)
  233. ("\\b" ?\u200D)
  234. ("\\n" ?\u0655)
  235. ("\\m" ?\u2026)
  236. ("\\," ?\u002C)
  237. ("\\." ?\u0027)
  238. ("\\?" ?\u003F)
  239. ;;("\\\\" ?\u2010) ;; Moved to backslash r to leave room for BSL-BSL
  240. )
  241. ;;
  242. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  243. ;;
  244. ;; farsi-transliterate-banan
  245. ;;
  246. ;; Given a Qwerty keyboard, use Persian-to-Latin transliteration knowledge
  247. ;; to reverse transliterate in persian
  248. ;;
  249. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  250. ;;;
  251. ;;; See http://www.persoarabic.org/PLPC/120036 document for more complete
  252. ;;; documentation of keyboard bindings and usage instructions.
  253. ;;;
  254. ;;
  255. ;; ISIRI-9147 Persian keyboard is generally not well suited for Iranian-Expatriates
  256. ;; working/living in the West.
  257. ;;
  258. ;; The qwerty keyboard is usually second nature to Persian speaking expatriates and they
  259. ;; don't want to learn/adapt to ISIRI-9147. They expect software to adapt to them.
  260. ;;
  261. ;; That is what the ``Banan Multi-Character (Reverse) Transliteration Persian Input Method'' does.
  262. ;;
  263. ;; The typical profile of the user is assumed to be one who:
  264. ;;
  265. ;; - can write in farsi (not just speak it).
  266. ;; - is fully comfortable with a qwerty latin keyboard.
  267. ;; - is not familiar with isir-9147 and does not wish to be trained.
  268. ;; - communicates and writes in a mixed globish/persian -- not pure persian.
  269. ;; - is intuitively familiar with transliteration of farsi/persian into latin based on two letter
  270. ;; phonetic mapping to persian characters (e.g., gh ق -- kh خ -- sh ش -- ch چ -- zh ژ.
  271. ;;
  272. ;; This transliteration keyboard is designed to be intuitive such that
  273. ;; mapping are easy and natural to remember for a persian writer.
  274. ;; It is designed to be equivalent in capability to farsi-isiri-9147
  275. ;; and provide for inputting all characters enumerated in ISIRI-6219.
  276. ;;
  277. ;; farsi-transliterate-banan is of course phonetic oriented. But it is very different from
  278. ;; pinglish. Pinglish is word oriented where you sound out the word with latin letters --
  279. ;; including the vowels. farsi-transliterate-banan is letter oriented where you enter the
  280. ;; latin letter/letters closest to the persian letter. And usually omit vowels.
  281. ;;
  282. ;; For some persian characters there are multiple ways of inputting
  283. ;; the same character. For example both ``i'' and ``y'' produce ی.
  284. ;; For یک ``yk'', ``y'' is more natural and for این ``ain'', ``i'' is more natural.
  285. ;;
  286. ;; The more frequently used keys are mapped to lower case. The less frequently used letter moves to
  287. ;; upper case. For example: ``s'' is س and ``S'' is ص. ``h'' is ح and ``H''
  288. ;; is ه.
  289. ;;
  290. ;; Multi-character input is based on \, &, and / prefix
  291. ;; characters. The letter 'h' is used as a postfix for the following two character mappings:
  292. ;; gh ق -- kh خ -- sh ش -- ch چ -- zh ژ -- Th ة -- Yh ى.
  293. ;;
  294. ;;
  295. ;; Prefix letter \ is used for two character inputs when an alternate form of a letter
  296. ;; is desired for example \% is: ‌÷ when % is: ٪.
  297. ;;
  298. ;; Prefix letter & is used for multi-character inputs when special characters are
  299. ;; desired based on their abbreviate name. For example you can enter &lrm; to enter the
  300. ;; ``LEFT-TO-RIGHT MARK'' character.
  301. ;;
  302. ;; Prefix letter / is used to provide two characters. / is: ``ZERO WIDTH NON-JOINER''
  303. ;; and // is /.
  304. ;;
  305. ;; The letter 'h' is used in a number of two character postfix mappings,
  306. ;; for example ``sh'' ش. So if you need the sequence of ``s'' and ``h'' you
  307. ;; need to repeat the ``s''. For example: سحر = 's' 's' 'h' 'r'.
  308. ;;
  309. (quail-define-package
  310. "farsi-transliterate-banan" "Farsi" "ب" t
  311. "Intuitive transliteration keyboard layout for persian/farsi.
  312. " nil t t t t nil nil nil nil nil t)
  313. (quail-define-rules
  314. ;;;;;;;;;;; isiri-6219 Table 5 -- جدول ۵ - حروِفِ اصلیِ فارسی
  315. ("W" ?ء) ;; hamzeh
  316. ("A" ?آ) ;; U+0622 & ARABIC LETTER ALEF WITH MADDA ABOVE & الف با کلاه
  317. ("a" ?ا) ;; U+0627 & ARABIC LETTER ALEF & الف
  318. ("\\a" ?أ)
  319. ("b" ?ب) ;; U+0628 & ARABIC LETTER BEH &
  320. ("p" ?پ) ;; U+067e & ARABIC LETTER PEH &
  321. ("t" ?ت)
  322. ("tt" ?ت)
  323. ("c" ?ث)
  324. ("cc" ?ث)
  325. ("j" ?ج)
  326. ("ch" ?چ)
  327. ("h" ?ح)
  328. ("kh" ?خ)
  329. ("d" ?د)
  330. ("Z" ?ذ)
  331. ("r" ?ر)
  332. ("z" ?ز)
  333. ("zz" ?ز)
  334. ("zh" ?ژ)
  335. ("s" ?س)
  336. ("ss" ?س)
  337. ("sh" ?ش)
  338. ("S" ?ص)
  339. ("x" ?ض)
  340. ("T" ?ط)
  341. ("TT" ?ط)
  342. ("X" ?ظ)
  343. ("w" ?ع)
  344. ("q" ?غ)
  345. ("f" ?ف)
  346. ("Q" ?ق)
  347. ("gh" ?ق)
  348. ("k" ?ک)
  349. ("kk" ?ک)
  350. ("g" ?گ)
  351. ("gg" ?گ)
  352. ("l" ?ل)
  353. ("m" ?م)
  354. ("n" ?ن)
  355. ("v" ?و)
  356. ("u" ?و)
  357. ("V" ?ؤ)
  358. ("H" ?ه)
  359. ("y" ?ی)
  360. ("i" ?ی)
  361. ("I" ?ئ)
  362. ;;;;;;;;;;; isiri-6219 Table 6 -- جدول ۶ - حروِفِ عربی
  363. ("F" ?إ)
  364. ("D" ?\u0671) ;; (ucs-insert #x0671)ٱ named: حرفِ الفِ وصل
  365. ("K" ?ك) ;; Arabic kaf
  366. ("Th" ?ة) ;; ta marbuteh
  367. ("Y" ?ي)
  368. ("YY" ?ي)
  369. ("Yh" ?ى)
  370. ;;;;;;;;;;; isiri-6219 Table 4 -- جدول ۴ - ارقام و علائم ریاضی
  371. ("0" ?۰)
  372. ("1" ?۱)
  373. ("2" ?۲)
  374. ("3" ?۳)
  375. ("4" ?۴)
  376. ("5" ?۵)
  377. ("6" ?۶)
  378. ("7" ?۷)
  379. ("8" ?۸)
  380. ("9" ?۹)
  381. ("\\/" ?\u066B) ;; (ucs-insert #x066B)٫ named: ممیزِ فارسی
  382. ("\\," ?\u066C) ;; (ucs-insert #x066C)٬ named: جداکننده‌ی هزارهای فارسی
  383. ("%" ?\u066A) ;; (ucs-insert #x066A)٪ named: درصدِ فارسی
  384. ("+" ?\u002B) ;; (ucs-insert #x002B)+ named: علامتِ به‌اضافه
  385. ("-" ?\u2212) ;; (ucs-insert #x2212)− named: علامتِ منها
  386. ("\\*" ?\u00D7) ;; (ucs-insert #x00D7)× named: علامتِ ضرب
  387. ("\\%" ?\u007F) ;; (ucs-insert #x00F7)÷ named: علامتِ تقسیم
  388. ("<" ?\u003C) ;; (ucs-insert #x003C)< named: علامتِ کوچکتر
  389. ("=" ?\u003D) ;; (ucs-insert #x003D)= named: علامتِ مساوی
  390. (">" ?\u003E) ;; (ucs-insert #x003E)> named: علامتِ بزرگتر
  391. ;;;;;;;;;;; isiri-6219 Table 2 -- جدول ۲ - علائم نقطه گذاریِ مشترک
  392. ;;; Space
  393. ("." ?.) ;;
  394. (":" ?\u003A) ;; (ucs-insert #x003A): named:
  395. ("!" ?\u0021) ;; (ucs-insert #x0021)! named:
  396. ("\\." ?\u2026) ;; (ucs-insert #x2026)… named:
  397. ("\\-" ?\u2010) ;; (ucs-insert #x2010)‐ named:
  398. ("-" ?\u002D) ;; (ucs-insert #x002D)- named:
  399. ("|" ?|)
  400. ;;("\\\\" ?\)
  401. ("//" ?/)
  402. ("*" ?\u002A) ;; (ucs-insert #x002A)* named:
  403. ("(" ?\u0028) ;; (ucs-insert #x0028)( named:
  404. (")" ?\u0029) ;; (ucs-insert #x0029)) named:
  405. ("[" ?\u005B) ;; (ucs-insert #x005B)[ named:
  406. ("[" ?\u005D) ;; (ucs-insert #x005D)] named:
  407. ("{" ?\u007B) ;; (ucs-insert #x007B){ named:
  408. ("}" ?\u007D) ;; (ucs-insert #x007D)} named:
  409. ("\\<" ?\u00AB) ;; (ucs-insert #x00AB)« named:
  410. ("\\>" ?\u00BB) ;; (ucs-insert #x00BB)» named:
  411. ;;;;;;;;;;; isiri-6219 Table 3 -- جدول ۳ - علائم نقطه گذاریِ فارسی
  412. ("," ?،) ;; farsi
  413. (";" ?؛) ;;
  414. ("?" ?؟) ;; alamat soal
  415. ("_" ?ـ) ;;
  416. ;;;;;;;;;;; isiri-6219 Table 1 -- جدول ۱ - نویسه‌های کنترلی
  417. ;; LF
  418. ;; CR
  419. ("&zwnj;" ?\u200C) ;; (ucs-insert #x200C)‌ named: فاصله‌ی مجازی
  420. ("/" ?\u200C) ;;
  421. ("&zwj;" ?\u200D) ;; (ucs-insert #x200D)‍ named: اتصالِ مجازی
  422. ("J" ?\u200D) ;;
  423. ("&lrm;" ?\u200E) ;; (ucs-insert #x200E)‎ named: نشانه‌ی چپ‌به‌راست
  424. ("&rlm;" ?\u200F) ;; (ucs-insert #x200F)‏ named: نشانه‌ی راست‌به‌چپ
  425. ("&ls;" ?\u2028) ;; (ucs-insert #x2028)
 named: جداکننده‌ی سطرها
  426. ("&ps;" ?\u2028) ;; (ucs-insert #x2029)
 named: جداکننده‌ی بندها
  427. ("&lre;" ?\u202A) ;; (ucs-insert #x202A)‪ named: زیرمتنِ چپ‌به‌راست
  428. ("&rle;" ?\u202B) ;; (ucs-insert #x202B) named: زیرمتنِ راست‌به‌چپ
  429. ("&pdf;" ?\u202C) ;; (ucs-insert #x202C) named: پایانِ زیرمتن
  430. ("&lro;" ?\u202D) ;; (ucs-insert #x202D) named: زیرمتنِ اکیداً چپ‌به‌راست
  431. ("&rlo;" ?\u202D) ;; (ucs-insert #x202E) named: زیرمتنِ اکیداً راست‌به‌چپ
  432. ("&bom;" ?\uFEFF) ;; (ucs-insert #xFEFF) named: نشانه‌ی ترتیبِ بایت‌ها
  433. ;;;;;;;;;;; isiri-6219 Table 7 -- جدول ۷ - نشانه‌هایِ فارسی
  434. ("^" ?َ) ;; zbar ;; زبر فارسى
  435. ("e" ?ِ) ;; zir زير فارسى
  436. ("o" ?ُ) ;; peesh ;; پيش فارسى -- ضمه
  437. ("E" ?ٍ) ;; eizan ;; دو زير فارسى -- تنوين جر
  438. ("#" ?ً) ;; دو زبر
  439. ("O" ?ٌ) ;; دو پيش فارسى -- تنوين رفع
  440. ("~" ?ّ) ;; tashdid ;; تشديد فارسى
  441. ("@" ?ْ) ;; ساکن فارسى
  442. ("U" ?\u0653) ;; (ucs-insert #x0653)ٓ named: مدِ فارسی
  443. ("`" ?ٔ) ;; همزه فارسى بالا
  444. ("C" ?\u0655) ;; (ucs-insert #x0655)ٕ named: همزه فارسى پایین
  445. ("$" ?\u0670) ;; (ucs-insert #x0670)ٰ named: الفِ مقصوره‌ی فارسی
  446. ;;;;;;;;;;; isiri-6219 Table 8 - Forbidden Characters -- جدول ۸ - نویسه‌هایِ ممنوع
  447. ;; ;; he ye (ucs-insert 1728) kills emacs-24.0.90
  448. ;; arabic digits 0-9
  449. ;;;;;;; Latin Extensions
  450. ("\\" ?\\) ;; خط اريب وارو
  451. ("\\\\" ?\\)
  452. ("\\~" ?~)
  453. ("\\@" ?@)
  454. ("\\#" ?#)
  455. ("\\$" ?\uFDFC) ;; (ucs-insert #xFDFC)﷼ named:
  456. ("\\^" ?^)
  457. ("\\1" ?1)
  458. ("\\2" ?2)
  459. ("\\3" ?3)
  460. ("\\4" ?4)
  461. ("\\5" ?5)
  462. ("\\6" ?6)
  463. ("\\7" ?7)
  464. ("\\8" ?8)
  465. ("\\9" ?9)
  466. ("\\0" ?0)
  467. )
  468. ;;; persian.el ends here