annotate lisp/mule/vietnamese-hooks-1.el @ 139:2b5203979d01

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