comparison lisp/mule/arabic.el @ 778:2923009caf47

[xemacs-hg @ 2002-03-16 10:38:59 by ben] cm.c, file-coding.c: fix warnings. .cvsignore: Those pesky *.tmp files. mule\arabic.el, mule\canna-leim.el, mule\china-util.el, mule\chinese.el, mule\cyril-util.el, mule\cyrillic.el, mule\devan-util.el, mule\devanagari.el, mule\english.el, mule\ethio-util.el, mule\ethiopic.el, mule\european.el, mule\greek.el, mule\hebrew.el, mule\indian.el, mule\japan-util.el, mule\japanese.el, mule\korea-util.el, mule\korean.el, mule\lao-util.el, mule\lao.el, mule\misc-lang.el, mule\mule-charset.el, mule\mule-cmds.el, mule\thai-util.el, mule\thai.el, mule\tibet-util.el, mule\tibetan.el, mule\viet-util.el, mule\vietnamese.el, unicode.el: Fix lots of warnings. Sync up some files to FSF 21.1. Copy over all charset definitions from FSF 21.1, convert them to our format, and stick them in the relevant files. Eventually we will actually be able to dump these files (though they may not quite work). autoload.el: Support defun*, defmacro*. mule/mule-composite.el, mule/mule-composite-stub.el: New file, stubs for nonexistent composition funs/vars. mule/viet-chars.el, dumped-lisp.el: Account for these changes. font.el, mouse.el, msw-font-menu.el, printer.el, startup.el: fix warnings.
author ben
date Sat, 16 Mar 2002 10:39:19 +0000
parents 943eaba38521
children 98af8a976fc3
comparison
equal deleted inserted replaced
777:e65d9cf16707 778:2923009caf47
1 ;;; arabic.el --- pre-loaded support for Arabic. -*- coding: iso-2022-7bit; -*- 1 ;;; arabic.el --- pre-loaded support for Arabic. -*- coding: iso-2022-7bit; -*-
2 2
3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc. 3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
4 ;; Copyright (C) 1995 Amdahl Corporation. 4 ;; Copyright (C) 1995 Amdahl Corporation.
5 ;; Copyright (C) 1995 Sun Microsystems. 5 ;; Copyright (C) 1995 Sun Microsystems.
6 ;; Copyright (C) 2002 Ben Wing.
6 7
7 ;; This file is part of XEmacs. 8 ;; This file is part of XEmacs.
8 9
9 ;; XEmacs is free software; you can redistribute it and/or modify it 10 ;; 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 ;; under the terms of the GNU General Public License as published by
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, 22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 ;; Boston, MA 02111-1307, USA. 23 ;; Boston, MA 02111-1307, USA.
23 24
24 ;;; Commentary: 25 ;;; Commentary:
25 26
26 ;; Synched up with: Mule 2.3. 27 ;; Synched up with: Mule 2.3, FSF 21.1.
27 28
28 ;;; Code: 29 ;;; Code:
29 30
30 ;; Three character sets for Arabic 31 ; (make-charset 'arabic-iso8859-6
31 (make-charset 'arabic-digit "Arabic digits" 32 ; "Right-Hand Part of Latin/Arabic Alphabet (ISO/IEC 8859-6): ISO-IR-127"
32 '(registry "MuleArabic-0" 33 ; '(dimension
33 dimension 1 34 ; 1
35 ; registry "ISO8859-6"
36 ; chars 96
37 ; columns 1
38 ; direction r2l
39 ; final ?G
40 ; graphic 1
41 ; short-name "RHP of ISO8859/6"
42 ; long-name "RHP of Arabic (ISO 8859-6): ISO-IR-127"
43 ; ))
44
45 ;; For Arabic, we need three different types of character sets.
46 ;; Digits are of direction left-to-right and of width 1-column.
47 ;; Others are of direction right-to-left and of width 1-column or
48 ;; 2-column.
49 (make-charset 'arabic-digit "Arabic digit"
50 '(dimension
51 1
52 registry "MuleArabic-0"
34 chars 94 53 chars 94
54 columns 1
55 direction l2r
35 final ?2 56 final ?2
36 graphic 0 57 graphic 0
37 direction l2r 58 short-name "Arabic digit"
59 long-name "Arabic digit"
38 )) 60 ))
39 61
40 (make-charset 'arabic-1-column "Arabic 1-column" 62 (make-charset 'arabic-1-column "Arabic 1-column"
41 '(registry "MuleArabic-1" 63 '(dimension
42 dimension 1 64 1
65 registry "MuleArabic-1"
43 chars 94 66 chars 94
67 columns 1
68 direction r2l
44 final ?3 69 final ?3
45 graphic 0 70 graphic 0
46 direction r2l 71 short-name "Arabic 1-col"
72 long-name "Arabic 1-column"
47 )) 73 ))
48 74
49 (make-charset 'arabic-2-column "Arabic 2-column" 75 (make-charset 'arabic-2-column "Arabic 2-column"
50 '(registry "MuleArabic-2" 76 '(dimension
51 dimension 1 77 1
78 registry "MuleArabic-2"
52 chars 94 79 chars 94
80 columns 2
81 direction r2l
53 final ?4 82 final ?4
54 graphic 0 83 graphic 0
55 direction r2l 84 short-name "Arabic 2-col"
85 long-name "Arabic 2-column"
56 )) 86 ))
57 87
58 (make-coding-system 'iso-8859-6 'iso2022 88 (make-coding-system 'iso-8859-6 'iso2022
59 "ISO-8859-6 (Arabic)" 89 "ISO-8859-6 (Arabic)"
60 '(charset-g0 ascii 90 '(charset-g0 ascii