annotate lisp/language/english.el @ 20892:18f3cb26243f before-miles-orphaned-changes gcc-2_8_1-980401 gcc-2_8_1-980407 gcc-2_8_1-980412 gcc-2_8_1-980413 gcc-2_8_1-RELEASE gcc_2_8_1-980315 libc-980214 libc-980215 libc-980216 libc-980217 libc-980218 libc-980219 libc-980220 libc-980221 libc-980222 libc-980223 libc-980224 libc-980225 libc-980226 libc-980227 libc-980228 libc-980301 libc-980302 libc-980303 libc-980304 libc-980306 libc-980307 libc-980308 libc-980309 libc-980310 libc-980311 libc-980312 libc-980313 libc-980314 libc-980315 libc-980316 libc-980317 libc-980318 libc-980319 libc-980320 libc-980321 libc-980322 libc-980323 libc-980324 libc-980325 libc-980326 libc-980327 libc-980328 libc-980329 libc-980330 libc-980331 libc-980401 libc-980402 libc-980403 libc-980404 libc-980405 libc-980406 libc-980407 libc-980408 libc-980409 libc-980410 libc-980411 libc-980412 libc-980413 libc-980414 libc-980428 libc-980429 libc-980430 libc-980501 libc-980502 libc-980503 libc-980504 libc-980505 libc-980506 libc-980507 libc-980508 libc-980509 libc-980510 libc-980512 libc-980513 libc-980514 libc-980515 libc-980516 libc-980517 libc-980518 libc-980519 libc-980520 libc-980521 libc-980522 libc-980523 libc-980524 libc-980525 libc-980526 libc-980527 libc-980528 libc-980529 libc-980530 libc-980531 libc-980601 libc-980602 libc-980603 libc-980604 libc-980605 libc-980606 libc-980607 libc-980608 libc-980609 libc-980610 libc-980611 libc-980612 libc-980613

