]> code.delx.au - gnu-emacs/blob - lisp/language/english.el
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-39
[gnu-emacs] / lisp / language / english.el
1 ;;; english.el --- support for English -*- no-byte-compile: t -*-
2
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 2003
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
7 ;; Registration Number H13PRO009
8
9 ;; Keywords: multibyte character, character set, syntax, category
10
11 ;; This file is part of GNU Emacs.
12
13 ;; GNU Emacs is free software; you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by
15 ;; the Free Software Foundation; either version 2, or (at your option)
16 ;; any later version.
17
18 ;; GNU Emacs is distributed in the hope that it will be useful,
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;; GNU General Public License for more details.
22
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the
25 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
26 ;; Boston, MA 02111-1307, USA.
27
28 ;;; Commentary:
29
30 ;; We need nothing special to support English on Emacs. Selecting
31 ;; English as a language environment is one of the ways to reset
32 ;; various multilingual environment to the original settting.
33
34 ;;; Code:
35
36 (set-language-info-alist
37 "English" '((tutorial . "TUTORIAL")
38 (charset ascii)
39 (sample-text . "Hello!, Hi!, How are you?")
40 (documentation . "\
41 Nothing special is needed to handle English.")
42 ))
43
44 ;; Mostly because we can now...
45 (define-coding-system 'ebcdic-us
46 "US version of EBCDIC"
47 :coding-type 'charset
48 :charset-list '(ebcdic-us)
49 :mnemonic ?*)
50
51 (define-coding-system 'ebcdic-uk
52 "UK version of EBCDIC"
53 :coding-type 'charset
54 :charset-list '(ebcdic-uk)
55 :mnemonic ?*)
56
57 (define-coding-system 'ibm1047
58 "A version of EBCDIC used in OS/390 Unix" ; says Groff
59 :coding-type 'charset
60 :charset-list '(ibm1047)
61 :mnemonic ?*)
62 (define-coding-system-alias 'cp1047 'ibm1047)
63
64 ;; Make "ASCII" an alias of "English" language environment.
65 (set-language-info-alist
66 "ASCII" (cdr (assoc "English" language-info-alist)))
67
68 ;;; arch-tag: e440bdb0-91b0-4fb4-ae38-425780f8f745
69 ;;; english.el ends here