]> code.delx.au - gnu-emacs/blob - lisp/language/devanagari.el
*** empty log message ***
[gnu-emacs] / lisp / language / devanagari.el
1 ;;; devanagari.el --- Support for Devanagari -*- coding: iso-2022-7bit; no-byte-compile: t -*-
2
3 ;; Copyright (C) 1996, 2001 Free Software Foundation, Inc.
4
5 ;; Maintainer: KAWABATA, Taichi <kawabata@m17n.org>
6 ;; Keywords: multilingual, Indian, Devanagari
7
8 ;; This file is part of GNU Emacs.
9
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; any later version.
14
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
24
25 ;;; Commentary:
26
27 ;; This file defines language-info of Devanagari script, and provides
28 ;; compatibility support of old implementation of Devanagari script.
29
30 ;;; Code:
31
32 (set-language-info-alist
33 "Devanagari" '((charset indian-is13194 mule-unicode-0100-24ff
34 indian-2-column indian-glyph ;; comment out later
35 )
36 (coding-system in-is13194-devanagari)
37 (coding-priority in-is13194-devanagari)
38 (input-method . "dev-aiba")
39 (features devan-util)
40 (documentation . "\
41 Such languages using Devanagari script as Hindi and Marathi
42 are supported in this language environment."))
43 '("Indian"))
44
45 ;; For automatic composition.
46 (dolist (range '((#x0903 . #x0903)
47 (#x0905 . #x0939)
48 (#x0958 . #x0961)))
49 (set-char-table-range composition-function-table range
50 'devanagari-composition-function))
51
52 (provide 'devanagari)
53
54 ;;; devanagari.el ends here