Mercurial > hg > xemacs-beta
comparison lisp/language/viet-chars.el @ 207:e45d5e7c476e r20-4b2
Import from CVS: tag r20-4b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:03:52 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
206:d3e9274cbc4e | 207:e45d5e7c476e |
---|---|
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 (make-charset 'vietnamese-viscii-lower "VISCII lower (Vietnamese)" | |
35 '(registry "VISCII1.1" | |
36 dimension 1 | |
37 chars 96 | |
38 final ?1 | |
39 graphic 1 | |
40 )) | |
41 | |
42 (make-charset 'vietnamese-viscii-upper "VISCII upper (Vietnamese)" | |
43 '(registry "VISCII1.1" | |
44 dimension 1 | |
45 chars 96 | |
46 final ?2 | |
47 graphic 1 | |
48 )) | |
49 | |
50 (modify-syntax-entry 'vietnamese-viscii-lower "w") | |
51 (modify-syntax-entry 'vietnamese-viscii-upper "w") | |
52 | |
53 (define-category ?v "Vietnamese character.") | |
54 (modify-category-entry 'vietnamese-viscii-lower ?v) | |
55 (modify-category-entry 'vietnamese-viscii-upper ?v) | |
56 | |
57 ;;; vietnamese-chars.el ends here |