Replace xref-match-bounds with xref-match-length
[emacs.git] / lisp / language / english.el
blobaf291a94385a60aba553b561e7b26a79dc1feb79
1 ;;; english.el --- support for English
3 ;; Copyright (C) 1997, 2001-2015 Free Software Foundation, Inc.
4 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
5 ;; 2006, 2007, 2008, 2009, 2010, 2011
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
7 ;; Registration Number H14PRO021
8 ;; Copyright (C) 2003
9 ;; National Institute of Advanced Industrial Science and Technology (AIST)
10 ;; Registration Number H13PRO009
12 ;; Keywords: multibyte character, character set, syntax, category
14 ;; This file is part of GNU Emacs.
16 ;; GNU Emacs is free software: you can redistribute it and/or modify
17 ;; it under the terms of the GNU General Public License as published by
18 ;; the Free Software Foundation, either version 3 of the License, or
19 ;; (at your option) any later version.
21 ;; GNU Emacs is distributed in the hope that it will be useful,
22 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
23 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 ;; GNU General Public License for more details.
26 ;; You should have received a copy of the GNU General Public License
27 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
29 ;;; Commentary:
31 ;; We need nothing special to support English on Emacs. Selecting
32 ;; English as a language environment is one of the ways to reset
33 ;; various multilingual environment to the original setting.
35 ;;; Code:
37 (set-language-info-alist
38 "English" '((tutorial . "TUTORIAL")
39 (charset ascii)
40 (sample-text . "Hello!, Hi!, How are you?")
41 (documentation . "\
42 Nothing special is needed to handle English.")
45 ;; Mostly because we can now...
46 (define-coding-system 'ebcdic-us
47 "US version of EBCDIC"
48 :coding-type 'charset
49 :charset-list '(ebcdic-us)
50 :mnemonic ?*)
52 (define-coding-system 'ebcdic-uk
53 "UK version of EBCDIC"
54 :coding-type 'charset
55 :charset-list '(ebcdic-uk)
56 :mnemonic ?*)
58 (define-coding-system 'ibm1047
59 "A version of EBCDIC used in OS/390 Unix" ; says Groff
60 :coding-type 'charset
61 :charset-list '(ibm1047)
62 :mnemonic ?*)
63 (define-coding-system-alias 'cp1047 'ibm1047)
65 ;; Make "ASCII" an alias of "English" language environment.
66 (set-language-info-alist
67 "ASCII" (cdr (assoc "English" language-info-alist)))
69 ;;; english.el ends here