]> code.delx.au - gnu-emacs/blob - lisp/language/english.el
9dde2d3ff7e2b09888a124bfb3cb52b0bd5e9071
[gnu-emacs] / lisp / language / english.el
1 ;;; english.el --- support for English -*- no-byte-compile: t -*-
2
3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
4 ;; Free Software Foundation, Inc.
5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
6 ;; 2006, 2007, 2008, 2009, 2010, 2011
7 ;; National Institute of Advanced Industrial Science and Technology (AIST)
8 ;; Registration Number H14PRO021
9 ;; Copyright (C) 2003
10 ;; National Institute of Advanced Industrial Science and Technology (AIST)
11 ;; Registration Number H13PRO009
12
13 ;; Keywords: multibyte character, character set, syntax, category
14
15 ;; This file is part of GNU Emacs.
16
17 ;; GNU Emacs is free software: you can redistribute it and/or modify
18 ;; it under the terms of the GNU General Public License as published by
19 ;; the Free Software Foundation, either version 3 of the License, or
20 ;; (at your option) any later version.
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
28 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
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
36 ;;; Code:
37
38 (set-language-info-alist
39 "English" '((tutorial . "TUTORIAL")
40 (charset ascii)
41 (sample-text . "Hello!, Hi!, How are you?")
42 (documentation . "\
43 Nothing special is needed to handle English.")
44 ))
45
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
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
66 ;; Make "ASCII" an alias of "English" language environment.
67 (set-language-info-alist
68 "ASCII" (cdr (assoc "English" language-info-alist)))
69
70 ;; arch-tag: e440bdb0-91b0-4fb4-ae38-425780f8f745
71 ;;; english.el ends here