annotate lisp/language/english.el @ 90737:95d0cdf160ea

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 586-614) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - Merge from erc--main--0 - Make byte compiler correctly write circular constants * gnus--rel--5.10 (patch 186-196) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
author Miles Bader <miles@gnu.org>
date Fri, 26 Jan 2007 06:16:11 +0000
parents 6588c6259dfb e3694f1cb928
children f55f9811f5d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47726
33d53d287ee4 Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents: 38414
diff changeset
1 ;;; english.el --- support for English -*- no-byte-compile: t -*-
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
75347
e3694f1cb928 Add 2007 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 74605
diff changeset
3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
74544
43cc94d955c2 Update copyright years.
Glenn Morris <rgm@gnu.org>
parents: 64085
diff changeset
4 ;; Free Software Foundation, Inc.
75347
e3694f1cb928 Add 2007 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 74605
diff changeset
5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
62396
197607499a29 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
197607499a29 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
7 ;; Registration Number H14PRO021
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89199
diff changeset
8 ;; Copyright (C) 2003
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89199
diff changeset
9 ;; National Institute of Advanced Industrial Science and Technology (AIST)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89199
diff changeset
10 ;; Registration Number H13PRO009
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 ;; Keywords: multibyte character, character set, syntax, category
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14 ;; This file is part of GNU Emacs.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; GNU Emacs is free software; you can redistribute it and/or modify
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 ;; it under the terms of the GNU General Public License as published by
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; the Free Software Foundation; either version 2, or (at your option)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19 ;; any later version.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; GNU Emacs is distributed in the hope that it will be useful,
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24 ;; GNU General Public License for more details.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26 ;; You should have received a copy of the GNU General Public License
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64085
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62396
diff changeset
28 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62396
diff changeset
29 ;; Boston, MA 02110-1301, USA.
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31 ;;; Commentary:
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 ;; We need nothing special to support English on Emacs. Selecting
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34 ;; English as a language environment is one of the ways to reset
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 ;; various multilingual environment to the original settting.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 28906
diff changeset
37 ;;; Code:
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39 (set-language-info-alist
22981
dfc5c82b7526 (setup-english-environment): Just call
Kenichi Handa <handa@m17n.org>
parents: 21767
diff changeset
40 "English" '((tutorial . "TUTORIAL")
20744
48d79ef65489 Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents: 19954
diff changeset
41 (charset ascii)
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
42 (sample-text . "Hello!, Hi!, How are you?")
17994
28d45a11ac18 (setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
43 (documentation . "\
18158
723b3b1516b6 ("English"): Improve doc string.
Richard M. Stallman <rms@gnu.org>
parents: 17994
diff changeset
44 Nothing special is needed to handle English.")
17767
d93b9414ff2b Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents: 17301
diff changeset
45 ))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46
88556
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
47 ;; Mostly because we can now...
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
48 (define-coding-system 'ebcdic-us
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
49 "US version of EBCDIC"
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
50 :coding-type 'charset
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
51 :charset-list '(ebcdic-us)
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
52 :mnemonic ?*)
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
53
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
54 (define-coding-system 'ebcdic-uk
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
55 "UK version of EBCDIC"
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
56 :coding-type 'charset
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
57 :charset-list '(ebcdic-uk)
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
58 :mnemonic ?*)
c1d67f50c8f0 (ebcdic-us, ebcdic-uk): New coding systems.
Dave Love <fx@gnu.org>
parents: 38414
diff changeset
59
89199
3cdeb8452578 (ibm1047, cp1047): New.
Dave Love <fx@gnu.org>
parents: 88556
diff changeset
60 (define-coding-system 'ibm1047
3cdeb8452578 (ibm1047, cp1047): New.
Dave Love <fx@gnu.org>
parents: 88556
diff changeset
61 "A version of EBCDIC used in OS/390 Unix" ; says Groff
3cdeb8452578 (ibm1047, cp1047): New.
Dave Love <fx@gnu.org>
parents: 88556
diff changeset
62 :coding-type 'charset
3cdeb8452578 (ibm1047, cp1047): New.
Dave Love <fx@gnu.org>
parents: 88556
diff changeset
63 :charset-list '(ibm1047)
3cdeb8452578 (ibm1047, cp1047): New.
Dave Love <fx@gnu.org>
parents: 88556
diff changeset
64 :mnemonic ?*)
3cdeb8452578 (ibm1047, cp1047): New.
Dave Love <fx@gnu.org>
parents: 88556
diff changeset
65 (define-coding-system-alias 'cp1047 'ibm1047)
3cdeb8452578 (ibm1047, cp1047): New.
Dave Love <fx@gnu.org>
parents: 88556
diff changeset
66
19954
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
67 ;; Make "ASCII" an alias of "English" language environment.
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
68 (set-language-info-alist
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
69 "ASCII" (cdr (assoc "English" language-info-alist)))
9c37afba82bc (ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents: 19922
diff changeset
70
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 47726
diff changeset
71 ;;; arch-tag: e440bdb0-91b0-4fb4-ae38-425780f8f745
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 ;;; english.el ends here