From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: improve tamil input method (keys and docstring) Date: Mon, 26 Sep 2011 13:50:54 +0900 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1317012675 7450 80.91.229.12 (26 Sep 2011 04:51:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 04:51:15 +0000 (UTC) Cc: kjambunathan@gmail.com To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 26 06:51:11 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R839q-0000rN-GV for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 06:51:10 +0200 Original-Received: from localhost ([::1]:39743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R839q-0001OY-4S for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 00:51:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R839m-0001OI-Bo for emacs-devel@gnu.org; Mon, 26 Sep 2011 00:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R839k-0002e3-Cj for emacs-devel@gnu.org; Mon, 26 Sep 2011 00:51:06 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:54248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R839j-0002dS-KW for emacs-devel@gnu.org; Mon, 26 Sep 2011 00:51:04 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id p8Q4otIF021162; Mon, 26 Sep 2011 13:50:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id p8Q4otXo023199; Mon, 26 Sep 2011 13:50:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id p8Q4os4U020429; Mon, 26 Sep 2011 13:50:54 +0900 (JST) env-from (handa@m17n.org) X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 150.29.246.133 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144292 Archived-At: --=-=-= Content-Type: text/plain I'm now discussing with Jambunathan K on the improvement of tamil input method. There are two issues; one is to add new keys for characters that can't be input by the current tamil-itrans input method, another is to improve the docstring of tamil-itrans. Changes for both of them are fairly simple and safe. Yidong and Stefan, may I commit that change to trunk? Attached is the current version of the patch. But, for the improvement of docstring (change to leim/quail/indian.el), we are now discussing with Jambunathan about the final result, and thus it may have different form. --- Kenichi Handa handa@m17n.org --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=temp.diff Content-Transfer-Encoding: quoted-printable =3D=3D=3D modified file 'leim/ChangeLog' --- leim/ChangeLog 2011-09-06 16:34:41 +0000 +++ leim/ChangeLog 2011-09-22 02:32:25 +0000 @@ -1,3 +1,10 @@ +2011-09-22 Kenichi Handa + + * quail/indian.el (quail-tamil-itrans-syllable-table) + (quail-tamil-itrans-misc-table): New variables. + ("tamil-itrans"): Improve the docstring by showing the values of + above variables (Bug#9336). + 2011-09-06 Paul Eggert =20 * Makefile.in (install): install-sh is now in build-aux (Bug#9169). =3D=3D=3D modified file 'leim/quail/indian.el' --- leim/quail/indian.el 2011-01-26 08:36:39 +0000 +++ leim/quail/indian.el 2011-09-22 02:07:57 +0000 @@ -118,11 +118,138 @@ indian-mlm-itrans-v5-hash "malayalam-itrans" "Malayalam" "MlmIT" "Malayalam transliteration by ITRANS method.") =20 +(defvar quail-tamil-itrans-syllable-table + (let ((vowels + '(("=E0=AE=85" nil "a") + ("=E0=AE=86" "=E0=AE=BE" "A") + ("=E0=AE=87" "=E0=AE=BF" "i") + ("=E0=AE=88" "=E0=AF=80" "I") + ("=E0=AE=89" "=E0=AF=81" "u") + ("=E0=AE=8A" "=E0=AF=82" "U") + ("=E0=AE=8E" "=E0=AF=86" "e") + ("=E0=AE=8F" "=E0=AF=87" "E") + ("=E0=AE=90" "=E0=AF=88" "ai") + ("=E0=AE=92" "=E0=AF=8A" "o") + ("=E0=AE=93" "=E0=AF=8B" "O") + ("=E0=AE=94" "=E0=AF=8C" "au"))) + (consonants + '(("=E0=AE=95" "k") ; U+0B95 + ("=E0=AE=99" "N^") ; U+0B99 + ("=E0=AE=9A" "ch") ; U+0B9A + ("=E0=AE=9E" "JN") ; U+0B9E + ("=E0=AE=9F" "T") ; U+0B9F + ("=E0=AE=A3" "N") ; U+0BA3 + ("=E0=AE=A4" "t") ; U+0BA4 + ("=E0=AE=A8" "n") ; U+0BA8 + ("=E0=AE=AA" "p") ; U+0BAA + ("=E0=AE=AE" "m") ; U+0BAE + ("=E0=AE=AF" "y") ; U+0BAF + ("=E0=AE=B0" "r") ; U+0BB0 + ("=E0=AE=B2" "l") ; U+0BB2 + ("=E0=AE=B5" "v") ; U+0BB5 + ("=E0=AE=B4" "z") ; U+0BB4 + ("=E0=AE=B3" "L") ; U+0BB3 + ("=E0=AE=B1" "rh") ; U+0BB1 + ("=E0=AE=A9" "nh") ; U+0BA9 + ("=E0=AE=9C" "j") ; U+0B9C + ("=E0=AE=B7" "Sh") ; U+0BB7 + ("=E0=AE=B8" "s") ; U+0BB8 + ("=E0=AE=B9" "h") ; U+0BB9 + ("=E0=AE=95=E0=AF=8D=E0=AE=B7" "x" ) ; U+0B95 + )) + (virama #x0BCD) + clm) + (with-temp-buffer + (insert " +") + (insert-char ?- 74) + (insert "\n |") + (setq clm 6) + (dolist (v vowels) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (car v)) + (setq clm (+ clm 6))) + (insert "\n |") + (setq clm 6) + (dolist (v vowels) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (nth 2 v)) + (setq clm (+ clm 6))) + (insert "\n----+") + (insert-char ?- 74) + (insert "\n") + (dolist (c consonants) + (insert (car c) virama + (propertize "\t" 'display '(space :align-to 4)) + "|") + (setq clm 6) + (dolist (v vowels) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (car c) (or (nth 1 v) "")) + (setq clm (+ clm 6))) + (insert "\n" (nth 1 c) + (propertize "\t" 'display '(space :align-to 4)) + "|") + (setq clm 6) + (dolist (v vowels) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (nth 1 c) (nth 2 v)) + (setq clm (+ clm 6))) + (insert "\n")) + (insert "----+") + (insert-char ?- 74) + (insert "\n\n" + " Ex: To enter =E0=AE=B5=E0=AE=A3=E0=AE=95=E0=AF=8D=E0=AE=95=E0=AE= =AE=E0=AF=8D, type vaNakkam.\n") + (buffer-string)))) + +(defvar quail-tamil-itrans-misc-table + (let ((symbols '((?=E0=AE=83 . "H") (?=E0=AE=82 . "M") (?=E0=AF=8D . ".h= "))) + (digits "=E0=AF=A6=E0=AF=A7=E0=AF=A8=E0=AF=A9=E0=AF=AA=E0=AF=AB=E0=AF=AC= =E0=AF=AD=E0=AF=AE=E0=AF=AF") + clm) + (with-temp-buffer + (insert "----------+------------------------------\n") + (insert " symbols | digits \n") + (insert "----------+------------------------------\n") + (setq clm 1) + (dolist (elm symbols) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (car elm)) + (setq clm (+ clm 3))) + (insert (propertize "\t" 'display '(space :align-to 10)) "|") + (setq clm 12) + (dotimes (i 10) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (aref digits i)) + (setq clm (+ clm 3))) + (insert "\n") + (setq clm 1) + (dolist (elm symbols) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (cdr elm)) + (setq clm (+ clm 3))) + (insert (propertize "\t" 'display '(space :align-to 10)) "|") + (setq clm 12) + (dotimes (i 10) + (insert (propertize "\t" 'display (list 'space :align-to clm)) + (format "%d" i)) + (setq clm (+ clm 3))) + (insert "\n----------+------------------------------\n") + (buffer-string)))) + (if nil (quail-define-package "tamil-itrans" "Tamil" "TmlIT" t "Tamil ITRANS")) (quail-define-indian-trans-package indian-tml-itrans-v5-hash "tamil-itrans" "Tamil" "TmlIT" - "Tamil transliteration by ITRANS method.") + "Tamil transliteration by ITRANS method. + +### Basic syllables (consonants + vowels) ### + +\\ + +### Symbols, etc. ### + +\\ + +Full key sequences are listed below:") =20 =20 ;;; =3D=3D=3D modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2011-09-20 04:12:05 +0000 +++ lisp/ChangeLog 2011-09-22 02:14:54 +0000 @@ -1,3 +1,10 @@ +2011-09-22 Kenichi Handa + + * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT + ZERO. + (indian-itrans-v5-table-for-tamil): New variable. + (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336). + 2011-09-20 Lawrence Mitchell =20 * progmodes/f90.el (f90-break-line): If breaking inside comment delete =3D=3D=3D modified file 'lisp/language/ind-util.el' --- lisp/language/ind-util.el 2011-01-26 08:36:39 +0000 +++ lisp/language/ind-util.el 2011-09-22 02:07:09 +0000 @@ -271,7 +271,7 @@ (;; Misc Symbols nil ?=1B$,1<"=1B(B ?=1B$,1<#=1B(B nil ?=1B$,1