comparison lisp/mule/lao.el @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents
children 2923009caf47
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
1 ;;; lao.el --- Support for Lao -*- coding: iso-2022-7bit; -*-
2
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5
6 ;; Keywords: multilingual, Lao
7
8 ;; This file is part of XEmacs.
9
10 ;; XEmacs is free software; you can redistribute it and/or modify it
11 ;; 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 ;; XEmacs is distributed in the hope that it will be useful, but
16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ;; General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with XEmacs; see the file COPYING. If not, write to the Free
22 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23 ;; 02111-1307, USA.
24
25 ;;; Synched up with: Emacs 21.0.103 (language/lao.el).
26
27 ;;; Code:
28
29 ; (make-coding-system
30 ; 'lao 2 ?L
31 ; "8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)"
32 ; '(ascii lao nil nil
33 ; nil nil)
34 ; '((safe-charsets ascii lao)))
35
36 (make-coding-system
37 'lao 'iso2022 "Lao"
38 '(charset-g0 ascii
39 charset-g1 lao
40 mnemonic "Lao"
41 safe-charsets (ascii lao)
42 documentation "8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)"))
43
44 (set-language-info-alist
45 "Lao" '((charset lao)
46 (coding-system lao)
47 (coding-priority lao)
48 (input-method . "lao")
49 (nonascii-translation . lao)
50 (unibyte-display . lao)
51 (features lao-util)
52 (documentation . t)))
53
54 (aset use-default-ascent ?(1;(B t)
55 (aset use-default-ascent ?(1=(B t)
56 (aset use-default-ascent ?(1?(B t)
57 (aset use-default-ascent ?(1B(B t)
58 (aset ignore-relative-composition ?(1\(B t)
59
60 ;; Register a function to compose Lao characters.
61 (aset composition-function-table (make-char 'lao)
62 '(("\\c0\\c9?\\(\\(\\c2\\|\\c3\\)\\c4?\\|\\c4\\)?"
63 . lao-composition-function)))
64
65 (provide 'lao)
66
67 ;;; lao.el ends here