]> code.delx.au - gnu-emacs/blob - lisp/language/devanagari.el
Merge from emacs--devo--0
[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, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4 ;; Free Software Foundation, Inc.
5
6 ;; Maintainer: KAWABATA, Taichi <kawabata@m17n.org>
7 ;; Keywords: multilingual, Indian, Devanagari
8
9 ;; This file is part of GNU Emacs.
10
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
15
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 ;; Boston, MA 02110-1301, USA.
25
26 ;;; Commentary:
27
28 ;; This file defines language-info of Devanagari script, and provides
29 ;; compatibility support of old implementation of Devanagari script.
30
31 ;;; Code:
32
33 (set-language-info-alist
34 "Devanagari" '((charset indian-is13194 mule-unicode-0100-24ff
35 indian-2-column indian-glyph ;; comment out later
36 )
37 (coding-system in-is13194-devanagari)
38 (coding-priority in-is13194-devanagari)
39 (input-method . "dev-aiba")
40 (features devan-util)
41 (documentation . "\
42 Such languages using Devanagari script as Hindi and Marathi
43 are supported in this language environment."))
44 '("Indian"))
45
46 ;; For automatic composition.
47 (dolist (range '((#x0903 . #x0903)
48 (#x0905 . #x0939)
49 (#x0958 . #x0961)))
50 (set-char-table-range composition-function-table range
51 'devanagari-composition-function))
52
53 (provide 'devanagari)
54
55 ;;; arch-tag: fd13667d-868b-41e8-81ef-79dd28bbfed2
56 ;;; devanagari.el ends here