annotate lisp/language/ind-util.el @ 50528:dae46d521201

(indian-2-column-to-ucs-region): Fix for the case of replacing multibyte characters.
author Kenichi Handa <handa@m17n.org>
date Thu, 10 Apr 2003 11:57:54 +0000
parents 664f9896e442
children 39435a35a003
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 ;;; ind-util.el --- Transliteration and Misc. Tools for Indian Languages -*- coding: iso-2022-7bit; -*-
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 ;; Copyright (C) 2001 Free Software Foundation, Inc.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
49703
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
5 ;; Maintainer: KAWABATA, Taichi <kawabata@m17n.org>
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 ;; Keywords: multilingual, Indian, Devanagari
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 ;; any later version.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 ;; Boston, MA 02111-1307, USA.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 ;;; Commentary:
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 ;; This file provides conversion between UCS and various
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 ;; transliteration schemes, such as ITRANS, kyoto-harvard and aiba
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 ;; methods. It also provides conversion between IS 13194 and UCS.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 ;; Finally, this program provides the compatibility support with
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 ;; old implementation of Devanagari script.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 ;;; Code:
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 ;;; Transliteration
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 ;; The followings provide the various transliteration schemes (such as
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 ;; ITRANS, kyoto-harvard, and Aiba) of Indian scripts. They are also
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 ;; used in quail/indian.el for typing Indian script in Emacs.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 (eval-and-compile
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
42060
f3b460667d31 (range): Function deleted.
Richard M. Stallman <rms@gnu.org>
parents: 42056
diff changeset
43 (defun indian-regexp-of-hashtbl-keys (hashtbl)
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 "Returns the regular expression of hashtable keys."
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 (let ((max-specpdl-size 1000))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 (regexp-opt
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
47 (sort
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 (let (dummy)
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
49 (maphash (function (lambda (key val) (setq dummy (cons key dummy))))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
50 hashtbl)
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 dummy)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 (function (lambda (x y) (> (length x) (length y))))))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 (defvar indian-dev-base-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 '(
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 (;; VOWELS (18)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 (?$,15E(B nil) (?$,15F(B ?$,15~(B) (?$,15G(B ?$,15(B) (?$,15H(B ?$,16 (B) (?$,15I(B ?$,16!(B) (?$,15J(B ?$,16"(B)
49703
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
58 (?$,15K(B ?$,16#(B) (?$,15L(B ?$,16B(B) (?$,15M(B ?$,16%(B) (?$,15N(B ?$,16&(B) (?$,15O(B ?$,16'(B) (?$,15P(B ?$,16((B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
59 (?$,15Q(B ?$,16)(B) (?$,15R(B ?$,16*(B) (?$,15S(B ?$,16+(B) (?$,15T(B ?$,16,(B) (?$,16@(B ?$,16$(B) (?$,16A(B ?$,16C(B))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 (;; CONSONANTS (currently 42, including special cases)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 ?$,15U(B ?$,15V(B ?$,15W(B ?$,15X(B ?$,15Y(B ;; GUTTRULS
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
62 ?$,15Z(B ?$,15[(B ?$,15\(B ?$,15](B ?$,15^(B ;; PALATALS
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
63 ?$,15_(B ?$,15`(B ?$,15a(B ?$,15b(B ?$,15c(B ;; CEREBRALS
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
64 ?$,15d(B ?$,15e(B ?$,15f(B ?$,15g(B ?$,15h(B ?$,15i(B ;; DENTALS
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
65 ?$,15j(B ?$,15k(B ?$,15l(B ?$,15m(B ?$,15n(B ;; LABIALS
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 ?$,15o(B ?$,15p(B ?$,15q(B ?$,15r(B ?$,15s(B ?$,15t(B ?$,15u(B ;; SEMIVOWELS
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
67 ?$,15v(B ?$,15w(B ?$,15x(B ?$,15y(B ;; SIBILANTS
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
68 ?$,168(B ?$,169(B ?$,16:(B ?$,16;(B ?$,16<(B ?$,16=(B ?$,16>(B ?$,16?(B ;; NUKTAS
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 "$,15\6-5^(B" "$,15U6-5w(B")
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
70 (;; Misc Symbols (7)
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 ?$,15A(B ?$,15B(B ?$,15C(B ?$,15}(B ?$,16-(B ?$,160(B ?$,16D(B)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 (;; Digits (10)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 ?$,16F(B ?$,16G(B ?$,16H(B ?$,16I(B ?$,16J(B ?$,16K(B ?$,16L(B ?$,16M(B ?$,16N(B ?$,16O(B)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 (;; Inscript-extra (4) (#, $, ^, *, ])
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 "$,16-5p(B" "$,15p6-(B" "$,15d6-5p(B" "$,15v6-5p(B" "$,15|(B")))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76
49703
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
77 ;; Punjabi is also known as Gurmukhi.
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
78 (defvar indian-pnj-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
79 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
80 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
81 (?$,18%(B nil) (?$,18&(B ?$,18^(B) (?$,18'(B ?$,18_(B) (?$,18((B ?$,18`(B) (?$,18)(B ?$,18a(B) (?$,18*(B ?$,18b(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
82 nil nil nil nil (?$,18/(B ?$,18g(B) (?$,180(B ?$,18h(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
83 nil nil (?$,183(B ?$,18k(B) (?$,184(B ?$,18l(B) nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
84 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
85 ?$,185(B ?$,186(B ?$,187(B ?$,188(B ?$,189(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
86 ?$,18:(B ?$,18;(B ?$,18<(B ?$,18=(B ?$,18>(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
87 ?$,18?(B ?$,18@(B ?$,18A(B ?$,18B(B ?$,18C(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
88 ?$,18D(B ?$,18E(B ?$,18F(B ?$,18G(B ?$,18H(B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
89 ?$,18J(B ?$,18K(B ?$,18L(B ?$,18M(B ?$,18N(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
90 ?$,18O(B ?$,18P(B nil ?$,18R(B ?$,18S(B nil ?$,18U(B ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
91 ?$,18V(B nil ?$,18X(B ?$,18Y(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
92 nil ?$,18y(B ?$,18z(B ?$,18{(B ?$,18|(B nil ?$,18~(B nil ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
93 "$,18<8m8>(B" nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
94 (;; Misc Symbols (7)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
95 nil ?$,18"(B nil nil ?$,18m(B nil nil) ;; ek onkar, etc.
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
96 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
97 ?$,19&(B ?$,19'(B ?$,19((B ?$,19)(B ?$,19*(B ?$,19+(B ?$,19,(B ?$,19-(B ?$,19.(B ?$,19/(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
98 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
99 "$,18m8P(B" "$,18P8m(B" "$,18D8m8P(B" "$,18V8m8P(B" "$,18\(B")))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
100
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
101 (defvar indian-gjr-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
102 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
103 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
104 (?$,19E(B nil) (?$,19F(B ?$,19~(B) (?$,19G(B ?$,19(B) (?$,19H(B ?$,1: (B) (?$,19I(B ?$,1:!(B) (?$,19J(B ?$,1:"(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
105 (?$,19K(B ?$,1:#(B) nil (?$,19M(B ?$,1:%(B) nil (?$,19O(B ?$,1:'(B) (?$,19P(B ?$,1:((B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
106 (?$,19Q(B ?$,1:)(B) nil (?$,19S(B ?$,1:+(B) (?$,19T(B ?$,1:,(B) (?$,1:@(B ?$,1:$(B) nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
107 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
108 ?$,19U(B ?$,19V(B ?$,19W(B ?$,19X(B ?$,19Y(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
109 ?$,19Z(B ?$,19[(B ?$,19\(B ?$,19](B ?$,19^(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
110 ?$,19_(B ?$,19`(B ?$,19a(B ?$,19b(B ?$,19c(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
111 ?$,19d(B ?$,19e(B ?$,19f(B ?$,19g(B ?$,19h(B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
112 ?$,19j(B ?$,19k(B ?$,19l(B ?$,19m(B ?$,19n(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
113 ?$,19o(B ?$,19p(B nil ?$,19r(B ?$,19s(B nil ?$,19u(B ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
114 ?$,19v(B ?$,19w(B ?$,19x(B ?$,19y(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
115 nil nil nil nil nil nil nil nil ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
116 "$,19\:-9^(B" "$,19U:-9w(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
117 (;; Misc Symbols (7)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
118 ?$,19A(B ?$,19B(B ?$,19C(B ?$,19}(B ?$,1:-(B ?$,1:0(B nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
119 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
120 ?$,1:F(B ?$,1:G(B ?$,1:H(B ?$,1:I(B ?$,1:J(B ?$,1:K(B ?$,1:L(B ?$,1:M(B ?$,1:N(B ?$,1:O(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
121 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
122 "$,1:-9p(B" "$,19p:-(B" "$,19d:-9p(B" "$,19v:-9p(B" "$,19|(B")))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
123
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
124 (defvar indian-ori-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
125 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
126 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
127 (?$,1:e(B nil) (?$,1:f(B ?$,1;>(B) (?$,1:g(B ?$,1;?(B) (?$,1:h(B ?$,1;@(B) (?$,1:i(B ?$,1;A(B) (?$,1:j(B ?$,1;B(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
128 (?$,1:k(B ?$,1;C(B) (?$,1:l(B nil) nil nil (?$,1:o(B ?$,1;G(B) (?$,1:p(B ?$,1;H(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
129 nil nil (?$,1:s(B ?$,1;K(B) (?$,1:t(B ?$,1;L(B) (?$,1;`(B nil) (?$,1;a(B nil))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
130 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
131 ?$,1:u(B ?$,1:v(B ?$,1:w(B ?$,1:x(B ?$,1:y(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
132 ?$,1:z(B ?$,1:{(B ?$,1:|(B ?$,1:}(B ?$,1:~(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
133 ?$,1:(B ?$,1; (B ?$,1;!(B ?$,1;"(B ?$,1;#(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
134 ?$,1;$(B ?$,1;%(B ?$,1;&(B ?$,1;'(B ?$,1;((B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
135 ?$,1;*(B ?$,1;+(B ?$,1;,(B ?$,1;-(B ?$,1;.(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
136 ?$,1;/(B ?$,1;0(B nil ?$,1;2(B ?$,1;3(B nil nil ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
137 ?$,1;6(B ?$,1;7(B ?$,1;8(B ?$,1;9(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
138 nil nil nil nil ?$,1;\(B ?$,1;](B nil ?$,1;_(B ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
139 "$,1:|;M:~(B" "$,1:u;M;7(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
140 (;; Misc Symbols
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
141 ?$,1:a(B ?$,1:b(B ?$,1:c(B ?$,1;=(B ?$,1;M(B nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
142 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
143 ?$,1;f(B ?$,1;g(B ?$,1;h(B ?$,1;i(B ?$,1;j(B ?$,1;k(B ?$,1;l(B ?$,1;m(B ?$,1;n(B ?$,1;o(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
144 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
145 "$,1;M;0(B" "$,1;0;M(B" "$,1;$;M;0(B" "$,1;6;M;0(B" "$,1;<(B")))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
146
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
147 (defvar indian-bng-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
148 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
149 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
150 (?$,16e(B nil) (?$,16f(B ?$,17>(B) (?$,16g(B ?$,17?(B) (?$,16h(B ?$,17@(B) (?$,16i(B ?$,17A(B) (?$,16j(B ?$,17B(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
151 (?$,16k(B ?$,17C(B) (?$,16l(B ?$,17b(B) nil nil (?$,16o(B ?$,17G(B) (?$,16p(B ?$,17H(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
152 nil nil (?$,16s(B ?$,17K(B) (?$,16t(B ?$,17L(B) (?$,17`(B ?$,17D(B) (?$,17a(B ?$,17c(B))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
153 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
154 ?$,16u(B ?$,16v(B ?$,16w(B ?$,16x(B ?$,16y(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
155 ?$,16z(B ?$,16{(B ?$,16|(B ?$,16}(B ?$,16~(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
156 ?$,16(B ?$,17 (B ?$,17!(B ?$,17"(B ?$,17#(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
157 ?$,17$(B ?$,17%(B ?$,17&(B ?$,17'(B ?$,17((B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
158 ?$,17*(B ?$,17+(B ?$,17,(B ?$,17-(B ?$,17.(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
159 ?$,17/(B ?$,170(B nil ?$,172(B nil nil nil ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
160 ?$,176(B ?$,177(B ?$,178(B ?$,179(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
161 nil nil nil nil ?$,17\(B ?$,17](B nil ?$,17_(B ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
162 "$,16|7M6~(B" "$,16u7M77(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
163 (;; Misc Symbols
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
164 ?$,16a(B ?$,16b(B ?$,16c(B nil ?$,17M(B nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
165 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
166 ?$,17f(B ?$,17g(B ?$,17h(B ?$,17i(B ?$,17j(B ?$,17k(B ?$,17l(B ?$,17m(B ?$,17n(B ?$,17o(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
167 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
168 "$,17M70(B" "$,1707M(B" "$,17$7M70(B" "$,1767M70(B" "$,17<(B")))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
169
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
170 (defvar indian-asm-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
171 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
172 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
173 (?$,16e(B nil) (?$,16f(B ?$,17>(B) (?$,16g(B ?$,17?(B) (?$,16h(B ?$,17@(B) (?$,16i(B ?$,17A(B) (?$,16j(B ?$,17B(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
174 (?$,16k(B ?$,17C(B) (?$,16l(B ?$,17b(B) nil nil (?$,16o(B ?$,17G(B) (?$,16p(B ?$,17H(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
175 nil nil (?$,16s(B ?$,17K(B) (?$,16t(B ?$,17L(B) (?$,17`(B ?$,17D(B) (?$,17a(B ?$,17c(B))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
176 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
177 ?$,16u(B ?$,16v(B ?$,16w(B ?$,16x(B ?$,16y(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
178 ?$,16z(B ?$,16{(B ?$,16|(B ?$,16}(B ?$,16~(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
179 ?$,16(B ?$,17 (B ?$,17!(B ?$,17"(B ?$,17#(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
180 ?$,17$(B ?$,17%(B ?$,17&(B ?$,17'(B ?$,17((B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
181 ?$,17*(B ?$,17+(B ?$,17,(B ?$,17-(B ?$,17.(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
182 ?$,17/(B ?$,17p(B nil ?$,172(B nil nil ?$,17q(B ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
183 ?$,176(B ?$,177(B ?$,178(B ?$,179(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
184 nil nil nil nil ?$,17\(B ?$,17](B nil ?$,17_(B ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
185 "$,16|7M6~(B" "$,16u7M77(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
186 (;; Misc Symbols
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
187 ?$,16a(B ?$,16b(B ?$,16c(B nil ?$,17M(B nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
188 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
189 ?$,17f(B ?$,17g(B ?$,17h(B ?$,17i(B ?$,17j(B ?$,17k(B ?$,17l(B ?$,17m(B ?$,17n(B ?$,17o(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
190 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
191 "$,17M7p(B" "$,17p7M(B" "$,17$7M7p(B" "$,1767M7p(B" "$,17<(B")))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
192
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
193 (defvar indian-tlg-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
194 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
195 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
196 (?$,1=E(B nil) (?$,1=F(B ?$,1=~(B) (?$,1=G(B ?$,1=(B) (?$,1=H(B ?$,1> (B) (?$,1=I(B ?$,1>!(B) (?$,1=J(B ?$,1>"(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
197 (?$,1=K(B ?$,1>#(B) (?$,1=L(B nil) nil (?$,1=O(B ?$,1>'(B) (?$,1=N(B ?$,1>&(B) (?$,1=P(B ?$,1>((B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
198 nil (?$,1=S(B ?$,1>+(B) (?$,1=R(B ?$,1>*(B) (?$,1=T(B ?$,1>,(B) (?$,1>@(B ?$,1>$(B) (?$,1>A(B nil))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
199 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
200 ?$,1=U(B ?$,1=V(B ?$,1=W(B ?$,1=X(B ?$,1=Y(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
201 ?$,1=Z(B ?$,1=[(B ?$,1=\(B ?$,1=](B ?$,1=^(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
202 ?$,1=_(B ?$,1=`(B ?$,1=a(B ?$,1=b(B ?$,1=c(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
203 ?$,1=d(B ?$,1=e(B ?$,1=f(B ?$,1=g(B ?$,1=h(B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
204 ?$,1=j(B ?$,1=k(B ?$,1=l(B ?$,1=m(B ?$,1=n(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
205 ?$,1=o(B ?$,1=p(B ?$,1=q(B ?$,1=r(B ?$,1=s(B nil ?$,1=u(B ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
206 ?$,1=v(B ?$,1=w(B ?$,1=x(B ?$,1=y(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
207 nil nil nil nil nil nil nil nil ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
208 "$,1=\>-=^(B" "$,1=U>-=w(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
209 (;; Misc Symbols
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
210 ?$,1=A(B ?$,1=B(B ?$,1=C(B nil ?$,1>-(B nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
211 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
212 ?$,1>F(B ?$,1>G(B ?$,1>H(B ?$,1>I(B ?$,1>J(B ?$,1>K(B ?$,1>L(B ?$,1>M(B ?$,1>N(B ?$,1>O(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
213 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
214 "$,1>-=p(B" "$,1=p>-(B" "$,1=d>-=p(B" "$,1=v>-=p(B" nil)))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
215
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
216 (defvar indian-knd-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
217 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
218 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
219 (?$,1>e(B nil) (?$,1>f(B ?$,1?>(B) (?$,1>g(B ?$,1??(B) (?$,1>h(B ?$,1?@(B) (?$,1>i(B ?$,1?A(B) (?$,1>j(B ?$,1?B(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
220 (?$,1>k(B ?$,1?C(B) (?$,1>l(B nil) nil (?$,1>o(B ?$,1?G(B) (?$,1>n(B ?$,1?F(B) (?$,1>p(B ?$,1?H(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
221 nil (?$,1>s(B ?$,1?K(B) (?$,1>r(B ?$,1?J(B) (?$,1>t(B ?$,1?L(B) (?$,1?`(B ?$,1?D(B) (?$,1?a(B nil))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
222 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
223 ?$,1>u(B ?$,1>v(B ?$,1>w(B ?$,1>x(B ?$,1>y(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
224 ?$,1>z(B ?$,1>{(B ?$,1>|(B ?$,1>}(B ?$,1>~(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
225 ?$,1>(B ?$,1? (B ?$,1?!(B ?$,1?"(B ?$,1?#(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
226 ?$,1?$(B ?$,1?%(B ?$,1?&(B ?$,1?'(B ?$,1?((B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
227 ?$,1?*(B ?$,1?+(B ?$,1?,(B ?$,1?-(B ?$,1?.(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
228 ?$,1?/(B ?$,1?0(B ?$,1?1(B ?$,1?2(B ?$,1?3(B nil ?$,1?5(B ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
229 ?$,1?6(B ?$,1?7(B ?$,1?8(B ?$,1?9(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
230 nil nil nil nil nil nil ?$,1?^(B nil ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
231 "$,1>|?M>~(B" "$,1>u?M?7(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
232 (;; Misc Symbols
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
233 nil ?$,1>b(B ?$,1>c(B nil ?$,1?M(B nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
234 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
235 ?$,1?f(B ?$,1?g(B ?$,1?h(B ?$,1?i(B ?$,1?j(B ?$,1?k(B ?$,1?l(B ?$,1?m(B ?$,1?n(B ?$,1?o(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
236 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
237 "$,1?M?0(B" "$,1?0?M(B" "$,1?$?M?0(B" "$,1?6?M?0(B" nil)))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
238
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
239 (defvar indian-mlm-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
240 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
241 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
242 (?$,1@%(B nil) (?$,1@&(B ?$,1@^(B) (?$,1@'(B ?$,1@_(B) (?$,1@((B ?$,1@`(B) (?$,1@)(B ?$,1@a(B) (?$,1@*(B ?$,1@b(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
243 (?$,1@+(B ?$,1@c(B) (?$,1@,(B nil) nil (?$,1@/(B ?$,1@g(B) (?$,1@.(B ?$,1@f(B) (?$,1@0(B ?$,1@h(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
244 nil (?$,1@3(B ?$,1@k(B) (?$,1@2(B ?$,1@j(B) (?$,1@4(B ?$,1@l(B) nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
245 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
246 ?$,1@5(B ?$,1@6(B ?$,1@7(B ?$,1@8(B ?$,1@9(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
247 ?$,1@:(B ?$,1@;(B ?$,1@<(B ?$,1@=(B ?$,1@>(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
248 ?$,1@?(B ?$,1@@(B ?$,1@A(B ?$,1@B(B ?$,1@C(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
249 ?$,1@D(B ?$,1@E(B ?$,1@F(B ?$,1@G(B ?$,1@H(B nil ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
250 ?$,1@J(B ?$,1@K(B ?$,1@L(B ?$,1@M(B ?$,1@N(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
251 ?$,1@O(B ?$,1@P(B ?$,1@Q(B ?$,1@R(B ?$,1@S(B ?$,1@T(B ?$,1@U(B ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
252 ?$,1@V(B ?$,1@W(B ?$,1@X(B ?$,1@Y(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
253 nil nil nil nil nil nil nil nil ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
254 "$,1@<@m@>(B" "$,1@5@m@W(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
255 (;; Misc Symbols
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
256 nil ?$,1@"(B ?$,1@#(B nil ?$,1@m(B nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
257 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
258 ?$,1A&(B ?$,1A'(B ?$,1A((B ?$,1A)(B ?$,1A*(B ?$,1A+(B ?$,1A,(B ?$,1A-(B ?$,1A.(B ?$,1A/(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
259 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
260 "$,1@m@P(B" "$,1@P@m(B" "$,1@D@m@P(B" "$,1@V@m@P(B" nil)))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
261
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
262 (defvar indian-tml-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
263 '(
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
264 (;; VOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
265 (?$,1<%(B nil) (?$,1<&(B ?$,1<^(B) (?$,1<'(B ?$,1<_(B) (?$,1<((B ?$,1<`(B) (?$,1<)(B ?$,1<a(B) (?$,1<*(B ?$,1<b(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
266 nil nil nil (?$,1</(B ?$,1<g(B) (?$,1<.(B ?$,1<f(B) (?$,1<0(B ?$,1<h(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
267 nil (?$,1<3(B ?$,1<k(B) (?$,1<2(B ?$,1<j(B) (?$,1<4(B ?$,1<l(B) nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
268 (;; CONSONANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
269 ?$,1<5(B nil nil nil ?$,1<9(B ;; GUTTRULS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
270 ?$,1<:(B nil ?$,1<<(B nil ?$,1<>(B ;; PALATALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
271 ?$,1<?(B nil nil nil ?$,1<C(B ;; CEREBRALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
272 ?$,1<D(B nil nil nil ?$,1<H(B ?$,1<I(B ;; DENTALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
273 ?$,1<J(B nil nil nil ?$,1<N(B ;; LABIALS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
274 ?$,1<O(B ?$,1<P(B ?$,1<Q(B ?$,1<R(B ?$,1<S(B ?$,1<T(B ?$,1<U(B ;; SEMIVOWELS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
275 nil ?$,1<W(B ?$,1<X(B ?$,1<Y(B ;; SIBILANTS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
276 nil nil nil nil nil nil nil nil ;; NUKTAS
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
277 "$,1<<<m<>(B" "$,1<5<m<W(B")
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
278 (;; Misc Symbols
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
279 nil ?$,1<"(B ?$,1<#(B nil ?$,1<m(B nil nil)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
280 (;; Digits
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
281 nil ?$,1='(B ?$,1=((B ?$,1=)(B ?$,1=*(B ?$,1=+(B ?$,1=,(B ?$,1=-(B ?$,1=.(B ?$,1=/(B)
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
282 (;; Inscript-extra (4) (#, $, ^, *, ])
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
283 "$,1<m<P(B" "$,1<P<m(B" "$,1<D<m<P(B" nil nil)))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
285 (defvar indian-base-table-to-language-alist
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
286 '((indian-dev-base-table . "Devanagari")
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
287 (indian-pnj-base-table . "Punjabi")
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288 (indian-ori-base-table . "Oriya")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
289 (indian-bng-base-table . "Bengali")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
290 (indian-asm-base-table . "Assamese")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
291 (indian-tlg-base-table . "Telugu")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
292 (indian-knd-base-table . "Kannada")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
293 (indian-mlm-base-table . "Malayalam")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
294 (indian-tml-base-table . "Tamil")))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
295
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
296 (defvar indian-itrans-v5-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
297 '(;; for encode/decode
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
298 (;; vowels -- 18
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
299 "a" ("aa" "A") "i" ("ii" "I") "u" ("uu" "U")
49662
47a6a31b9018 (indian-itrans-v5-table): Add entries for "E" and "O".
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
300 ("RRi" "R^i") ("LLi" "L^i") (".c" "e.c") "E" "e" "ai"
47a6a31b9018 (indian-itrans-v5-table): Add entries for "E" and "O".
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
301 "o.c" "O" "o" "au" ("RRI" "R^I") ("LLI" "L^I"))
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
302 (;; consonants -- 40
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
303 "k" "kh" "g" "gh" ("~N" "N^")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
304 "ch" ("Ch" "chh") "j" "jh" ("~n" "JN")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
305 "T" "Th" "D" "Dh" "N"
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
306 "t" "th" "d" "dh" "n" "nh"
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
307 "p" "ph" "b" "bh" "m"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
308 "y" "r" "rh" "l" ("L" "ld") nil ("v" "w")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
309 "sh" ("Sh" "shh") "s" "h"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
310 "q" "K" "G" ("J" "z") ".D" ".Dh" "f" ("Y" "yh")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
311 ("GY" "dny") "x")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
312 (;; misc -- 7
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
313 ".N" (".n" "M") "H" ".a" ".h" ("AUM" "OM") "..")))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
314
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
315 (defvar indian-kyoto-harvard-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
316 '(;; for encode/decode
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
317 (;; vowel
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
318 "a" ("A" "aa") "i" ("I" "ii") "u" ("U" "uu")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
319 "R" ("L" "lR") nil nil "e" "ai"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
320 nil nil "o" "au" ("q" "RR" "Q") ("E" "LL" "lRR"))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
321 (;; consonant
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
322 "k" "kh" "g" "gh" "G"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
323 "c" "ch" "j" "jh" "J"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
324 "T" "Th" "D" "Dh" "N"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
325 "t" "th" "d" "dh" "n" nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
326 "p" "ph" "b" "bh" "m"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
327 "y" "r" nil "l" "L" nil "v"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
328 ("z" "Z") "S" "s" "h"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
329 nil nil nil nil nil nil nil nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
330 nil nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
331 (;; misc
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
332 nil "M" "H" "'" nil "." nil)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
333
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
334 (defvar indian-harvard-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
335 '(;; for encode/decode
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
336 (;; vowel
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
337 "a" ("A" "aa") "i" ("I" "ii") "u" ("U" "uu")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
338 "R" ("L" "lR") nil nil "e" "ai"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
339 nil nil "o" "au" ("RR" "q" "Q") ("LL" "E" "lRR"))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
340 (;; consonant
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
341 "k" "kh" "g" "gh" "G"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
342 "c" "ch" "j" "jh" "J"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 "T" "Th" "D" "Dh" "N"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
344 "t" "th" "d" "dh" "n" nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345 "p" "ph" "b" "bh" "m"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
346 "y" "r" nil "l" "L" nil "v"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
347 ("z" "Z") "S" "s" "h"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
348 nil nil nil nil nil nil nil nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
349 nil nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350 (;; misc
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
351 nil "M" "H" "'" nil "." nil)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
352
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
353 (defvar indian-tokyo-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
354 '(;; for encode/decode
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
355 (;; vowel
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
356 "a" ("A" "aa") "i" ("I" "ii") "u" ("U" "uu")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357 "R" ("L" "lR") nil nil "e" "ai"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
358 nil nil "o" "au" ("Q" "RR" "q") ("E" "LL" "lRR"))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359 (;; consonant
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360 "k" "kh" "g" "gh" "G"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
361 "c" "ch" "j" "jh" "J"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 "T" "Th" "D" "Dh" "N"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 "t" "th" "d" "dh" "n" nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
364 "p" "ph" "b" "bh" "m"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
365 "y" "r" nil "l" "L" nil "v"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
366 ("Z" "z") "S" "s" "h"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
367 nil nil nil nil nil nil nil nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
368 nil nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
369 (;; misc
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
370 nil "M" "H" "'" nil "." nil)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
371
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
372 (defvar indian-aiba-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
373 '(;; for encode/decode
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
374 (;; vowel
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
375 "a" "aa" "i" "ii" "u" "uu"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
376 ".r" ".l" nil nil "e" "ai"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
377 nil nil "o" "au" "~r" "~l")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
378 (;; consonant
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
379 "k" "kh" "g" "gh" "^n"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
380 "c" "ch" "j" "jh" "~n"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
381 ".t" ".th" ".d" ".dh" ".n"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
382 "t" "th" "d" "dh" "n" nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
383 "p" "ph" "b" "bh" "m"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
384 "y" "r" nil "l" nil nil "v"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
385 "^s" ".s" "s" "h"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
386 nil nil nil nil nil nil nil nil
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
387 nil nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
388 (;; misc
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
389 nil ".m" ".h" "'" nil "." nil)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
390
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
391 (defun mapthread (function seq1 &rest seqrest)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
392 "Apply FUNCTION to each element of SEQ1 and return result list.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
393 If there are several SEQRESTs, FUNCTION is called with that many
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
394 arguments, with all possible combinations of these multiple SEQUENCES.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
395 Thus, if SEQ1 contains 3 elements and SEQ2 contains 5 elements, then
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
396 FUNCTION will be called 15 times."
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
397 (if seqrest
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
398 (mapcar
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
399 (lambda (x)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
400 (apply
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
401 'mapthread
42070
e904fde74072 (mapthread): Make a closure.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 42060
diff changeset
402 `(lambda (&rest y) (apply ',function x y))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
403 seqrest))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
404 seq1)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
405 (mapcar function seq1)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
406
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
407 (defun indian--puthash-char (char trans-char hashtbls)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
408 (let ((encode-hash (car hashtbls)) ;; char -> trans
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409 (decode-hash (cdr hashtbls)) ;; trans -> char
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410 )
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411 ;; char -- nil / char / string (/ list of vowel & matra)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
412 ;; trans-char -- nil / string / list of strings
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413 (when (and char trans-char)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
414 (if (stringp trans-char) (setq trans-char (list trans-char)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
415 (if (char-valid-p char) (setq char (char-to-string char)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
416 (puthash char (car trans-char) encode-hash)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
417 (mapc
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
418 (lambda (trans)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
419 (puthash trans char decode-hash))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
420 trans-char))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
421
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
422 (defun indian--map (f l1 l2)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
423 (while l1
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
424 (funcall f (pop l1) (pop l2))))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
425
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
426 (defun indian--puthash-v (v trans-v hashtbls)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
427 (indian--map
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
428 (lambda (v trans-v)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
429 (indian--puthash-char (car v) trans-v hashtbls))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
430 v trans-v))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
431
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
432 (defun indian--puthash-c (c trans-c halant hashtbls)
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
433 (indian--map
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
434 (lambda (c trans-c)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
435 (if (char-valid-p c) (setq c (char-to-string c)))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
436 (indian--puthash-char (concat c halant) trans-c hashtbls))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
437 c trans-c))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
439 (defun indian--puthash-m (m trans-m hashtbls)
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
440 (indian--map
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
441 (lambda (m trans-m)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
442 (indian--puthash-char m trans-m hashtbls))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443 m trans-m))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
444
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
445 (defun indian--puthash-cv (c trans-c v trans-v hashtbls)
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
446 (indian--map
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
447 (lambda (c trans-c)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
448 (indian--map
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
449 (lambda (v trans-v)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
450 (when (and c trans-c v trans-v)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
451 (if (char-valid-p c) (setq c (char-to-string c)))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
452 (setq v (if (char-valid-p (cadr v)) (char-to-string (cadr v)) ""))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
453 (if (stringp trans-c) (setq trans-c (list trans-c)))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
454 (if (stringp trans-v) (setq trans-v (list trans-v)))
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
455 (indian--puthash-char
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
456 (concat c v)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
457 (apply 'append
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
458 (mapthread 'concat trans-c trans-v))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
459 hashtbls)))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
460 v trans-v))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
461 c trans-c))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
462
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
463 (defun indian-make-hash (table trans-table)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
464 "Indian Transliteration Hash for decode/encode"
46223
e5298463efed (indian-make-hash): Switch makehash -> make-hash-table.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 42111
diff changeset
465 (let* ((encode-hash (make-hash-table :test 'equal))
e5298463efed (indian-make-hash): Switch makehash -> make-hash-table.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 42111
diff changeset
466 (decode-hash (make-hash-table :test 'equal))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
467 (hashtbls (cons encode-hash decode-hash))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
468 (vowels (elt table 0))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
469 (consonants (elt table 1))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
470 (misc (elt table 2))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
471 (digits (elt table 3))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
472 (halant (char-to-string (elt misc 4)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
473 (trans-vowels (elt trans-table 0))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
474 (trans-consonants (elt trans-table 1))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
475 (trans-misc (elt trans-table 2))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
476 (trans-digits '("0" "1" "2" "3" "4" "5" "6" "7" "8" "9")))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
477 (indian--puthash-v vowels trans-vowels hashtbls)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
478 (indian--puthash-c consonants trans-consonants halant hashtbls)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
479 (indian--puthash-cv consonants trans-consonants
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
480 vowels trans-vowels hashtbls)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
481 (indian--puthash-m misc trans-misc hashtbls)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
482 (indian--puthash-m digits trans-digits hashtbls)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
483 hashtbls))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
484
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
485 (defvar indian-dev-itrans-v5-hash
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
486 (indian-make-hash indian-dev-base-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
487 indian-itrans-v5-table))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
488 (defvar indian-dev-kyoto-harvard-hash
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
489 (indian-make-hash indian-dev-base-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
490 indian-kyoto-harvard-table))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
491 (defvar indian-dev-aiba-hash
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
492 (indian-make-hash indian-dev-base-table
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
493 indian-aiba-table))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
494
49703
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
495 (defvar indian-pnj-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
496 (indian-make-hash indian-pnj-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
497 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
498
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
499 (defvar indian-gjr-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
500 (indian-make-hash indian-gjr-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
501 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
502
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
503 (defvar indian-ori-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
504 (indian-make-hash indian-ori-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
505 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
506
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
507 (defvar indian-bng-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
508 (indian-make-hash indian-bng-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
509 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
510
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
511 (defvar indian-asm-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
512 (indian-make-hash indian-asm-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
513 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
514
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
515 (defvar indian-tlg-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
516 (indian-make-hash indian-tlg-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
517 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
518
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
519 (defvar indian-knd-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
520 (indian-make-hash indian-knd-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
521 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
522
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
523 (defvar indian-mlm-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
524 (indian-make-hash indian-mlm-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
525 indian-itrans-v5-table))
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
526
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
527 (defvar indian-tml-itrans-v5-hash
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
528 (indian-make-hash indian-tml-base-table
664f9896e442 (indian-dev-base-table): Table fixed.
Kenichi Handa <handa@m17n.org>
parents: 49662
diff changeset
529 indian-itrans-v5-table))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
530 )
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
531
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
532 (defmacro indian-translate-region (from to hashtable encode-p)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
533 `(save-excursion
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
534 (save-restriction
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
535 (let ((regexp ,(indian-regexp-of-hashtbl-keys
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
536 (if encode-p (car (eval hashtable))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
537 (cdr (eval hashtable))))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
538 (narrow-to-region from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
539 (goto-char (point-min))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
540 (while (re-search-forward regexp nil t)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
541 (let ((matchstr (gethash (match-string 0)
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
542 (if ,encode-p
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
543 (car ,hashtable)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
544 (cdr ,hashtable)))))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
545 (if matchstr (replace-match matchstr))))))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
546
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
547 ;;;
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
548
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
549 (defun indian-dev-itrans-v5-encode-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
550 (interactive "r")
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
551 (indian-translate-region
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
552 from to indian-dev-itrans-v5-hash t))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
553
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
554 (defun indian-dev-itrans-v5-decode-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
555 (interactive "r")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
556 (indian-translate-region
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
557 from to indian-dev-itrans-v5-hash nil))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
558
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
559 (defun indian-dev-kyoto-harvard-encode-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
560 (interactive "r")
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
561 (indian-translate-region
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
562 from to indian-dev-kyoto-harvard-hash t))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
563
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
564 (defun indian-dev-kyoto-harvard-decode-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
565 (interactive "r")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
566 (indian-translate-region
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
567 from to indian-dev-kyoto-harvard-hash nil))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
568
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
569 (defun indian-dev-aiba-encode-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
570 (interactive "r")
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
571 (indian-translate-region
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
572 from to indian-dev-aiba-hash t))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
573
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
574 (defun indian-dev-aiba-decode-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
575 (interactive "r")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
576 (indian-translate-region
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
577 from to indian-dev-aiba-hash nil))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
578
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
579
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
580
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
581
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
582 ;;; IS 13194 utilities
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
583
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
584 ;; The followings provide conversion between IS 13194 (ISCII) and UCS.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
585
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
586 (defvar ucs-devanagari-to-is13194-alist
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
587 '(;;Unicode vs IS13194 ;; only Devanagari is supported now.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
588 (?\x0900 . "[U+0900]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
589 (?\x0901 . "(5!(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
590 (?\x0902 . "(5"(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
591 (?\x0903 . "(5#(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
592 (?\x0904 . "[U+0904]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
593 (?\x0905 . "(5$(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
594 (?\x0906 . "(5%(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
595 (?\x0907 . "(5&(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
596 (?\x0908 . "(5'(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
597 (?\x0909 . "(5((B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
598 (?\x090a . "(5)(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
599 (?\x090b . "(5*(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
600 (?\x090c . "(5&i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
601 (?\x090d . "(5.(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
602 (?\x090e . "(5+(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
603 (?\x090f . "(5,(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
604 (?\x0910 . "(5-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
605 (?\x0911 . "(52(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
606 (?\x0912 . "(5/(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
607 (?\x0913 . "(50(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
608 (?\x0914 . "(51(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
609 (?\x0915 . "(53(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
610 (?\x0916 . "(54(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
611 (?\x0917 . "(55(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
612 (?\x0918 . "(56(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
613 (?\x0919 . "(57(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
614 (?\x091a . "(58(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
615 (?\x091b . "(59(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
616 (?\x091c . "(5:(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
617 (?\x091d . "(5;(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
618 (?\x091e . "(5<(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
619 (?\x091f . "(5=(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
620 (?\x0920 . "(5>(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
621 (?\x0921 . "(5?(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
622 (?\x0922 . "(5@(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
623 (?\x0923 . "(5A(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
624 (?\x0924 . "(5B(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
625 (?\x0925 . "(5C(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
626 (?\x0926 . "(5D(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
627 (?\x0927 . "(5E(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
628 (?\x0928 . "(5F(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
629 (?\x0929 . "(5G(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
630 (?\x092a . "(5H(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
631 (?\x092b . "(5I(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
632 (?\x092c . "(5J(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
633 (?\x092d . "(5K(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
634 (?\x092e . "(5L(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
635 (?\x092f . "(5M(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
636 (?\x0930 . "(5O(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
637 (?\x0931 . "(5P(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
638 (?\x0932 . "(5Q(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
639 (?\x0933 . "(5R(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
640 (?\x0934 . "(5S(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
641 (?\x0935 . "(5T(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
642 (?\x0936 . "(5U(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
643 (?\x0937 . "(5V(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
644 (?\x0938 . "(5W(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
645 (?\x0939 . "(5X(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
646 (?\x093a . "[U+093a]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
647 (?\x093b . "[U+093b]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
648 (?\x093c . "(5i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
649 (?\x093d . "(5ji(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
650 (?\x093e . "(5Z(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
651 (?\x093f . "(5[(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
652 (?\x0940 . "(5\(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
653 (?\x0941 . "(5](B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
654 (?\x0942 . "(5^(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
655 (?\x0943 . "(5_(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
656 (?\x0944 . "(5_i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
657 (?\x0945 . "(5c(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
658 (?\x0946 . "(5`(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
659 (?\x0947 . "(5a(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
660 (?\x0948 . "(5b(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
661 (?\x0949 . "(5g(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
662 (?\x094a . "(5d(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
663 (?\x094b . "(5e(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
664 (?\x094c . "(5f(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
665 (?\x094d . "(5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
666 (?\x094e . "[U+094e]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
667 (?\x094f . "[U+094f]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
668 (?\x0950 . "(5!i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
669 (?\x0951 . "(5p5(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
670 (?\x0952 . "(5p8(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
671 (?\x0953 . "[DEVANAGARI GRAVE ACCENT]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
672 (?\x0954 . "[DEVANAGARI ACUTE ACCENT]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
673 (?\x0955 . "[U+0955]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
674 (?\x0956 . "[U+0956]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
675 (?\x0957 . "[U+0957]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
676 (?\x0958 . "(53i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
677 (?\x0959 . "(54i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
678 (?\x095a . "(55i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
679 (?\x095b . "(5:i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
680 (?\x095c . "(5?i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
681 (?\x095d . "(5@i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
682 (?\x095e . "(5Ii(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
683 (?\x095f . "(5N(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
684 (?\x0960 . "(5*i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
685 (?\x0961 . "(5'i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
686 (?\x0962 . "(5[i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
687 (?\x0963 . "(5ei(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
688 (?\x0964 . "(5j(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
689 (?\x0965 . "(5jj(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
690 (?\x0966 . "(5q(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
691 (?\x0967 . "(5r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
692 (?\x0968 . "(5s(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
693 (?\x0969 . "(5t(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
694 (?\x096a . "(5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
695 (?\x096b . "(5v(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
696 (?\x096c . "(5w(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
697 (?\x096d . "(5x(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
698 (?\x096e . "(5y(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
699 (?\x096f . "(5z(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
700 (?\x0970 . "[U+0970]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
701 (?\x0971 . "[U+0971]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
702 (?\x0972 . "[U+0972]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
703 (?\x0973 . "[U+0973]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
704 (?\x0974 . "[U+0974]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
705 (?\x0975 . "[U+0975]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
706 (?\x0976 . "[U+0976]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
707 (?\x0977 . "[U+0977]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
708 (?\x0978 . "[U+0978]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
709 (?\x0979 . "[U+0979]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
710 (?\x097a . "[U+097a]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
711 (?\x097b . "[U+097b]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
712 (?\x097c . "[U+097c]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
713 (?\x097d . "[U+097d]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
714 (?\x097e . "[U+097e]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
715 (?\x097f . "[U+097f]")))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
716
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
717 (defvar ucs-bengali-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
718 (defvar ucs-assamese-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
719 (defvar ucs-gurmukhi-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
720 (defvar ucs-gujarati-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
721 (defvar ucs-oriya-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
722 (defvar ucs-tamil-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
723 (defvar ucs-telugu-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
724 (defvar ucs-malayalam-to-is13194-alist nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
725
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
726 (defvar is13194-default-repartory 'devanagari)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
727
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
728 (defvar is13194-repertory-to-ucs-script
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
729 `((DEF ?\x40 ,is13194-default-repartory)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
730 (RMN ?\x41 ,is13194-default-repartory)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
731 (DEV ?\x42 devanagari)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
732 (BNG ?\x43 bengali)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
733 (TML ?\x44 tamil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
734 (TLG ?\x45 telugu)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
735 (ASM ?\x46 bengali)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
736 (ORI ?\x47 oriya)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
737 (KND ?\x48 kannada)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
738 (MLM ?\x49 malayalam)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
739 (GJR ?\x4a gujarati)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
740 (PNJ ?\x4b gurmukhi)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
741
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
742 ;; for guiding find-variable function.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
743 (defvar is13194-to-ucs-devanagari-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
744 (defvar is13194-to-ucs-devanagari-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
745 (defvar is13194-to-ucs-bengali-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
746 (defvar is13194-to-ucs-bengali-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
747 (defvar is13194-to-ucs-assamese-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
748 (defvar is13194-to-ucs-assamese-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
749 (defvar is13194-to-ucs-gurmukhi-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
750 (defvar is13194-to-ucs-gurmukhi-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
751 (defvar is13194-to-ucs-gujarati-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
752 (defvar is13194-to-ucs-gujarati-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
753 (defvar is13194-to-ucs-oriya-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
754 (defvar is13194-to-ucs-oriya-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
755 (defvar is13194-to-ucs-tamil-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
756 (defvar is13194-to-ucs-tamil-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
757 (defvar is13194-to-ucs-telugu-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
758 (defvar is13194-to-ucs-telugu-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
759 (defvar is13194-to-ucs-malayalam-hashtbl nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
760 (defvar is13194-to-ucs-malayalam-regexp nil)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
761
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
762 (mapc
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
763 (function (lambda (script)
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
764 (let ((hashtable (intern (concat "is13194-to-ucs-"
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
765 (symbol-name script) "-hashtbl" )))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
766 (regexp (intern (concat "is13194-to-ucs-"
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
767 (symbol-name script) "-regexp"))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
768 (set hashtable (make-hash-table :test 'equal :size 128))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
769 (mapc
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
770 (function (lambda (x)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
771 (put-char-code-property (decode-char 'ucs (car x))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
772 'script script)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
773 (put-char-code-property (decode-char 'ucs (car x))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
774 'iscii (cdr x))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
775 (puthash (cdr x) (char-to-string (decode-char 'ucs (car x)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
776 (eval hashtable))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
777 (eval (intern (concat "ucs-" (symbol-name script)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
778 "-to-is13194-alist"))))
42060
f3b460667d31 (range): Function deleted.
Richard M. Stallman <rms@gnu.org>
parents: 42056
diff changeset
779 (set regexp (indian-regexp-of-hashtbl-keys (eval hashtable))))))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
780 '(devanagari bengali assamese gurmukhi gujarati
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
781 oriya tamil telugu malayalam))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
782
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
783 (defvar ucs-to-is13194-regexp
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
784 ;; only Devanagari is supported now.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
785 (concat "[" (char-to-string (decode-char 'ucs #x0900))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
786 "-" (char-to-string (decode-char 'ucs #x097f)) "]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
787 "Regexp that matches to conversion")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
788
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
789 (defun ucs-to-iscii-region (from to)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
790 "Converts the indian UCS characters in the region to ISCII.
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
791 Returns new end position."
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
792 (interactive "r")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
793 ;; only Devanagari is supported now.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
794 (save-excursion
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
795 (save-restriction
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
796 (narrow-to-region from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
797 (goto-char (point-min))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
798 (let* ((current-repertory is13194-default-repartory))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
799 (while (re-search-forward ucs-to-is13194-regexp nil t)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
800 (replace-match
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
801 (get-char-code-property (string-to-char (match-string 0))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
802 'iscii))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
803 (point-max))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
804
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
805 (defun iscii-to-ucs-region (from to)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
806 "Converts the ISCII characters in the region to UCS.
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
807 Returns new end position."
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
808 (interactive "r")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
809 ;; only Devanagari is supported now.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
810 (save-excursion
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
811 (save-restriction
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
812 (narrow-to-region from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
813 (goto-char (point-min))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
814 (let* ((current-repertory is13194-default-repartory)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
815 (current-hashtable
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
816 (intern (concat "is13194-to-ucs-"
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
817 (symbol-name current-repertory) "-hashtbl")))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
818 (current-regexp
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
819 (intern (concat "is13194-to-ucs-"
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
820 (symbol-name current-repertory) "-regexp"))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
821 (while (re-search-forward (eval current-regexp) nil t)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
822 (replace-match
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
823 (gethash (match-string 0) (eval current-hashtable) ""))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
824 (point-max))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
825
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
826 ;;;###autoload
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
827 (defun indian-compose-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
828 "Compose the region according to `composition-function-table'. "
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
829 (interactive "r")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
830 (save-excursion
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
831 (save-restriction
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
832 (let ((pos from) chars (max to))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
833 (narrow-to-region from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
834 (while (< pos max)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
835 (setq chars (compose-chars-after pos))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
836 (if chars (setq pos (+ pos chars)) (setq pos (1+ pos))))))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
837
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
838 ;;;###autoload
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
839 (defun indian-compose-string (string)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
840 (with-temp-buffer
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
841 (insert string)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
842 (indian-compose-region (point-min) (point-max))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
843 (buffer-string)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
844
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
845 ;;;###autoload
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
846 (defun in-is13194-post-read-conversion (len)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
847 (let ((pos (point)) endpos)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
848 (setq endpos (iscii-to-ucs-region pos (+ pos len)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
849 (indian-compose-region pos endpos)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
850 (- endpos pos)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
851
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
852 ;;;###autoload
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
853 (defun in-is13194-pre-write-conversion (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
854 (let ((buf (current-buffer)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
855 (set-buffer (generate-new-buffer " *temp*"))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
856 (if (stringp from)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
857 (insert from)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
858 (insert-buffer-substring buf from to))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
859 (ucs-to-iscii-region (point-min) (point-max))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
860 nil))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
861
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
862
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
863
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
864
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
865 ;;; Backward Compatibility support programs
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
866
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
867 ;; The followings provides the conversion from old-implementation of
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
868 ;; Emacs Devanagari script to UCS.
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
869
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
870 (defconst indian-2-colum-to-ucs
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
871 '(
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
872 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
873 ;;2120 $(5!!!"!#!$!%!&!'!(!)!*!+!,!-!.!/(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
874 ("$(5!!(B" . "$,15A(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
875 ("$(5!"(B" . "$,15B(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
876 ("$(5!#(B" . "$,15C(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
877 ("$(5!$(B" . "$,15E(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
878 ("$(5!%(B" . "$,15F(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
879 ("$(5!&(B" . "$,15G(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
880 ("$(5!'(B" . "$,15H(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
881 ("$(5!((B" . "$,15I(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
882 ("$(5!)(B" . "$,15J(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
883 ("$(5!*(B" . "$,15K(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
884 ("$(5!*"p(B" . "$,15p6#(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
885 ("$(5!+(B" . "$,15N(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
886 ("$(5!,(B" . "$,15O(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
887 ("$(5!-(B" . "$,15P(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
888 ("$(5!.(B" . "$,15M(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
889 ("$(5!/(B" . "$,15R(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
890 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
891 ;;2130 $(5!0!1!2!3!4!5!6!7!8!9!:!;!<!=!>!?(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
892 ("$(5!0(B" . "$,15S(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
893 ("$(5!1(B" . "$,15T(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
894 ("$(5!2(B" . "$,15Q(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
895 ("$(5!3(B" . "$,15U(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
896 ("$(5!4(B" . "$,15V(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
897 ("$(5!5(B" . "$,15W(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
898 ("$(5!6(B" . "$,15X(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
899 ("$(5!7(B" . "$,15Y(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
900 ("$(5!8(B" . "$,15Z(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
901 ("$(5!9(B" . "$,15[(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
902 ("$(5!:(B" . "$,15\(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
903 ("$(5!;(B" . "$,15](B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
904 ("$(5!<(B" . "$,15^(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
905 ("$(5!=(B" . "$,15_(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
906 ("$(5!>(B" . "$,15`(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
907 ("$(5!?(B" . "$,15a(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
908 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
909 ;;2140 $(5!@!A!B!C!D!E!F!G!H!I!J!K!L!M!N!O(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
910 ("$(5!@(B" . "$,15b(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
911 ("$(5!A(B" . "$,15c(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
912 ("$(5!B(B" . "$,15d(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
913 ("$(5!C(B" . "$,15e(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
914 ("$(5!D(B" . "$,15f(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
915 ("$(5!E(B" . "$,15g(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
916 ("$(5!F(B" . "$,15h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
917 ("$(5!G(B" . "$,15i(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
918 ("$(5!H(B" . "$,15j(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
919 ("$(5!I(B" . "$,15k(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
920 ("$(5!J(B" . "$,15l(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
921 ("$(5!K(B" . "$,15m(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
922 ("$(5!L(B" . "$,15n(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
923 ("$(5!M(B" . "$,15o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
924 ("$(5!N(B" . "$,16?(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
925 ("$(5!O(B" . "$,15p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
926 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
927 ;;2150 $(5!P!Q!R!S!T!U!V!W!X!Y!Z![!\!]!^!_(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
928 ("$(5!P(B" . "$,15q(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
929 ("$(5!Q(B" . "$,15r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
930 ("$(5!R(B" . "$,15s(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
931 ("$(5!S(B" . "$,15t(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
932 ("$(5!T(B" . "$,15u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
933 ("$(5!U(B" . "$,15v(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
934 ("$(5!V(B" . "$,15w(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
935 ("$(5!W(B" . "$,15x(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
936 ("$(5!X(B" . "$,15y(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
937 ("$(5!Z(B" . "$,15~(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
938 ("$(5![(B" . "$,15(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
939 ("$(5!\(B" . "$,16 (B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
940 ("$(5!](B" . "$,16!(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
941 ("$(5!^(B" . "$,16"(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
942 ("$(5!_(B" . "$,16#(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
943 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
944 ;;2160 $(5!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!o(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
945 ("$(5!`(B" . "$,16&(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
946 ("$(5!a(B" . "$,16'(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
947 ("$(5!b(B" . "$,16((B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
948 ("$(5!c(B" . "$,16%(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
949 ("$(5!d(B" . "$,16*(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
950 ("$(5!e(B" . "$,16+(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
951 ("$(5!f(B" . "$,16,(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
952 ("$(5!g(B" . "$,16)(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
953 ("$(5!h(B" . "$,16-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
954 ("$(5!i(B" . "$,15|(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
955 ("$(5!j(B" . "$,16D(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
956 ("$(5!j!j(B" . "$,16E(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
957 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
958 ;;2170 $(5!p!q!r!s!t!u!v!w!x!y!z!{!|!}!~(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
959 ("$(5!q(B" . "$,16F(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
960 ("$(5!r(B" . "$,16G(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
961 ("$(5!s(B" . "$,16H(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
962 ("$(5!t(B" . "$,16I(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
963 ("$(5!u(B" . "$,16J(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
964 ("$(5!v(B" . "$,16K(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
965 ("$(5!w(B" . "$,16L(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
966 ("$(5!x(B" . "$,16M(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
967 ("$(5!y(B" . "$,16N(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
968 ("$(5!z(B" . "$,16O(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
969 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
970 ;;2220 $(5"!"""#"$"%"&"'"(")"*"+","-"."/(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
971 ("$(5"!(B" . "$,16;6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
972 ("$(5""(B" . "$,16>6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
973 ("$(5"#(B" . "$,15U6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
974 ("$(5"$(B" . "$,15W6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
975 ("$(5"%(B" . "$,15d6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
976 ("$(5"&(B" . "$,15j6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
977 ("$(5"'(B" . "$,15k6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
978 ("$(5")(B" . "$,15v6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
979 ("$(5",(B" . "$,15p6!(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
980 ("$(5"-(B" . "$,15p6"(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
981 ("$(5".(B" . "$,15q6!(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
982 ("$(5"/(B" . "$,15q6"(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
983 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
984 ;;2230 $(5"0"1"2"3"4"5"6"7"8"9":";"<"=">"?(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
985 ("$(5"3(B" . "$,15U6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
986 ("$(5"4(B" . "$,15V6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
987 ("$(5"5(B" . "$,15W6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
988 ("$(5"6(B" . "$,15X6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
989 ("$(5"8(B" . "$,15Z6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
990 ("$(5"8"q(B" . "$,15Z6-5p6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
991 ("$(5":(B" . "$,15\6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
992 ("$(5";(B" . "$,15]6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
993 ("$(5"<(B" . "$,15^6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
994 ("$(5"<(B" . "$,15^6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
995 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
996 ;;2240 $(5"@"A"B"C"D"E"F"G"H"I"J"K"L"M"N"O(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
997 ("$(5"A(B" . "$,15c6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
998 ("$(5"B(B" . "$,15d6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
999 ("$(5"C(B" . "$,15e6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1000 ("$(5"E(B" . "$,15g6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1001 ("$(5"F(B" . "$,15h6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1002 ("$(5"G(B" . "$,15i6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1003 ("$(5"H(B" . "$,15j6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1004 ("$(5"I(B" . "$,15k6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1005 ("$(5"J(B" . "$,15l6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1006 ("$(5"J(B" . "$,15l6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1007 ("$(5"K(B" . "$,15m6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1008 ("$(5"L(B" . "$,15n6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1009 ("$(5"M(B" . "$,15o6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1010 ("$(5"N(B" . "$,16?6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1011 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1012 ;;2250 $(5"P"Q"R"S"T"U"V"W"X"Y"Z"["\"]"^"_(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1013 ("$(5"Q(B" . "$,15r6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1014 ("$(5"R(B" . "$,15s6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1015 ("$(5"S(B" . "$,15t6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1016 ("$(5"T(B" . "$,15u6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1017 ("$(5"U(B" . "$,15v6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1018 ("$(5"V(B" . "$,15w6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1019 ("$(5"W(B" . "$,15x6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1020 ("$(5"](B" . "$,16-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1021 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1022 ;;2260 $(5"`"a"b"c"d"e"f"g"h"i"j"k"l"m"n"o(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1023 ("$(5"`(B" . "$,15W6-5p6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1024 ("$(5"a(B" . "$,15X6-5h6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1025 ("$(5"c(B" . "$,15d6-5d6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1026 ("$(5"d(B" . "$,15d6-5p6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1027 ("$(5"e(B" . "$,15g6-5h6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1028 ("$(5"f(B" . "$,15g6-5p6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1029 ("$(5"g(B" . "$,15j6-5d6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1030 ("$(5"h(B" . "$,15v6-5Z6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1031 ("$(5"i(B" . "$,15v6-5p6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1032 ("$(5"j(B" . "$,15v6-5u6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1033 ("$(5"k(B" . "$,15h6-5h6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1034 ("$(5"l(B" . "$,15U6-5w6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1035 ("$(5"m(B" . "$,15\6-5^6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1036 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1037 ;;2270 $(5"p"q"r"s"t"u"v"w"x"y"z"{"|"}"~(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1038 ("$(5"p(B" . "$,15p6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1039 ("$(5"q(B" . "$,16-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1040 ("$(5"r(B" . "$,16-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1041 ("$(5"s(B" . "$,1686-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1042 ("$(5"t(B" . "$,1696-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1043 ("$(5"u(B" . "$,16:6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1044 ("$(5"y(B" . "$,16>6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1045 ("$(5"z(B" . "$,16;6-(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1046 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1047 ;;2320 $(5#!#"###$#%#&#'#(#)#*#+#,#-#.#/(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1048 ("$(5#!(B" . "$,160(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1049 ("$(5#&(B" . "$,15L(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1050 ("$(5#&"p(B" . "$,15p6$(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1051 ("$(5#'(B" . "$,16A(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1052 ("$(5#'"p(B" . "$,15p6C(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1053 ("$(5#*(B" . "$,16@(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1054 ("$(5#*"p(B" . "$,15p6B(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1055 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1056 ;;2330 $(5#0#1#2#3#4#5#6#7#8#9#:#;#<#=#>#?(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1057 ("$(5#3(B" . "$,168(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1058 ("$(5#4(B" . "$,169(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1059 ("$(5#5(B" . "$,16:(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1060 ("$(5#:(B" . "$,16;(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1061 ("$(5#?(B" . "$,16<(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1062 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1063 ;;2340 $(5#@#A#B#C#D#E#F#G#H#I#J#K#L#M#N#O(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1064 ("$(5#@(B" . "$,16=(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1065 ("$(5#I(B" . "$,16>(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1066 ("$(5#J(B" . "$,15}(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1067 ("$(5#K(B" . "$,16$(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1068 ("$(5#L(B" . "$,16B(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1069 ("$(5#M(B" . "$,16C(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1070 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1071 ;;2350 $(5#P#Q#R#S#T#U#V#W#X#Y#Z#[#\#]#^#_(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1072 ("$(5#P(B" . "$,15n6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1073 ("$(5#Q(B" . "$,15n6-5r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1074 ("$(5#R(B" . "$,15y6#(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1075 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1076 ;;2360 $(5#`#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1077 ("$(5#`(B" . "$,15r6-5r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1078 ("$(5#a(B" . "$,15u6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1079 ("$(5#b(B" . "$,15u6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1080 ("$(5#c(B" . "$,15v6-5Z(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1081 ("$(5#d(B" . "$,15v6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1082 ("$(5#e(B" . "$,15v6-5l(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1083 ("$(5#f(B" . "$,15v6-5r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1084 ("$(5#g(B" . "$,15v6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1085 ("$(5#h(B" . "$,15w6-5_6-5p6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1086 ("$(5#i(B" . "$,15w6-5_6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1087 ("$(5#j(B" . "$,15w6-5_6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1088 ("$(5#k(B" . "$,15w6-5_(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1089 ("$(5#l(B" . "$,15w6-5`(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1090 ("$(5#m(B" . "$,15x6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1091 ("$(5#n(B" . "$,15x6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1092 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1093 ;;2370 $(5#p#q#r#s#t#u#v#w#x#y#z#{#|#}#~(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1094 ("$(5#p(B" . "$,15y6-5c(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1095 ("$(5#q(B" . "$,15y6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1096 ("$(5#r(B" . "$,15y6-5n(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1097 ("$(5#s(B" . "$,15y6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1098 ("$(5#t(B" . "$,15y6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1099 ("$(5#u(B" . "$,15y6-5r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1100 ("$(5#v(B" . "$,15y6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1101 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1102 ;;2420 $(5$!$"$#$$$%$&$'$($)$*$+$,$-$.$/(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1103 ("$(5$!(B" . "$,15U6-5d6-5p6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1104 ("$(5$"(B" . "$,15U6-5d6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1105 ("$(5$#(B" . "$,15U6-5d6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1106 ("$(5$$(B" . "$,15U6-5h6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1107 ("$(5$%(B" . "$,15U6-5p6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1108 ("$(5$&(B" . "$,15U6-5u6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1109 ("$(5$'(B" . "$,15U6-5U(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1110 ("$(5$((B" . "$,15U6-5d(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1111 ("$(5$)(B" . "$,15U6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1112 ("$(5$*(B" . "$,15U6-5n(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1113 ("$(5$+(B" . "$,15U6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1114 ("$(5$,(B" . "$,15U6-5r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1115 ("$(5$-(B" . "$,15U6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1116 ("$(5$.(B" . "$,15U6-5w(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1117 ("$(5$/(B" . "$,15X6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1118 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1119 ;;2430 $(5$0$1$2$3$4$5$6$7$8$9$:$;$<$=$>$?(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1120 ("$(5$0(B" . "$,15Y6-5U6-5d6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1121 ("$(5$1(B" . "$,15Y6-5U6-5w6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1122 ("$(5$2(B" . "$,15Y6-5U6-5d(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1123 ("$(5$3(B" . "$,15Y6-5U6-5w(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1124 ("$(5$4(B" . "$,15Y6-5X6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1125 ("$(5$5(B" . "$,15Y6-5U6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1126 ("$(5$6(B" . "$,15Y6-5V6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1127 ("$(5$7(B" . "$,15Y6-5W6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1128 ("$(5$8(B" . "$,15Y6-5X6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1129 ("$(5$9(B" . "$,15Y6-5U(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1130 ("$(5$:(B" . "$,15Y6-5V(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1131 ("$(5$;(B" . "$,15Y6-5W(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1132 ("$(5$<(B" . "$,15Y6-5X(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1133 ("$(5$=(B" . "$,15Y6-5Y(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1134 ("$(5$>(B" . "$,15Y6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1135 ("$(5$?(B" . "$,15Y6-5n(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1136 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1137 ;;2440 $(5$@$A$B$C$D$E$F$G$H$I$J$K$L$M$N$O(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1138 ("$(5$@(B" . "$,15Y6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1139 ("$(5$A(B" . "$,15Z6-5Z(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1140 ("$(5$B(B" . "$,15Z6-5^(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1141 ("$(5$C(B" . "$,15[6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1142 ("$(5$D(B" . "$,15\6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1143 ("$(5$E(B" . "$,15\6-5^(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1144 ("$(5$F(B" . "$,15^6-5Z(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1145 ("$(5$G(B" . "$,15^6-5\(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1146 ("$(5$H(B" . "$,15_6-5U(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1147 ("$(5$I(B" . "$,15_6-5_(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1148 ("$(5$J(B" . "$,15_6-5`(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1149 ("$(5$K(B" . "$,15_6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1150 ("$(5$L(B" . "$,15`6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1151 ("$(5$M(B" . "$,15a6-5W6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1152 ("$(5$N(B" . "$,15a6-5X6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1153 ("$(5$O(B" . "$,15a6-5p6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1154 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1155 ;;2450 $(5$P$Q$R$S$T$U$V$W$X$Y$Z$[$\$]$^$_(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1156 ("$(5$P(B" . "$,15a6-5W(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1157 ("$(5$Q(B" . "$,15a6-5X(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1158 ("$(5$R(B" . "$,15a6-5a(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1159 ("$(5$S(B" . "$,15a6-5n(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1160 ("$(5$T(B" . "$,15a6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1161 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1162 ;;2460 $(5$`$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1163 ("$(5$`(B" . "$,15b6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1164 ("$(5$a(B" . "$,15d6-5d(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1165 ("$(5$b(B" . "$,15d6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1166 ("$(5$c(B" . "$,15f6-5f6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1167 ("$(5$d(B" . "$,15f6-5g6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1168 ("$(5$e(B" . "$,15f6-5m6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1169 ("$(5$f(B" . "$,15f6-5p6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1170 ("$(5$g(B" . "$,15f6-5u6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1171 ("$(5$h(B" . "$,15f6-5W6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1172 ("$(5$i(B" . "$,15f6-5X6-5p(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1173 ("$(5$j(B" . "$,15f6-5f6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1174 ("$(5$k(B" . "$,15f6-5g6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1175 ("$(5$l(B" . "$,15f6-5W(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1176 ("$(5$m(B" . "$,15f6-5X(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1177 ("$(5$n(B" . "$,15f6-5f(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1178 ("$(5$o(B" . "$,15f6-5g(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1179 ;; 0 1 2 3 4 5 6 7 8 9 a b c d e f
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1180 ;;2470 $(5$p$q$r$s$t$u$v$w$x$y$z${$|$}$~(B
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1181 ("$(5$p(B" . "$,15f6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1182 ("$(5$q(B" . "$,15f6-5l(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1183 ("$(5$r(B" . "$,15f6-5m(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1184 ("$(5$s(B" . "$,15f6-5n(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1185 ("$(5$t(B" . "$,15f6-5o(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1186 ("$(5$u(B" . "$,15f6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1187 ("$(5$v(B" . "$,15g6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1188 ("$(5$w(B" . "$,15h6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1189 ("$(5$x(B" . "$,15j6-5d(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1190 ("$(5$y(B" . "$,15j6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1191 ("$(5$z(B" . "$,15j6-5r(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1192 ("$(5${(B" . "$,15l6-5h(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1193 ("$(5$|(B" . "$,15l6-5l(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1194 ("$(5$}(B" . "$,15l6-5u(B")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1195 ("$(5$~(B" . "$,15m6-5h(B")))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1196
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1197 (defconst indian-2-column-to-ucs-regexp
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1198 "$(5!j!j(B\\|$(5"8"q(B\\|[$(5#&#'!*#*(B]$(5"p(B\\|[$(5!!(B-$(5$~(B]")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1199
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1200 (put 'indian-2-column-to-ucs-chartable 'char-table-extra-slots 1)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1201 (defconst indian-2-column-to-ucs-chartable
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1202 (let ((table (make-char-table 'indian-2-column-to-ucs-chartable))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1203 (alist nil))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1204 (dolist (elt indian-2-colum-to-ucs)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1205 (if (= (length (car elt)) 1)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1206 (aset table (aref (car elt) 0) (cdr elt))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1207 (setq alist (cons elt alist))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1208 (set-char-table-extra-slot table 0 alist)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1209 table))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1210
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1211 (defun indian-2-column-to-ucs-region (from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1212 "Convert old Emacs Devanagari characters to UCS."
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1213 (interactive "r")
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1214 (save-excursion
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1215 (save-restriction
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1216 (let ((pos from)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1217 (alist (char-table-extra-slot indian-2-column-to-ucs-chartable 0)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1218 (narrow-to-region from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1219 (decompose-region from to)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1220 (goto-char (point-min))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1221 (while (re-search-forward indian-2-column-to-ucs-regexp nil t)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1222 (let ((len (- (match-end 0) (match-beginning 0)))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1223 subst)
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1224 (if (= len 1)
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1225 (setq subst (aref indian-2-column-to-ucs-chartable
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1226 (char-after (match-beginning 0))))
50528
dae46d521201 (indian-2-column-to-ucs-region): Fix for
Kenichi Handa <handa@m17n.org>
parents: 49703
diff changeset
1227 (setq subst (cdr (assoc (match-string 0) alist))))
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1228 (replace-match (if subst subst "?"))))
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1229 (indian-compose-region (point-min) (point-max))))))
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1230
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1231 ;;;###autoload
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1232 (defun indian-glyph-char (index &optional script)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1233 "Return character of charset `indian-glyph' made from glyph index INDEX.
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1234 The variable `indian-default-script' specifies the script of the glyph.
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1235 Optional argument SCRIPT, if non-nil, overrides `indian-default-script'.
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1236 See also the function `indian-char-glyph'."
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1237 (or script
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1238 (setq script indian-default-script))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1239 (let ((offset (get script 'indian-glyph-code-offset)))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1240 (or (integerp offset)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1241 (error "Invalid script name: %s" script))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1242 (or (and (>= index 0) (< index 256))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1243 (error "Invalid glyph index: %d" index))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1244 (setq index (+ offset index))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1245 (make-char 'indian-glyph (+ (/ index 96) 32) (+ (% index 96) 32))))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1246
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1247 (defvar indian-glyph-max-char
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1248 (indian-glyph-char
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1249 255 (aref indian-script-table (1- (length indian-script-table))))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1250 "The maximum valid code of characters in the charset `indian-glyph'.")
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1251
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1252 ;;;###autoload
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1253 (defun indian-char-glyph (char)
42111
d8f14ecc9a2e (indian-char-glyph): Fix typo in doc-string.
Pavel Janík <Pavel@Janik.cz>
parents: 42070
diff changeset
1254 "Return information about the glyph code for CHAR of `indian-glyph' charset.
42056
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1255 The value is (INDEX . SCRIPT), where INDEX is the glyph index
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1256 in the font that Indian script name SCRIPT specifies.
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1257 See also the function `indian-glyph-char'."
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1258 (let ((split (split-char char))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1259 code)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1260 (or (eq (car split) 'indian-glyph)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1261 (error "Charset of `%c' is not indian-glyph" char))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1262 (or (<= char indian-glyph-max-char)
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1263 (error "Invalid indian-glyph char: %d" char))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1264 (setq code (+ (* (- (nth 1 split) 32) 96) (nth 2 split) -32))
6ef6e34cdba4 Don't require cl.
Dave Love <fx@gnu.org>
parents: 41470
diff changeset
1265 (cons (% code 256) (aref indian-script-table (/ code 256)))))
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
1266
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1267 (provide 'ind-util)
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46223
diff changeset
1268
41470
a43bf477cba7 New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1269 ;;; ind-util.el ends here