Commit | Line | Data |
---|---|---|
0a10297a | 1 | ;;; english.el --- support for English -*- no-byte-compile: t -*- |
80d75b56 | 2 | |
acaf905b | 3 | ;; Copyright (C) 1997, 2001-2012 Free Software Foundation, Inc. |
38141d20 | 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
5df4f04c | 5 | ;; 2006, 2007, 2008, 2009, 2010, 2011 |
eaa61218 KH |
6 | ;; National Institute of Advanced Industrial Science and Technology (AIST) |
7 | ;; Registration Number H14PRO021 | |
8f924df7 KH |
8 | ;; Copyright (C) 2003 |
9 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
10 | ;; Registration Number H13PRO009 | |
80d75b56 KH |
11 | |
12 | ;; Keywords: multibyte character, character set, syntax, category | |
13 | ||
14 | ;; This file is part of GNU Emacs. | |
15 | ||
4936186e | 16 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
80d75b56 | 17 | ;; it under the terms of the GNU General Public License as published by |
4936186e GM |
18 | ;; the Free Software Foundation, either version 3 of the License, or |
19 | ;; (at your option) any later version. | |
80d75b56 KH |
20 | |
21 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
22 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
23 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
24 | ;; GNU General Public License for more details. | |
25 | ||
26 | ;; You should have received a copy of the GNU General Public License | |
4936186e | 27 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
80d75b56 KH |
28 | |
29 | ;;; Commentary: | |
30 | ||
31 | ;; We need nothing special to support English on Emacs. Selecting | |
32 | ;; English as a language environment is one of the ways to reset | |
9858f6c3 | 33 | ;; various multilingual environment to the original setting. |
80d75b56 | 34 | |
60370d40 | 35 | ;;; Code: |
80d75b56 | 36 | |
80d75b56 | 37 | (set-language-info-alist |
6e49aeec | 38 | "English" '((tutorial . "TUTORIAL") |
539c55ed | 39 | (charset ascii) |
164c39f7 | 40 | (sample-text . "Hello!, Hi!, How are you?") |
044f5c26 | 41 | (documentation . "\ |
aad1beef | 42 | Nothing special is needed to handle English.") |
164c39f7 | 43 | )) |
80d75b56 | 44 | |
d3e52bd5 DL |
45 | ;; Mostly because we can now... |
46 | (define-coding-system 'ebcdic-us | |
47 | "US version of EBCDIC" | |
48 | :coding-type 'charset | |
49 | :charset-list '(ebcdic-us) | |
50 | :mnemonic ?*) | |
51 | ||
52 | (define-coding-system 'ebcdic-uk | |
53 | "UK version of EBCDIC" | |
54 | :coding-type 'charset | |
55 | :charset-list '(ebcdic-uk) | |
56 | :mnemonic ?*) | |
57 | ||
f56ad11c DL |
58 | (define-coding-system 'ibm1047 |
59 | "A version of EBCDIC used in OS/390 Unix" ; says Groff | |
60 | :coding-type 'charset | |
61 | :charset-list '(ibm1047) | |
62 | :mnemonic ?*) | |
63 | (define-coding-system-alias 'cp1047 'ibm1047) | |
64 | ||
9af275a3 RS |
65 | ;; Make "ASCII" an alias of "English" language environment. |
66 | (set-language-info-alist | |
67 | "ASCII" (cdr (assoc "English" language-info-alist))) | |
68 | ||
80d75b56 | 69 | ;;; english.el ends here |