Add PentiumII (i786). Add '7' to all i[3456] entries. Add AMD and Cyrix names for P5 and P6.
author Richard Kenner <kenner@gnu.org>
date Fri, 13 Feb 1998 12:16:46 +0000
parents 48d79ef65489
children 9c04115476e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 ;;; english.el --- English support
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
18377
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18309
diff changeset
4 ;; Licensed to the Free Software Foundation.
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 ;; Keywords: multibyte character, character set, syntax, category
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 ;; any later version.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;; Boston, MA 02111-1307, USA.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 ;;; Commentary:
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 ;; We need nothing special to support English on Emacs. Selecting
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28 ;; English as a language environment is one of the ways to reset
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29 ;; various multilingual environment to the original settting.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31 ;;; Code
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 (defun setup-english-environment ()
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
34 "Reset multilingual environment of Emacs to the default status.
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
35 The default status is as follows.
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
36
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
37 The default value of enable-multibyte-characters is t.
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
38
17994
28d45a11ac18 (setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
39 The default value of buffer-file-coding-system is nil.
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
40 The coding system for terminal output is nil.
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
41 The coding system for keyboard input is nil.
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
42
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
43 The order of priorities of coding categories and the coding system
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
44 bound to each category are as follows
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
45 coding category coding system
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
46 --------------------------------------------------
20744
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
47 coding-category-iso-7-tight iso-2022-jp
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
48 coding-category-iso-7 iso-2022-7bit
19609
054a789f67ef (setup-english-environment): Set
Kenichi Handa <handa@m17n.org>
parents: 19274
diff changeset
49 coding-category-iso-8-1 iso-latin-1
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
50 coding-category-iso-8-2 iso-latin-1
18792
7509c58538a0 (setup-english-environment): Adjusted for the change of coding
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
51 coding-category-iso-7-else iso-2022-7bit-lock
7509c58538a0 (setup-english-environment): Adjusted for the change of coding
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
52 coding-category-iso-8-else iso-2022-8bit-ss2
17841
084d922fcd78 Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents: 17767
diff changeset
53 coding-category-emacs-mule emacs-mule
19609
054a789f67ef (setup-english-environment): Set
Kenichi Handa <handa@m17n.org>
parents: 19274
diff changeset
54 coding-category-raw-text raw-text
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
55 coding-category-sjis japanese-shift-jis
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
56 coding-category-big5 chinese-big5
19609
054a789f67ef (setup-english-environment): Set
Kenichi Handa <handa@m17n.org>
parents: 19274
diff changeset
57 coding-category-binarry no-conversion
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
58 "
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59 (interactive)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
60 (setq-default enable-multibyte-characters t)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
61
20744
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
62 (setq coding-category-iso-7-tight 'iso-2022-jp
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
63 coding-category-iso-7 'iso-2022-7bit
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
64 coding-category-iso-8-1 'iso-latin-1
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
65 coding-category-iso-8-2 'iso-latin-1
18792
7509c58538a0 (setup-english-environment): Adjusted for the change of coding
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
66 coding-category-iso-7-else 'iso-2022-7bit-lock
7509c58538a0 (setup-english-environment): Adjusted for the change of coding
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
67 coding-category-iso-8-else 'iso-2022-8bit-ss2
17994
28d45a11ac18 (setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
68 coding-category-emacs-mule 'emacs-mule
19609
054a789f67ef (setup-english-environment): Set
Kenichi Handa <handa@m17n.org>
parents: 19274
diff changeset
69 coding-category-raw-text 'raw-text
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
70 coding-category-sjis 'japanese-shift-jis
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18158
diff changeset
71 coding-category-big5 'chinese-big5
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 coding-category-binary 'no-conversion)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 (set-coding-priority
20744
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
75 '(coding-category-iso-7-tight
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
76 coding-category-iso-7
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77 coding-category-iso-8-2
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78 coding-category-iso-8-1
18792
7509c58538a0 (setup-english-environment): Adjusted for the change of coding
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
79 coding-category-iso-7-else
7509c58538a0 (setup-english-environment): Adjusted for the change of coding
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
80 coding-category-iso-8-else
17841
084d922fcd78 Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents: 17767
diff changeset
81 coding-category-emacs-mule
19609
054a789f67ef (setup-english-environment): Set
Kenichi Handa <handa@m17n.org>
parents: 19274
diff changeset
82 coding-category-raw-text
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83 coding-category-sjis
17994
28d45a11ac18 (setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
84 coding-category-big5
28d45a11ac18 (setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
85 coding-category-binary))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
86
19139
e984e35192fd (setup-english-environment): Call set-default-coding-systems.
Kenichi Handa <handa@m17n.org>
parents: 18792
diff changeset
87 (set-default-coding-systems nil)
19922
a59d59d582b7 (setup-english-environment): Don't set
Richard M. Stallman <rms@gnu.org>
parents: 19609
diff changeset
88 ;; Don't alter the terminal and keyboard coding systems here.
a59d59d582b7 (setup-english-environment): Don't set
Richard M. Stallman <rms@gnu.org>
parents: 19609
diff changeset
89 ;; The terminal still supports the same coding system
a59d59d582b7 (setup-english-environment): Don't set
Richard M. Stallman <rms@gnu.org>
parents: 19609
diff changeset
90 ;; that it supported a minute ago.
a59d59d582b7 (setup-english-environment): Don't set
Richard M. Stallman <rms@gnu.org>
parents: 19609
diff changeset
91 ;;; (set-terminal-coding-system-internal nil)
a59d59d582b7 (setup-english-environment): Don't set
Richard M. Stallman <rms@gnu.org>
parents: 19609
diff changeset
92 ;;; (set-keyboard-coding-system-internal nil)
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
93
19274
87673245c178 (setup-english-environment): Do not
Kenichi Handa <handa@m17n.org>
parents: 19139
diff changeset
94 (setq nonascii-insert-offset 0))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
95
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
96 (set-language-info-alist
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
97 "English" '((setup-function . setup-english-environment)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
98 (tutorial . "TUTORIAL")
20744
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
99 (charset ascii)
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
100 (coding-priority iso-2022-7bit
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
101 iso-latin-1
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
102 iso-2022-7bit-lock
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
103 iso-2022-8bit-ss2
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
104 emacs-mule
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
105 raw-text
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
106 japanese-shift-jis
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
107 chinese-big5
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
108 no-conversion)
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
109 (sample-text . "Hello!, Hi!, How are you?")
17994
28d45a11ac18 (setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
110 (documentation . "\
18158
723b3b1516b6 ("English"): Improve doc string.
Richard M. Stallman <rms@gnu.org>
parents: 17994
diff changeset
111 Nothing special is needed to handle English.")
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
112 ))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
113
19954
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
114 ;; Make "ASCII" an alias of "English" language environment.
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
115 (set-language-info-alist
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
116 "ASCII" (cdr (assoc "English" language-info-alist)))
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
117
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
118 ;;; english.el ends here