]> code.delx.au - gnu-emacs/blob - lisp/language/lao.el
*** empty log message ***
[gnu-emacs] / lisp / language / lao.el
1 ;;; lao.el --- support for Lao -*- coding: iso-2022-7bit; no-byte-compile: t -*-
2
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 2001 Free Software Foundation, Inc.
6 ;; Copyright (C) 2003
7 ;; National Institute of Advanced Industrial Science and Technology (AIST)
8 ;; Registration Number H13PRO009
9
10 ;; Keywords: multilingual, Lao
11
12 ;; This file is part of GNU Emacs.
13
14 ;; GNU Emacs is free software; you can redistribute it and/or modify
15 ;; it under the terms of the GNU General Public License as published by
16 ;; the Free Software Foundation; either version 2, or (at your option)
17 ;; any later version.
18
19 ;; GNU Emacs is distributed in the hope that it will be useful,
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;; GNU General Public License for more details.
23
24 ;; You should have received a copy of the GNU General Public License
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
26 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
27 ;; Boston, MA 02111-1307, USA.
28
29 ;;; Commentary:
30
31 ;;; Code:
32
33 (define-coding-system 'lao
34 "8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)."
35 :coding-type 'charset
36 :mnemonic ?L
37 :charset-list '(lao))
38
39 (set-language-info-alist
40 "Lao" '((charset lao)
41 (coding-system lao)
42 (coding-priority lao)
43 (input-method . "lao")
44 (unibyte-display . lao)
45 (features lao-util)
46 (documentation . t)))
47
48 ;; For automatic composition.
49 (let ((chars "\e(1QTUVWXY[\hijklm\e(B"))
50 (dotimes (i (length chars))
51 (aset composition-function-table (aref chars i)
52 'lao-composition-function)))
53
54 (provide 'lao)
55
56 ;;; lao.el ends here