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