]> code.delx.au - gnu-emacs/blob - lisp/language/english.el
Merge from emacs--devo--0
[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
4 ;; Free Software Foundation, Inc.
5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
6 ;; 2006, 2007, 2008
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, or (at your option)
20 ;; 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; see the file COPYING. If not, write to the
29 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
30 ;; Boston, MA 02110-1301, USA.
31
32 ;;; Commentary:
33
34 ;; We need nothing special to support English on Emacs. Selecting
35 ;; English as a language environment is one of the ways to reset
36 ;; various multilingual environment to the original settting.
37
38 ;;; Code:
39
40 (set-language-info-alist
41 "English" '((tutorial . "TUTORIAL")
42 (charset ascii)
43 (sample-text . "Hello!, Hi!, How are you?")
44 (documentation . "\
45 Nothing special is needed to handle English.")
46 ))
47
48 ;; Mostly because we can now...
49 (define-coding-system 'ebcdic-us
50 "US version of EBCDIC"
51 :coding-type 'charset
52 :charset-list '(ebcdic-us)
53 :mnemonic ?*)
54
55 (define-coding-system 'ebcdic-uk
56 "UK version of EBCDIC"
57 :coding-type 'charset
58 :charset-list '(ebcdic-uk)
59 :mnemonic ?*)
60
61 (define-coding-system 'ibm1047
62 "A version of EBCDIC used in OS/390 Unix" ; says Groff
63 :coding-type 'charset
64 :charset-list '(ibm1047)
65 :mnemonic ?*)
66 (define-coding-system-alias 'cp1047 'ibm1047)
67
68 ;; Make "ASCII" an alias of "English" language environment.
69 (set-language-info-alist
70 "ASCII" (cdr (assoc "English" language-info-alist)))
71
72 ;;; arch-tag: e440bdb0-91b0-4fb4-ae38-425780f8f745
73 ;;; english.el ends here