]> code.delx.au - gnu-emacs/blob - lisp/language/english.el
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-2
[gnu-emacs] / lisp / language / english.el
1 ;;; english.el --- support for English -*- no-byte-compile: t -*-
2
3 ;; Copyright (C) 1997 Free Software Foundation, Inc.
4 ;; Copyright (C) 1997
5 ;; National Institute of Advanced Industrial Science and Technology (AIST)
6 ;; Registration Number H14PRO021
7 ;; Copyright (C) 2003
8 ;; National Institute of Advanced Industrial Science and Technology (AIST)
9 ;; Registration Number H13PRO009
10
11 ;; Keywords: multibyte character, character set, syntax, category
12
13 ;; This file is part of GNU Emacs.
14
15 ;; GNU Emacs is free software; you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation; either version 2, or (at your option)
18 ;; any later version.
19
20 ;; GNU Emacs is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
24
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs; see the file COPYING. If not, write to the
27 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
28 ;; Boston, MA 02110-1301, USA.
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