* Persian/Farsi Keyboard Input Method for emacs24 -- quail-persian-isiri9147.el
@ 2011-04-26 7:56 Mohsen BANAN
2011-05-16 6:33 ` leim/quail/persian.el -- Persian/Farsi Keyboard Input Method for emacs24 Mohsen BANAN
0 siblings, 1 reply; 3+ messages in thread
From: Mohsen BANAN @ 2011-04-26 7:56 UTC (permalink / raw)
To: emacs-bidi, emacs-devel; +Cc: Eli Zaretskii
Attached below is a quail file that I have
developed for Persian/Farsi keybaord input.
I'd like for it to become part of emacs24.
Would you kindly please include it in emacs?
Thanks.
...Mohsen
;;; quail-persian-isiri9147.el --- Quail package for inputting Persian/Farsi keyboard -*- coding: utf-8;-*-
;; Author: Mohsen BANAN <libre@mohsen.1.banan.byname.net>
;; Keywords: input method, Farsi, Persian, keyboard
;;
;; This is a Halaal Poly-Existential intended to remain perpetually Halaal.
;;
;; Copyleft Mohsen BANAN -- Subject to GPLv3.
;;
;; The author wishes for this file to become part of emacs24
;; and is happy to transfer copyright to FSF as needed.
;;
;;; Commentary:
;;
;; The keyboard mapping defined here is based on:
;;
;; Institute of Standards and Industrial Research of Iran
;; Information Technology – Layout of Persian Letters and Symbols on Computer Keyboards
;; ISIRI 9147
;; http://www.isiri.org/UserStd/DownloadStd.aspx?id=9147
;;
;; The mappings here have not been adequately tested yet.
;; At this time. this is intended to be a starting point.
;;
;;
;;;
;;; Code:
(require 'quail)
(quail-define-package
"farsi" "Farsi" " ف" nil "Farsi input method.
Based on Farsi table in X Keyboard Configuration DB.
" nil t t t t nil nil nil nil nil t)
;; ذّ 1! 2@ 3# 4$ 5% 6^ 7& 8* 9) 0( -_ =+
;; ضَ صً ثُ قٌ فﻹ غإ ع` ه÷ خ× ح؛ ج< د> <>
;; شِ سٍ ي] ب[ لﻷ اأ تـ ن، م/ ك: ط"
;; ئ~ ءْ ؤ} ر{ ﻻﻵ ىآ ة' و, ز. ظ؟
;;
(quail-define-rules
("`" ?ذ)
("~" ?ّ)
("Q" ?َ)
("W" ?ً)
("E" ?ُ)
("R" ?ٌ)
("T" ["لإ"])
("Y" ?إ)
("U" ?`)
("I" ?÷)
("O" ?×)
("P" ?؛)
("{" ?<)
("}" ?>)
("A" ?ِ)
("S" ?ٍ)
("D" ?\])
("F" ?\[)
("G" ["لأ"])
("H" ?أ)
("J" ?ـ)
("K" ?،)
("L" ?/)
("Z" ?~)
("X" ?ْ)
("C" ?})
("V" ?{)
("B" ["لآ"])
("N" ?آ)
("M" ?')
("<" ?,)
(">" ?.)
("?" ?؟)
("q" ?ض)
("w" ?ص)
("e" ?ث)
("r" ?ق)
("t" ?ف)
("y" ?غ)
("u" ?ع)
("i" ?ه)
("o" ?خ)
("p" ?ح)
("[" ?ج)
("]" ?د)
("a" ?ش)
("s" ?س)
("d" ?ي)
("f" ?ب)
("g" ?ل)
("h" ?ا)
("j" ?ت)
("k" ?ن)
("l" ?م)
(";" ?ك)
("'" ?ط)
("z" ?ئ)
("x" ?ء)
("c" ?ؤ)
("v" ?ر)
("b" ["لا"])
("n" ?ى)
("m" ?ة)
("," ?و)
("." ?ز)
("/" ?ظ)
("1" ?۱)
("2" ?۲)
("3" ?۳)
("4" ?۴)
("5" ?۵)
("6" ?۶)
("7" ?۷)
("8" ?۸)
("9" ?۹)
("0" ?۰)
)
(provide 'quail-persian-isiri9147)
;;; quail-persian-isiri9147.el
^ permalink raw reply [flat|nested] 3+ messages in thread
* leim/quail/persian.el -- Persian/Farsi Keyboard Input Method for emacs24
2011-04-26 7:56 Persian/Farsi Keyboard Input Method for emacs24 -- quail-persian-isiri9147.el Mohsen BANAN
@ 2011-05-16 6:33 ` Mohsen BANAN
2011-05-16 11:30 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Mohsen BANAN @ 2011-05-16 6:33 UTC (permalink / raw)
To: emacs-bidi, emacs-devel; +Cc: Eli Zaretskii
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]
FSF copyright assignment paperwork is now in
place.
Attached is a tar file containing persian.el
which includes:
- (farsi) Persian Keyboard based on Islamic Republic of Iran's ISIR-9147
- (farsi-translit) Intuitive transliteration keyboard layout for Persian
Please add it to emacs24 and please let me know of
any problems you may notice.
Thanks.
...Mohsen
[-- Attachment #2: persian.tar --]
[-- Type: application/x-tar, Size: 10240 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: leim/quail/persian.el -- Persian/Farsi Keyboard Input Method for emacs24
2011-05-16 6:33 ` leim/quail/persian.el -- Persian/Farsi Keyboard Input Method for emacs24 Mohsen BANAN
@ 2011-05-16 11:30 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2011-05-16 11:30 UTC (permalink / raw)
To: Mohsen BANAN; +Cc: emacs-bidi, emacs-devel
> From: Mohsen BANAN <list-general@mohsen.1.banan.byname.net>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Sun, 15 May 2011 23:33:44 -0700
>
> FSF copyright assignment paperwork is now in
> place.
>
> Attached is a tar file containing persian.el
> which includes:
>
> - (farsi) Persian Keyboard based on Islamic Republic of Iran's ISIR-9147
> - (farsi-translit) Intuitive transliteration keyboard layout for Persian
>
> Please add it to emacs24 and please let me know of
> any problems you may notice.
Thanks, I installed it. I made a few insignificant changes: added the
standard Emacs copyright notice, and removed trailing whitespace.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-16 11:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 7:56 Persian/Farsi Keyboard Input Method for emacs24 -- quail-persian-isiri9147.el Mohsen BANAN
2011-05-16 6:33 ` leim/quail/persian.el -- Persian/Farsi Keyboard Input Method for emacs24 Mohsen BANAN
2011-05-16 11:30 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.