Commit | Line | Data |
---|---|---|
0a10297a | 1 | ;;; english.el --- support for English -*- no-byte-compile: t -*- |
80d75b56 | 2 | |
73b0cd50 | 3 | ;; Copyright (C) 1997, 2001-2011 |
d4877ac1 | 4 | ;; Free Software Foundation, Inc. |
38141d20 | 5 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
5df4f04c | 6 | ;; 2006, 2007, 2008, 2009, 2010, 2011 |
eaa61218 KH |
7 | ;; National Institute of Advanced Industrial Science and Technology (AIST) |
8 | ;; Registration Number H14PRO021 | |
8f924df7 KH |
9 | ;; Copyright (C) 2003 |
10 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
11 | ;; Registration Number H13PRO009 | |
80d75b56 KH |
12 | |
13 | ;; Keywords: multibyte character, character set, syntax, category | |
14 | ||
15 | ;; This file is part of GNU Emacs. | |
16 | ||
4936186e | 17 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
80d75b56 | 18 | ;; it under the terms of the GNU General Public License as published by |
4936186e GM |
19 | ;; the Free Software Foundation, either version 3 of the License, or |
20 | ;; (at your option) any later version. | |
80d75b56 KH |
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 | |
4936186e | 28 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
80d75b56 KH |
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 | ||
60370d40 | 36 | ;;; Code: |
80d75b56 | 37 | |
80d75b56 | 38 | (set-language-info-alist |
6e49aeec | 39 | "English" '((tutorial . "TUTORIAL") |
539c55ed | 40 | (charset ascii) |
164c39f7 | 41 | (sample-text . "Hello!, Hi!, How are you?") |
044f5c26 | 42 | (documentation . "\ |
aad1beef | 43 | Nothing special is needed to handle English.") |
164c39f7 | 44 | )) |
80d75b56 | 45 | |
d3e52bd5 DL |
46 | ;; Mostly because we can now... |
47 | (define-coding-system 'ebcdic-us | |
48 | "US version of EBCDIC" | |
49 | :coding-type 'charset | |
50 | :charset-list '(ebcdic-us) | |
51 | :mnemonic ?*) | |
52 | ||
53 | (define-coding-system 'ebcdic-uk | |
54 | "UK version of EBCDIC" | |
55 | :coding-type 'charset | |
56 | :charset-list '(ebcdic-uk) | |
57 | :mnemonic ?*) | |
58 | ||
f56ad11c DL |
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 | ||
9af275a3 RS |
66 | ;; Make "ASCII" an alias of "English" language environment. |
67 | (set-language-info-alist | |
68 | "ASCII" (cdr (assoc "English" language-info-alist))) | |
69 | ||
80d75b56 | 70 | ;;; english.el ends here |