annotate lisp/language/indian.el @ 94291:171ae2941bb8

(speedbar-use-tool-tips-flag, speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp, speedbar-file-regexp, speedbar-message, speedbar-item-info, speedbar-files-item-info, speedbar-maybe-add-localized-support, speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list, speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list, speedbar-fetch-replacement-function, speedbar-extract-one-symbol, speedbar-separator-face): Fix typos in docstrings. (speedbar-stealthy-function-list, speedbar-verbosity-level) (speedbar-supported-extension-expressions, speedbar-update-current-file) (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring. (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions) (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame) (speedbar-show-info-under-mouse, speedbar-directory-buttons) (speedbar-check-vc-this-line, speedbar-files-line-directory) (speedbar-buffer-buttons, speedbar-buffer-buttons-temp) (speedbar-buffers-line-directory, speedbar-recenter-to-top) (speedbar-recenter): Doc fixes. (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence declaration and remove redundant info in docstring.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 23 Apr 2008 04:46:10 +0000
parents 1e3a407766b9
children 55b7f25d920a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
1 ;;; indian.el --- Indian languages support -*- coding: utf-8; -*-
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
79711
b5d3fc1c4afe Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78309
diff changeset
3 ;; Copyright (C) 1997, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
74544
43cc94d955c2 Update copyright years.
Glenn Morris <rgm@gnu.org>
parents: 64085
diff changeset
4 ;; Free Software Foundation, Inc.
79711
b5d3fc1c4afe Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78309
diff changeset
5 ;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
62396
197607499a29 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 57537
diff changeset
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
197607499a29 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 57537
diff changeset
7 ;; Registration Number H14PRO021
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
9 ;; Maintainer: Kenichi Handa <handa@m17n.org>
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
10 ;; KAWABATA, Taichi <kawabata@m17n.org>
42312
c7ffa58f9637 Add keyword.
Pavel Janík <Pavel@Janik.cz>
parents: 42152
diff changeset
11 ;; Keywords: multilingual, i18n, Indian
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;; This file is part of GNU Emacs.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is free software; you can redistribute it and/or modify
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 ;; it under the terms of the GNU General Public License as published by
78309
0938de05f510 Restore comma mistakenly removed in last change.
Glenn Morris <rgm@gnu.org>
parents: 78300
diff changeset
17 ;; the Free Software Foundation; either version 3, or (at your option)
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;; any later version.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 ;; GNU Emacs is distributed in the hope that it will be useful,
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23 ;; GNU General Public License for more details.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 ;; You should have received a copy of the GNU General Public License
17314
f438ebf1c679 Fix FSF address in comment.
Kenichi Handa <handa@m17n.org>
parents: 17300
diff changeset
26 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64085
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62396
diff changeset
27 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62396
diff changeset
28 ;; Boston, MA 02110-1301, USA.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30 ;;; Commentary:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
31
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
32 ;; This file contains definitions of Indian language environments, and
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
33 ;; setups for displaying the scrtipts used there.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
34
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
35 ;;; Code:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
36
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
37 (define-coding-system 'in-is13194-devanagari
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
38 "8-bit encoding for ASCII (MSB=0) and IS13194-Devanagari (MSB=1)."
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
39 :coding-type 'iso-2022
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
40 :mnemonic ?D
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
41 :designation [ascii indian-is13194 nil nil]
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
42 :charset-list '(ascii indian-is13194)
89239
976a610d28e1 (in-is13194-devanagari): Fix
Kenichi Handa <handa@m17n.org>
parents: 89095
diff changeset
43 :post-read-conversion 'in-is13194-post-read-conversion
976a610d28e1 (in-is13194-devanagari): Fix
Kenichi Handa <handa@m17n.org>
parents: 89095
diff changeset
44 :pre-write-conversion 'in-is13194-pre-write-conversion)
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
45
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
46 (define-coding-system-alias 'devanagari 'in-is13194-devanagari)
46743
d341cac00baf (in-is13194): Give correct `safe-chars' property.
Kenichi Handa <handa@m17n.org>
parents: 42312
diff changeset
47
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
48 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
49 "Devanagari" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
50 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
51 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
52 (input-method . "dev-aiba")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
53 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
54 Such languages using Devanagari script as Hindi and Marathi
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
55 are supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
56 '("Indian"))
50256
104cf4fa2a8e (indian-font-foundry): New variable.
Kenichi Handa <handa@m17n.org>
parents: 49704
diff changeset
57
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
58 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
59 "Bengali" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
60 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
61 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
62 (input-method . "bengali-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
63 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
64 Such languages using Bengali script as Bengali and Assamese
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
65 are supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
66 '("Indian"))
50256
104cf4fa2a8e (indian-font-foundry): New variable.
Kenichi Handa <handa@m17n.org>
parents: 49704
diff changeset
67
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
68 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
69 "Punjabi" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
70 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
71 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
72 (input-method . "punjabi-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
73 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
74 North Indian language Punjabi is supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
75 '("Indian"))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
76
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
77 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
78 "Gujarati" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
79 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
80 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
81 (input-method . "gujarati-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
82 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
83 North Indian language Gujarati is supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
84 '("Indian"))
50256
104cf4fa2a8e (indian-font-foundry): New variable.
Kenichi Handa <handa@m17n.org>
parents: 49704
diff changeset
85
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
86 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
87 "Oriya" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
88 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
89 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
90 (input-method . "oriya-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
91 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
92 Such languages using Oriya script as Oriya, Khonti, and Santali
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
93 are supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
94 '("Indian"))
57537
b9687fdf909d (indian-script-language-alist): Swap value and doc.
Kim F. Storm <storm@cua.dk>
parents: 52401
diff changeset
95
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
96 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
97 "Tamil" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
98 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
99 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
100 (input-method . "tamil-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
101 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
102 South Indian Language Tamil is supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
103 '("Indian"))
57537
b9687fdf909d (indian-script-language-alist): Swap value and doc.
Kim F. Storm <storm@cua.dk>
parents: 52401
diff changeset
104
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
105 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
106 "Telugu" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
107 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
108 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
109 (input-method . "telugu-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
110 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
111 South Indian Language Telugu is supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
112 '("Indian"))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
113
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
114 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
115 "Kannada" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
116 (coding-system mule-utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
117 (coding-priority mule-utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
118 (input-method . "kannada-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
119 (sample-text . "Kannada (ಕನ್ನಡ) ನಮಸ್ಕಾರ")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
120 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
121 Kannada language and script is supported in this language
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
122 environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
123 '("Indian"))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
124
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
125 (set-language-info-alist
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
126 "Malayalam" '((charset unicode)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
127 (coding-system utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
128 (coding-priority utf-8)
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
129 (input-method . "malayalam-itrans")
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
130 (documentation . "\
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
131 South Indian language Malayalam is supported in this language environment."))
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
132 '("Indian"))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
133
91322
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
134 (let ((script-regexp-alist
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
135 '((devanagari . "[\x900-\x9FF\x200C\x200D]+")
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
136 (bengali . "[\x980-\x9FF\x200C\x200D]+")
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
137 (gurmukhi . "[\xA00-\xA7F\x200C\x200D]+")
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
138 (gujarati . "[\xA80-\xAFF\x200C\x200D]+")
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
139 (oriya . "[\xB00-\xB7F\x200C\x200D]+")
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
140 (tamil . "[\xB80-\xBFF\x200C\x200D]+")
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
141 (telugu . "[\xC00-\xC7F\x200C\x200D]+")
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
142 (kannada . "[\xC80-\xCFF\x200C\x200D]+")
92067
e687db4e3832 (indian-font-foundry)
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
143 (malayalam . "[\xD00-\xD7F\x200C\x200D]+"))))
91322
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
144 (map-char-table #'(lambda (key val)
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
145 (let ((slot (assq val script-regexp-alist)))
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
146 (if slot
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
147 (set-char-table-range
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
148 composition-function-table key
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
149 (list (cons (cdr slot) 'font-shape-text))))))
fc05151881d9 Set font-shape-text for all Indic characters
Kenichi Handa <handa@m17n.org>
parents: 90996
diff changeset
150 char-script-table))
50256
104cf4fa2a8e (indian-font-foundry): New variable.
Kenichi Handa <handa@m17n.org>
parents: 49704
diff changeset
151
33778
6d966e8b4bbe Use provide.
Dave Love <fx@gnu.org>
parents: 23158
diff changeset
152 (provide 'indian)
41469
f091948e4d1c Completely re-written.
Richard M. Stallman <rms@gnu.org>
parents: 38436
diff changeset
153
93975
1e3a407766b9 Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 92067
diff changeset
154 ;; arch-tag: 83aa8fc7-7ee2-4364-a6e5-498f5e3b8c2f
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
155 ;;; indian.el ends here