emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 e5754f6 1/2: Add the tamil-dvorak input method


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 e5754f6 1/2: Add the tamil-dvorak input method
Date: Mon, 23 Nov 2015 17:41:42 +0000

branch: emacs-25
commit e5754f6f2bb614408b105ca78b2e6244cae0f2e7
Author: Shakthi Kannan <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Add the tamil-dvorak input method
    
    * lisp/leim/quail/tamil-dvorak.el: New file.  (Bug#21768)
    
    * etc/NEWS: Mention the new input method.
---
 etc/NEWS                        |    2 +
 lisp/leim/quail/tamil-dvorak.el |  151 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 153 insertions(+), 0 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index a7dc7a3..1a381ec 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -342,6 +342,8 @@ change in future releases.  For that reason, their support 
is disabled
 by default, and must be enabled by using the `--with-modules' option
 at configure time.
 
+** New input method: `tamil-dvorak'.
+
 
 * Editing Changes in Emacs 25.1
 
diff --git a/lisp/leim/quail/tamil-dvorak.el b/lisp/leim/quail/tamil-dvorak.el
new file mode 100644
index 0000000..d852eb1
--- /dev/null
+++ b/lisp/leim/quail/tamil-dvorak.el
@@ -0,0 +1,151 @@
+;;; tamil-dvorak.el --- Quail package for Tamil input with Dvorak keyboard
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Author: Shakthi Kannan <address@hidden>
+
+;; Keywords: multilingual, input method, Indian, Tamil, Dvorak
+
+;; This file is released under the terms of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; After loading this file in GNU Emacs, you can select this input
+;;; layout using "C-x Return C-\" followed by "tamil-dvorak" (without
+;;; the quotes). Available keys: Z
+
+;;; TODO: Add Tamil numbers, calendar from Unicode
+
+;;; Code:
+
+(require 'quail)
+
+(quail-define-package
+ "tamil-dvorak" "Tamil" "யளனக" nil
+ "யளனக Tamil keyboard layout for use with Unicode (UTF-8 encoding)
+  and Dvorak keyboard layout."
+ nil t t t t nil nil nil nil nil t)
+
+
+;; US Dvorak
+;; 1! 2@ 3# 4$ 5% 6^ 7& 8* 9( 0) [{ ]}
+;;  '" ,< .> pP yY fF gG cC rR lL /? =+ \|
+;;   aA oO eE uU iI dD hH tT nN sS -_
+;;     ;: qQ jJ kK xX bB mM wW vV zZ
+
+;; தமிழ்
+;; 1! 2@ 3# 4௹ 5% 6^ 7& 8* 9( 0) -_ {}
+;;  ஞஶ றஷ நஸ சஹ வஜ லல ரர ைஐ   ொ ோ ிீ ுூ =+ \|
+;;    ய' ள, ன. க" ப? ாழ த[ ம] ட< ்ஃ ங>
+;;      ண$ ஒஓ உஊ எஏ ெே ஔ ௌ அஆ இஈ ;: zZ
+
+(quail-define-rules
+ ("1" ?1)
+ ("2" ?2)
+ ("3" ?3)
+ ("4" ?4)
+ ("5" ?5)
+ ("6" ?6)
+ ("7" ?7)
+ ("8" ?8)
+ ("9" ?9)
+ ("0" ?0)
+ ("[" ?-)
+ ("]" ?{)
+ ("`" ?`)
+ ("'" ?ஞ)
+ ("," ?ற)
+ ("." ?ந)
+ ("p" ?ச)
+ ("y" ?வ)
+ ("f" ?ல)
+ ("g" ?ர)
+ ("c" ?ை)
+ ("r" ?ொ)
+ ("l" ?ி)
+ ("/" ?ு)
+ ("=" ?=)
+ ("a" ?ய)
+ ("o" ?ள)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