annotate lisp/international/iso-ascii.el @ 93582:d0caff25b712

Add defvar -> defcustom.
author Glenn Morris <rgm@gnu.org>
date Thu, 03 Apr 2008 04:12:51 +0000
parents b6fdfff4ae81
children 606f2d163a64 1e3a407766b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 31143
diff changeset
1 ;;; iso-ascii.el --- set up char tables for ISO 8859/1 on ASCII terminals
807
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 660
diff changeset
2
74544
43cc94d955c2 Update copyright years.
Glenn Morris <rgm@gnu.org>
parents: 64085
diff changeset
3 ;; Copyright (C) 1987, 1995, 1998, 2001, 2002, 2003, 2004,
79709
b6fdfff4ae81 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78274
diff changeset
4 ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
845
213978acbc1e entered into RCS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 807
diff changeset
5
807
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 660
diff changeset
6 ;; Author: Howard Gayle
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 660
diff changeset
7 ;; Maintainer: FSF
3012
d4b85bbedee8 Change "i14n" keyword to "i18n".
Jim Blandy <jimb@redhat.com>
parents: 845
diff changeset
8 ;; Keywords: i18n
583
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 ;; This file is part of GNU Emacs.
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 ;; GNU Emacs is free software; you can redistribute it and/or modify
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 ;; it under the terms of the GNU General Public License as published by
78274
451a2d341d55 Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75347
diff changeset
14 ;; the Free Software Foundation; either version 3, or (at your option)
583
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 ;; any later version.
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 ;; GNU Emacs is distributed in the hope that it will be useful,
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20 ;; GNU General Public License for more details.
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 ;; You should have received a copy of the GNU General Public License
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13801
diff changeset
23 ;; 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: 62274
diff changeset
24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62274
diff changeset
25 ;; Boston, MA 02110-1301, USA.
583
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26
807
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 660
diff changeset
27 ;;; Commentary:
583
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 ;; Written by Howard Gayle. See display-table.el for details.
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 ;; This code sets up to display ISO 8859/1 characters on plain
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 ;; ASCII terminals. The display strings for the characters are
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 ;; more-or-less based on TeX.
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34
807
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 660
diff changeset
35 ;;; Code:
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 660
diff changeset
36
583
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37 (require 'disp-table)
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38
21645
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
39 (defgroup iso-ascii nil
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
40 "Set up char tables for ISO 8859/1 on ASCII terminals."
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
41 :prefix "iso-ascii-"
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
42 :group 'i18n)
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
43
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
44 (defcustom iso-ascii-convenient nil
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
45 "*Non-nil means `iso-ascii' should aim for convenience, not precision."
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
46 :type 'boolean
40670d13dd48 Customize.
Stephen Eglen <stephen@gnu.org>
parents: 14169
diff changeset
47 :group 'iso-ascii)
13801
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
48
49807
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
49 (defvar iso-ascii-display-table (make-display-table)
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
50 "Display table used for ISO-ASCII mode.")
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
51
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
52 (defvar iso-ascii-standard-display-table nil
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
53 "Display table used when not in ISO-ASCII mode.")
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
54 ;; Don't alter iso-ascii-standard-display-table if this file is loaded again,
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
55 ;; or even by using C-M-x on any of the expressions.
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
56 (unless iso-ascii-standard-display-table
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
57 (setq iso-ascii-standard-display-table
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
58 standard-display-table))
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
59
13801
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
60 (defun iso-ascii-display (code string &optional convenient-string)
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
61 (if iso-ascii-convenient
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
62 (setq string (or convenient-string string))
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
63 (setq string (concat "{" string "}")))
31143
1ff8dc8dbffc Make pilcrow convenient string
Dave Love <fx@gnu.org>
parents: 21645
diff changeset
64 ;; unibyte
49807
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
65 (aset iso-ascii-display-table code string)
31143
1ff8dc8dbffc Make pilcrow convenient string
Dave Love <fx@gnu.org>
parents: 21645
diff changeset
66 ;; multibyte
49807
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
67 (aset iso-ascii-display-table (make-char 'latin-iso8859-1 (- code 128))
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
68 string))
13801
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
69
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
70 (iso-ascii-display 160 "_" " ") ; NBSP (no-break space)
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
71 (iso-ascii-display 161 "!") ; inverted exclamation mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
72 (iso-ascii-display 162 "c") ; cent sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
73 (iso-ascii-display 163 "GBP") ; pound sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
74 (iso-ascii-display 164 "$") ; general currency sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
75 (iso-ascii-display 165 "JPY") ; yen sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
76 (iso-ascii-display 166 "|") ; broken vertical line
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
77 (iso-ascii-display 167 "S" "(S)") ; section sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
78 (iso-ascii-display 168 "\"") ; diaeresis
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
79 (iso-ascii-display 169 "C" "(C)") ; copyright sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
80 (iso-ascii-display 170 "_a") ; ordinal indicator, feminine
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
81 (iso-ascii-display 171 "<<") ; left angle quotation mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
82 (iso-ascii-display 172 "~") ; not sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
83 (iso-ascii-display 173 "-") ; soft hyphen
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
84 (iso-ascii-display 174 "R" "(R)") ; registered sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
85 (iso-ascii-display 175 "=") ; macron
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
86 (iso-ascii-display 176 "o") ; degree sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
87 (iso-ascii-display 177 "+-") ; plus or minus sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
88 (iso-ascii-display 178 "2") ; superscript two
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
89 (iso-ascii-display 179 "3") ; superscript three
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
90 (iso-ascii-display 180 "'") ; acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
91 (iso-ascii-display 181 "u") ; micro sign
31143
1ff8dc8dbffc Make pilcrow convenient string
Dave Love <fx@gnu.org>
parents: 21645
diff changeset
92 (iso-ascii-display 182 "P" "(P)") ; pilcrow
13801
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
93 (iso-ascii-display 183 ".") ; middle dot
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
94 (iso-ascii-display 184 ",") ; cedilla
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
95 (iso-ascii-display 185 "1") ; superscript one
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
96 (iso-ascii-display 186 "_o") ; ordinal indicator, masculine
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
97 (iso-ascii-display 187 ">>") ; right angle quotation mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
98 (iso-ascii-display 188 "1/4") ; fraction one-quarter
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
99 (iso-ascii-display 189 "1/2") ; fraction one-half
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
100 (iso-ascii-display 190 "3/4") ; fraction three-quarters
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
101 (iso-ascii-display 191 "?") ; inverted question mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
102 (iso-ascii-display 192 "`A") ; A with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
103 (iso-ascii-display 193 "'A") ; A with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
104 (iso-ascii-display 194 "^A") ; A with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
105 (iso-ascii-display 195 "~A") ; A with tilde
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
106 (iso-ascii-display 196 "\"A") ; A with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
107 (iso-ascii-display 197 "AA") ; A with ring
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
108 (iso-ascii-display 198 "AE") ; AE diphthong
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
109 (iso-ascii-display 199 ",C") ; C with cedilla
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
110 (iso-ascii-display 200 "`E") ; E with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
111 (iso-ascii-display 201 "'E") ; E with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
112 (iso-ascii-display 202 "^E") ; E with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
113 (iso-ascii-display 203 "\"E") ; E with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
114 (iso-ascii-display 204 "`I") ; I with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
115 (iso-ascii-display 205 "'I") ; I with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
116 (iso-ascii-display 206 "^I") ; I with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
117 (iso-ascii-display 207 "\"I") ; I with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
118 (iso-ascii-display 208 "-D") ; D with stroke, Icelandic eth
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
119 (iso-ascii-display 209 "~N") ; N with tilde
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
120 (iso-ascii-display 210 "`O") ; O with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
121 (iso-ascii-display 211 "'O") ; O with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
122 (iso-ascii-display 212 "^O") ; O with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
123 (iso-ascii-display 213 "~O") ; O with tilde
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
124 (iso-ascii-display 214 "\"O") ; O with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
125 (iso-ascii-display 215 "x") ; multiplication sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
126 (iso-ascii-display 216 "/O") ; O with slash
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
127 (iso-ascii-display 217 "`U") ; U with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
128 (iso-ascii-display 218 "'U") ; U with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
129 (iso-ascii-display 219 "^U") ; U with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
130 (iso-ascii-display 220 "\"U") ; U with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
131 (iso-ascii-display 221 "'Y") ; Y with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
132 (iso-ascii-display 222 "TH") ; capital thorn, Icelandic
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
133 (iso-ascii-display 223 "ss") ; small sharp s, German
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
134 (iso-ascii-display 224 "`a") ; a with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
135 (iso-ascii-display 225 "'a") ; a with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
136 (iso-ascii-display 226 "^a") ; a with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
137 (iso-ascii-display 227 "~a") ; a with tilde
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
138 (iso-ascii-display 228 "\"a") ; a with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
139 (iso-ascii-display 229 "aa") ; a with ring
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
140 (iso-ascii-display 230 "ae") ; ae diphthong
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
141 (iso-ascii-display 231 ",c") ; c with cedilla
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
142 (iso-ascii-display 232 "`e") ; e with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
143 (iso-ascii-display 233 "'e") ; e with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
144 (iso-ascii-display 234 "^e") ; e with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
145 (iso-ascii-display 235 "\"e") ; e with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
146 (iso-ascii-display 236 "`i") ; i with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
147 (iso-ascii-display 237 "'i") ; i with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
148 (iso-ascii-display 238 "^i") ; i with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
149 (iso-ascii-display 239 "\"i") ; i with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
150 (iso-ascii-display 240 "-d") ; d with stroke, Icelandic eth
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
151 (iso-ascii-display 241 "~n") ; n with tilde
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
152 (iso-ascii-display 242 "`o") ; o with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
153 (iso-ascii-display 243 "'o") ; o with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
154 (iso-ascii-display 244 "^o") ; o with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
155 (iso-ascii-display 245 "~o") ; o with tilde
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
156 (iso-ascii-display 246 "\"o") ; o with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
157 (iso-ascii-display 247 "/") ; division sign
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
158 (iso-ascii-display 248 "/o") ; o with slash
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
159 (iso-ascii-display 249 "`u") ; u with grave accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
160 (iso-ascii-display 250 "'u") ; u with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
161 (iso-ascii-display 251 "^u") ; u with circumflex accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
162 (iso-ascii-display 252 "\"u") ; u with diaeresis or umlaut mark
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
163 (iso-ascii-display 253 "'y") ; y with acute accent
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
164 (iso-ascii-display 254 "th") ; small thorn, Icelandic
b400658e8735 (iso-ascii-convenient): New variable.
Karl Heuer <kwzh@gnu.org>
parents: 3177
diff changeset
165 (iso-ascii-display 255 "\"y") ; small y with diaeresis or umlaut mark
583
3c0c1cd8428a Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
166
49807
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
167 (defun iso-ascii-mode (arg)
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
168 "Toggle ISO-ASCII mode."
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
169 (interactive "P")
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
170 (unless arg
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
171 (setq arg (eq standard-display-table iso-ascii-standard-display-table)))
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
172 (setq standard-display-table
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
173 (if arg
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
174 iso-ascii-display-table
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
175 iso-ascii-standard-display-table)))
a0aa70bbb62a (iso-ascii-display-table): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 38412
diff changeset
176
3177
2e1b9ebc17ef Provide same name as file.
Richard M. Stallman <rms@gnu.org>
parents: 3012
diff changeset
177 (provide 'iso-ascii)
660
08eb386dd0f3 *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 583
diff changeset
178
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49807
diff changeset
179 ;;; arch-tag: 687edf0d-f792-471e-b50e-be805938359a
660
08eb386dd0f3 *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 583
diff changeset
180 ;;; iso-ascii.el ends here