annotate lisp/mule/hebrew-hooks.el @ 110:fe104dbd9147 r20-1b7

Import from CVS: tag r20-1b7
author cvs
date Mon, 13 Aug 2007 09:19:45 +0200
parents 54cc21c15cbb
children 6608ceec7cf8
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 ;;; hebrew-hooks.el --- pre-loaded support for Hebrew.
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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 ;;; HEBREW
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 ;; Syntax of Hebrew characters
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 (loop for c from 96 to 122
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
32 do (modify-syntax-entry (make-char 'hebrew-iso8859-8 c) "w"))
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
33 (modify-syntax-entry (make-char 'hebrew-iso8859-8 32) "w") ; no-break space
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 'iso-8859-8 'iso2022
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 "MIME ISO-8859-8"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 '(charset-g0 ascii
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
39 charset-g1 hebrew-iso8859-8
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 charset-g2 t
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 charset-g3 t
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 no-iso6429 t
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 mnemonic "MIME/Hbrw"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 'ctext-hebrew 'iso2022
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 "Coding-system of Hebrew."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 '(charset-g0 ascii
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
50 charset-g1 hebrew-iso8859-8
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 charset-g2 t
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52 charset-g3 t
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 mnemonic "CText/Hbrw"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
56 ;;(add-hook 'quail-package-alist '("hebrew" "quail/hebrew"))
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58 (define-language-environment 'hebrew
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 "Hebrew"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 (lambda ()
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61 (set-coding-category-system 'iso-8-designate 'iso-8859-8)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62 (set-coding-priority-list '(iso-8-designate iso-8-1))
110
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 74
diff changeset
63 (set-default-buffer-file-coding-system 'iso-8859-8)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 (setq terminal-coding-system 'iso-8859-8)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65 (setq keyboard-coding-system 'iso-8859-8)
110
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 74
diff changeset
66 ;; (setq-default quail-current-package
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 74
diff changeset
67 ;; (assoc "hebrew" quail-package-alist))))
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
68 ))