2012-05-08 01:50:17 +00:00
|
|
|
;;; english.el --- support for English
|
1997-04-05 02:44:02 +00:00
|
|
|
|
2014-01-01 07:43:34 +00:00
|
|
|
;; Copyright (C) 1997, 2001-2014 Free Software Foundation, Inc.
|
2008-01-07 01:33:37 +00:00
|
|
|
;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
2011-01-02 23:50:46 +00:00
|
|
|
;; 2006, 2007, 2008, 2009, 2010, 2011
|
2005-05-16 07:03:28 +00:00
|
|
|
;; National Institute of Advanced Industrial Science and Technology (AIST)
|
|
|
|
;; Registration Number H14PRO021
|
2003-09-08 12:53:41 +00:00
|
|
|
;; Copyright (C) 2003
|
|
|
|
;; National Institute of Advanced Industrial Science and Technology (AIST)
|
|
|
|
;; Registration Number H13PRO009
|
1997-04-05 02:44:02 +00:00
|
|
|
|
|
|
|
;; Keywords: multibyte character, character set, syntax, category
|
|
|
|
|
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
2008-05-06 04:29:13 +00:00
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
1997-04-05 02:44:02 +00:00
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2008-05-06 04:29:13 +00:00
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
1997-04-05 02:44:02 +00:00
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2008-05-06 04:29:13 +00:00
|
|
|
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
1997-04-05 02:44:02 +00:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;; We need nothing special to support English on Emacs. Selecting
|
|
|
|
;; English as a language environment is one of the ways to reset
|
2011-12-30 02:52:49 +00:00
|
|
|
;; various multilingual environment to the original setting.
|
1997-04-05 02:44:02 +00:00
|
|
|
|
2001-07-15 19:53:53 +00:00
|
|
|
;;; Code:
|
1997-04-05 02:44:02 +00:00
|
|
|
|
|
|
|
(set-language-info-alist
|
1998-08-10 06:29:02 +00:00
|
|
|
"English" '((tutorial . "TUTORIAL")
|
1998-01-22 01:48:25 +00:00
|
|
|
(charset ascii)
|
1997-05-12 07:00:08 +00:00
|
|
|
(sample-text . "Hello!, Hi!, How are you?")
|
1997-05-28 03:40:44 +00:00
|
|
|
(documentation . "\
|
1997-06-07 06:20:06 +00:00
|
|
|
Nothing special is needed to handle English.")
|
1997-05-12 07:00:08 +00:00
|
|
|
))
|
1997-04-05 02:44:02 +00:00
|
|
|
|
2002-05-17 20:13:29 +00:00
|
|
|
;; Mostly because we can now...
|
|
|
|
(define-coding-system 'ebcdic-us
|
|
|
|
"US version of EBCDIC"
|
|
|
|
:coding-type 'charset
|
|
|
|
:charset-list '(ebcdic-us)
|
|
|
|
:mnemonic ?*)
|
|
|
|
|
|
|
|
(define-coding-system 'ebcdic-uk
|
|
|
|
"UK version of EBCDIC"
|
|
|
|
:coding-type 'charset
|
|
|
|
:charset-list '(ebcdic-uk)
|
|
|
|
:mnemonic ?*)
|
|
|
|
|
2002-10-11 17:51:33 +00:00
|
|
|
(define-coding-system 'ibm1047
|
|
|
|
"A version of EBCDIC used in OS/390 Unix" ; says Groff
|
|
|
|
:coding-type 'charset
|
|
|
|
:charset-list '(ibm1047)
|
|
|
|
:mnemonic ?*)
|
|
|
|
(define-coding-system-alias 'cp1047 'ibm1047)
|
|
|
|
|
1997-09-19 17:36:36 +00:00
|
|
|
;; Make "ASCII" an alias of "English" language environment.
|
|
|
|
(set-language-info-alist
|
|
|
|
"ASCII" (cdr (assoc "English" language-info-alist)))
|
|
|
|
|
1997-04-05 02:44:02 +00:00
|
|
|
;;; english.el ends here
|