(default-coded-charset-priority-list): Add `=big5-cdp-var-010'.
[chise/xemacs-chise.git.1] / lisp / mule / viet-chars.el
1 ;;; vietnamese-chars.el --- pre-loaded support for Vietnamese, part 1.
2
3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
4 ;; Copyright (C) 1995 Amdahl Corporation.
5 ;; Copyright (C) 1995 Sun Microsystems.
6
7 ;; This file is part of XEmacs.
8
9 ;; XEmacs is free software; you can redistribute it and/or modify it
10 ;; under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation; either version 2, or (at your option)
12 ;; any later version.
13
14 ;; XEmacs is distributed in the hope that it will be useful, but
15 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ;; General Public License for more details.
18
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with XEmacs; see the file COPYING.  If not, write to the 
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 ;; Boston, MA 02111-1307, USA.
23
24 ;;; Synched up with: Mule 2.3.
25
26 ;; We have to split up the Vietnamese stuff into two files because
27 ;; we are registering new charsets and then immediately using characters
28 ;; from those sets.  We cannot reliably expect this to work if they
29 ;; are in the same file because of the buffering that happens while
30 ;; reading -- the place where we use the newly-defined sets may be
31 ;; read in before the code that creates those sets is evaluated.
32
33 ;; Vietnamese VISCII with two tables.
34 (unless (featurep 'utf-2000)
35   (make-charset 'latin-viscii-lower "VISCII lower (Vietnamese)"
36                 '(registry "VISCII1.1"
37                   dimension 1
38                   chars 96
39                   final ?1
40                   graphic 1
41                   ))
42
43   (make-charset 'latin-viscii-upper "VISCII upper (Vietnamese)"
44                 '(registry "VISCII1.1"
45                   dimension 1
46                   chars 96
47                   final ?2
48                   graphic 1
49                   ))
50   )
51
52 (define-charset-alias 'vietnamese-viscii-lower 'latin-viscii-lower)
53 (define-charset-alias 'vietnamese-viscii-upper 'latin-viscii-upper)
54
55 (modify-syntax-entry 'vietnamese-viscii-lower "w")
56 (modify-syntax-entry 'vietnamese-viscii-upper "w")
57
58 (define-category ?v "Vietnamese character.")
59 (modify-category-entry 'vietnamese-viscii-lower ?v)
60 (modify-category-entry 'vietnamese-viscii-upper ?v)
61
62 ;;; vietnamese-chars.el ends here