annotate lisp/mule/viet-chars.el @ 478:09855058eefc

[xemacs-hg @ 2001-04-19 06:59:50 by martinb]
author martinb
date Thu, 19 Apr 2001 06:59:50 +0000
parents 4f79e16b1112
children 7039e6323819
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
1 ;;; vietnamese-chars.el --- pre-loaded support for Vietnamese, part 1.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
2
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
4 ;; Copyright (C) 1995 Amdahl Corporation.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
5 ;; Copyright (C) 1995 Sun Microsystems.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
6
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
7 ;; This file is part of XEmacs.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
8
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
9 ;; XEmacs is free software; you can redistribute it and/or modify it
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
10 ;; under the terms of the GNU General Public License as published by
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
12 ;; any later version.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
13
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
14 ;; XEmacs is distributed in the hope that it will be useful, but
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
15 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
17 ;; General Public License for more details.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
18
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
20 ;; along with XEmacs; see the file COPYING. If not, write to the
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
22 ;; Boston, MA 02111-1307, USA.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
23
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
24 ;;; Synched up with: Mule 2.3.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
25
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
26 ;; We have to split up the Vietnamese stuff into two files because
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
27 ;; we are registering new charsets and then immediately using characters
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
28 ;; from those sets. We cannot reliably expect this to work if they
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
29 ;; are in the same file because of the buffering that happens while
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
30 ;; reading -- the place where we use the newly-defined sets may be
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
31 ;; read in before the code that creates those sets is evaluated.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
32
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
33 ;; Vietnamese VISCII with two tables.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
34 (make-charset 'vietnamese-viscii-lower "VISCII lower (Vietnamese)"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
35 '(registry "VISCII1.1"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
36 dimension 1
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
37 chars 96
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
38 final ?1
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
39 graphic 1
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
40 ))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
41
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
42 (make-charset 'vietnamese-viscii-upper "VISCII upper (Vietnamese)"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
43 '(registry "VISCII1.1"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
44 dimension 1
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
45 chars 96
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
46 final ?2
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
47 graphic 1
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
48 ))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
49
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
50 (modify-syntax-entry 'vietnamese-viscii-lower "w")
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
51 (modify-syntax-entry 'vietnamese-viscii-upper "w")
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
52
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
53 (define-category ?v "Vietnamese character.")
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
54 (modify-category-entry 'vietnamese-viscii-lower ?v)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
55 (modify-category-entry 'vietnamese-viscii-upper ?v)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
56
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
57 ;;; vietnamese-chars.el ends here