Mercurial > emacs
annotate lisp/language/english.el @ 94934:669d4161a058
(image_ascent): Don't include "charset.h". Include
"character.h" and "font.h".
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 14 May 2008 01:39:03 +0000 |
parents | 55b7f25d920a |
children | a9dc0e7c3f2b |
rev | line source |
---|---|
47726
33d53d287ee4
Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents:
38414
diff
changeset
|
1 ;;; english.el --- support for English -*- no-byte-compile: t -*- |
17301 | 2 |
79711 | 3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
74544 | 4 ;; Free Software Foundation, Inc. |
79711 | 5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
6 ;; 2006, 2007, 2008 | |
62396 | 7 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
8 ;; Registration Number H14PRO021 | |
89483 | 9 ;; Copyright (C) 2003 |
10 ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
11 ;; Registration Number H13PRO009 | |
17301 | 12 |
13 ;; Keywords: multibyte character, character set, syntax, category | |
14 | |
15 ;; This file is part of GNU Emacs. | |
16 | |
94665
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
17 ;; GNU Emacs is free software: you can redistribute it and/or modify |
17301 | 18 ;; it under the terms of the GNU General Public License as published by |
94665
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
19 ;; the Free Software Foundation, either version 3 of the License, or |
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
20 ;; (at your option) any later version. |
17301 | 21 |
22 ;; GNU Emacs is distributed in the hope that it will be useful, | |
23 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
24 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
25 ;; GNU General Public License for more details. | |
26 | |
27 ;; You should have received a copy of the GNU General Public License | |
94665
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
28 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
17301 | 29 |
30 ;;; Commentary: | |
31 | |
32 ;; We need nothing special to support English on Emacs. Selecting | |
33 ;; English as a language environment is one of the ways to reset | |
34 ;; various multilingual environment to the original settting. | |
35 | |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
28906
diff
changeset
|
36 ;;; Code: |
17301 | 37 |
38 (set-language-info-alist | |
22981
dfc5c82b7526
(setup-english-environment): Just call
Kenichi Handa <handa@m17n.org>
parents:
21767
diff
changeset
|
39 "English" '((tutorial . "TUTORIAL") |
20744
48d79ef65489
Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents:
19954
diff
changeset
|
40 (charset ascii) |
17767
d93b9414ff2b
Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents:
17301
diff
changeset
|
41 (sample-text . "Hello!, Hi!, How are you?") |
17994
28d45a11ac18
(setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
42 (documentation . "\ |
18158
723b3b1516b6
("English"): Improve doc string.
Richard M. Stallman <rms@gnu.org>
parents:
17994
diff
changeset
|
43 Nothing special is needed to handle English.") |
17767
d93b9414ff2b
Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents:
17301
diff
changeset
|
44 )) |
17301 | 45 |
88556
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
46 ;; Mostly because we can now... |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
47 (define-coding-system 'ebcdic-us |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
48 "US version of EBCDIC" |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
49 :coding-type 'charset |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
50 :charset-list '(ebcdic-us) |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
51 :mnemonic ?*) |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
52 |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
53 (define-coding-system 'ebcdic-uk |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
54 "UK version of EBCDIC" |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
55 :coding-type 'charset |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
56 :charset-list '(ebcdic-uk) |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
57 :mnemonic ?*) |
c1d67f50c8f0
(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents:
38414
diff
changeset
|
58 |
89199 | 59 (define-coding-system 'ibm1047 |
60 "A version of EBCDIC used in OS/390 Unix" ; says Groff | |
61 :coding-type 'charset | |
62 :charset-list '(ibm1047) | |
63 :mnemonic ?*) | |
64 (define-coding-system-alias 'cp1047 'ibm1047) | |
65 | |
19954
9c37afba82bc
(ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents:
19922
diff
changeset
|
66 ;; 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
|
67 (set-language-info-alist |
9c37afba82bc
(ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents:
19922
diff
changeset
|
68 "ASCII" (cdr (assoc "English" language-info-alist))) |
9c37afba82bc
(ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents:
19922
diff
changeset
|
69 |
93975
1e3a407766b9
Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
91327
diff
changeset
|
70 ;; arch-tag: e440bdb0-91b0-4fb4-ae38-425780f8f745 |
17301 | 71 ;;; english.el ends here |