annotate lisp/x11/x-compose.el @ 48:56c54cf7c5b6 r19-16b90

Import from CVS: tag r19-16b90
author cvs
date Mon, 13 Aug 2007 08:56:04 +0200
parents 9ee227acff29
children ee648375d8d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;; Compose-key processing in emacs.
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
2 ;; Copyright (C) 1992, 1993, 1997 Free Software Foundation, Inc.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ;; This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;; XEmacs is free software; you can redistribute it and/or modify it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;; under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ;; the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;; XEmacs is distributed in the hope that it will be useful, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;; General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;; along with XEmacs; see the file COPYING. If not, write to the Free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ;; Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;;; created by jwz, 14-jun-92.
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
21 ;;; changed by Heiko Muenkel, 11-jun-97: Fixed the degree bug.
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
22 ;;; changed by Jan Vroonhof, July 1997: Use function-key-map instead
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
23 ;;; of global map.
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
24 ;;; Preliminary support for
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
25 ;;; XFree86 deadkeys
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
26 ;;; , August 1997 allow : for diaresis like xlib
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 ;;; This file implements DEC-, OpenWindows-, and HP-compatible "Compose"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 ;;; processing for XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 ;;; If you are running a version of X which already does compose processing,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 ;;; then you don't need this file. But the MIT R4 and R5 distributions don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 ;;; do compose processing, so you may want to fake it by using this code.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 ;;; The basic idea is that there are several ways to generate keysyms which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 ;;; do not have keys devoted to them on your keyboard.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 ;;; The first method is by using "dead" keys. A dead key is a key which,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 ;;; when typed, does not insert a character. Instead it modifies the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 ;;; following character typed. So if you typed "dead-tilde" followed by "A",
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 ;;; then "A-tilde" would be inserted. Of course, this requires you to modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 ;;; your keyboard to include a "dead-tilde" key on it somewhere.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 ;;; The second method is by using a "Compose" key. With a Compose key, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 ;;; would type "Compose" then "tilde" then "A" to insert "A-tilde".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 ;;; There are a small number of dead keys: acute, grave, cedilla, diaeresis,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 ;;; circumflex, tilde, and ring. There are a larger number of accented and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 ;;; other characters accessible via the Compose key, so both are useful.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 ;;; To use this code, you will need to have a Compose key on your keyboard.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 ;;; The default configuration of most X keyboards doesn't contain one. You
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 ;;; can, for example, turn the right "Meta" key into a "Compose" key with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 ;;; this command:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 ;;; xmodmap -e "remove mod1 = Meta_R" -e "keysym Meta_R = Multi_key"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 ;;;
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
58 ;;; Multi-key is the name that X (and emacs) know the "Compose" key by.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 ;;; The "remove..." command is necessary because the "Compose" key must not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 ;;; have any modifier bits associated with it. This exact command may not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 ;;; work, depending on what system and keyboard you are using. If it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 ;;; doesn't, you'll have to read the man page for xmodmap. You might want
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 ;;; to get the "xkeycaps" program from the host export.lcs.mit.edu in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 ;;; file contrib/xkeycaps.tar.Z, which is a graphical front end to xmodmap
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 ;;; that hides xmodmap's arcane syntax from you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 ;;; If for some reason you don't want to have a dedicated compose key on your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 ;;; keyboard, you can use some other key as the prefix. For example, to make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 ;;; "Meta-Shift-C" act as a compose key (so that "M-C , c" would insert the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 ;;; character "ccedilla") you could do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 ;;; (global-set-key "\M-C" compose-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 ;;; I believe the bindings encoded in this file are the same as those used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 ;;; by OpenWindows versions 2 and 3, and DEC VT320 terminals. Please let me
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 ;;; know if you think otherwise.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 ;;; Much thanks to Justin Bur <justin@crim.ca> for helping me understand how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 ;;; this stuff is supposed to work.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 ;;; You also might want to consider getting Justin's patch for the MIT Xlib
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 ;;; that implements compose processing in the library. This will enable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 ;;; compose processing in applications other than emacs as well. You can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 ;;; get it from export.lcs.mit.edu in contrib/compose.tar.Z.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 ;;; This code has one feature that a more "builtin" Compose mechanism could
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 ;;; not have: at any point you can type C-h to get a list of the possible
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 ;;; completions of what you have typed so far.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 (require 'x-iso8859-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 (defvar compose-map (make-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 (defvar compose-acute-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 (defvar compose-grave-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 (defvar compose-cedilla-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 (defvar compose-diaeresis-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 (defvar compose-circumflex-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 (defvar compose-tilde-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 (defvar compose-ring-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 ;;; The command `compose-key' exists so that this file may be autoloaded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 ;;;this doesn't work yet###autoload
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
103 ;; (define-function 'compose-key compose-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 ;; The "Compose" key:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 ;; (keysym is lower case because we downcase everything in the Symbol font...)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 ;;;this doesn't work yet###autoload
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
109 ;; Ditched JV, (define-key function-key-map [multi-key] 'compose-key)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
110 (define-key function-key-map [multi-key] compose-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
111
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
112 ;; The following is necessary, because one can't rebind [degree]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
113 ;; and use it to insert the degree sign!
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
114 (defun compose-insert-degree ()
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
115 "Inserts a degree sign."
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
116 (interactive)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
117 (insert ?\260))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 ;; The "Dead" keys:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 ;;
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
121 (define-key function-key-map [acute] compose-acute-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
122 (define-key function-key-map [cedilla] compose-cedilla-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
123 (define-key function-key-map [diaeresis] compose-diaeresis-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
124 (define-key function-key-map [degree] compose-ring-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 ;; The dead keys as seen by the "Compose" map:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 (define-key compose-map [acute] compose-acute-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 (define-key compose-map [cedilla] compose-cedilla-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 (define-key compose-map [diaeresis] compose-diaeresis-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 (define-key compose-map [degree] compose-ring-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 (define-key compose-map "'" compose-acute-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 (define-key compose-map "`" compose-grave-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 (define-key compose-map "," compose-cedilla-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 (define-key compose-map "\"" compose-diaeresis-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
137 (define-key compose-map ":" compose-diaeresis-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 (define-key compose-map "^" compose-circumflex-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 (define-key compose-map "~" compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 (define-key compose-map "*" compose-ring-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 ;;; The dead keys might really be called just about anything, depending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 ;;; on the vendor. MIT thinks that the prefixes are "SunFA_", "D", and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 ;;; "hpmute_" for Sun, DEC, and HP respectively. However, OpenWindows 3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 ;;; thinks that the prefixes are "SunXK_FA_", "DXK_", and "hpXK_mute_".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 ;;; And HP (who don't mention Sun and DEC at all) use "XK_mute_".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 ;;; Go figure.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 ;;; Presumably if someone is running OpenWindows, they won't be using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 ;;; the DEC or HP keysyms, but if they are defined then that is possible,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 ;;; so in that case we accept them all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 ;;; If things seem not to be working, you might want to check your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 ;;; /usr/lib/X11/XKeysymDB file to see if your vendor has an equally
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 ;;; mixed up view of what these keys should be called.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 ;; Sun according to MIT:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 (cond ((x-valid-keysym-name-p "SunFA_Acute")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
161 (define-key function-key-map [SunFA_Acute]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
162 compose-acute-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 (define-key compose-map [SunFA_Acute] compose-acute-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
164 (define-key function-key-map [SunFA_Grave]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
165 compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 (define-key compose-map [SunFA_Grave] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
167 (define-key function-key-map [SunFA_Cedilla]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
168 compose-cedilla-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 (define-key compose-map [SunFA_Cedilla] compose-cedilla-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
170 (define-key function-key-map [SunFA_Diaeresis] compose-diaeresis-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 (define-key compose-map [SunFA_Diaeresis] compose-diaeresis-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
172 (define-key function-key-map [SunFA_Circum]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
173 compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 (define-key compose-map [SunFA_Circum] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
175 (define-key function-key-map [SunFA_Tilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
176 compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 (define-key compose-map [SunFA_Tilde] compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 ;; Sun according to OpenWindows 2:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 (cond ((x-valid-keysym-name-p "Dead_Grave")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
183 (define-key function-key-map [Dead_Grave]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
184 compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 (define-key compose-map [Dead_Grave] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
186 (define-key function-key-map [Dead_Circum]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
187 compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 (define-key compose-map [Dead_Circum] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
189 (define-key function-key-map [Dead_Tilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
190 compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 (define-key compose-map [Dead_Tilde] compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 ;; Sun according to OpenWindows 3:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 (cond ((x-valid-keysym-name-p "SunXK_FA_Acute")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
197 (define-key function-key-map [SunXK_FA_Acute]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
198 compose-acute-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 (define-key compose-map [SunXK_FA_Acute] compose-acute-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
200 (define-key function-key-map [SunXK_FA_Grave]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
201 compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 (define-key compose-map [SunXK_FA_Grave] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
203 (define-key function-key-map [SunXK_FA_Cedilla] compose-cedilla-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 (define-key compose-map [SunXK_FA_Cedilla] compose-cedilla-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
205 (define-key function-key-map [SunXK_FA_Diaeresis]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
206 compose-diaeresis-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 (define-key compose-map [SunXK_FA_Diaeresis] compose-diaeresis-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
208 (define-key function-key-map [SunXK_FA_Circum] compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 (define-key compose-map [SunXK_FA_Circum] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
210 (define-key function-key-map [SunXK_FA_Tilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
211 compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 (define-key compose-map [SunXK_FA_Tilde] compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 ;; DEC according to MIT:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 (cond ((x-valid-keysym-name-p "Dacute_accent")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
218 (define-key function-key-map [Dacute_accent]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
219 compose-acute-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 (define-key compose-map [Dacute_accent] compose-acute-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
221 (define-key function-key-map [Dgrave_accent]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
222 compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 (define-key compose-map [Dgrave_accent] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
224 (define-key function-key-map [Dcedilla_accent] compose-cedilla-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 (define-key compose-map [Dcedilla_accent] compose-cedilla-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
226 (define-key function-key-map [Dcircumflex_accent]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
227 compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 (define-key compose-map [Dcircumflex_accent] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
229 (define-key function-key-map [Dtilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
230 compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 (define-key compose-map [Dtilde] compose-tilde-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
232 (define-key function-key-map [Dring_accent]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
233 compose-ring-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 (define-key compose-map [Dring_accent] compose-ring-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 ;; DEC according to OpenWindows 3:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 (cond ((x-valid-keysym-name-p "DXK_acute_accent")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
240 (define-key function-key-map [DXK_acute_accent] compose-acute-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 (define-key compose-map [DXK_acute_accent] compose-acute-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
242 (define-key function-key-map [DXK_grave_accent] compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 (define-key compose-map [DXK_grave_accent] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
244 (define-key function-key-map [DXK_cedilla_accent]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
245 compose-cedilla-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 (define-key compose-map [DXK_cedilla_accent] compose-cedilla-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
247 (define-key function-key-map [DXK_circumflex_accent]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
248 compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 (define-key compose-map [DXK_circumflex_accent] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
250 (define-key function-key-map [DXK_tilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
251 compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 (define-key compose-map [DXK_tilde] compose-tilde-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
253 (define-key function-key-map [DXK_ring_accent] compose-ring-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 (define-key compose-map [DXK_ring_accent] compose-ring-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 ;; HP according to MIT:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 (cond ((x-valid-keysym-name-p "hpmute_acute")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
260 (define-key function-key-map [hpmute_acute]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
261 compose-acute-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 (define-key compose-map [hpmute_acute] compose-acute-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
263 (define-key function-key-map [hpmute_grave]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
264 compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 (define-key compose-map [hpmute_grave] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
266 (define-key function-key-map [hpmute_diaeresis] compose-diaeresis-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 (define-key compose-map [hpmute_diaeresis] compose-diaeresis-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
268 (define-key function-key-map [hpmute_asciicircum]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
269 compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 (define-key compose-map [hpmute_asciicircum] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
271 (define-key function-key-map [hpmute_asciitilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
272 compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 (define-key compose-map [hpmute_asciitilde] compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 ;; HP according to OpenWindows 3:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 (cond ((x-valid-keysym-name-p "hpXK_mute_acute")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
279 (define-key function-key-map [hpXK_mute_acute] compose-acute-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 (define-key compose-map [hpXK_mute_acute] compose-acute-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
281 (define-key function-key-map [hpXK_mute_grave] compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 (define-key compose-map [hpXK_mute_grave] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
283 (define-key function-key-map [hpXK_mute_diaeresis]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
284 compose-diaeresis-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 (define-key compose-map [hpXK_mute_diaeresis] compose-diaeresis-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
286 (define-key function-key-map [hpXK_mute_asciicircum]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
287 compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 (define-key compose-map [hpXK_mute_asciicircum] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
289 (define-key function-key-map [hpXK_mute_asciitilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
290 compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 (define-key compose-map [hpXK_mute_asciitilde] compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 ;; HP according to HP-UX 8.0:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 (cond ((x-valid-keysym-name-p "XK_mute_acute")
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
297 (define-key function-key-map [XK_mute_acute]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
298 compose-acute-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 (define-key compose-map [XK_mute_acute] compose-acute-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
300 (define-key function-key-map [XK_mute_grave]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
301 compose-grave-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 (define-key compose-map [XK_mute_grave] compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
303 (define-key function-key-map [XK_mute_diaeresis]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
304 compose-diaeresis-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 (define-key compose-map [XK_mute_diaeresis] compose-diaeresis-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
306 (define-key function-key-map [XK_mute_asciicircum]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
307 compose-circumflex-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 (define-key compose-map [XK_mute_asciicircum] compose-circumflex-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
309 (define-key function-key-map
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
310 [XK_mute_asciitilde] compose-tilde-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 (define-key compose-map [XK_mute_asciitilde] compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 ))
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
313 ;; Xfree seems to use lower case and a hyphen
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
314 (cond ((x-valid-keysym-name-p "dead-tilde")
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
315 (define-key function-key-map [dead-acute]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
316 compose-acute-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
317 (define-key compose-map [dead-acute] compose-acute-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
318 (define-key function-key-map [dead-grave]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
319 compose-grave-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
320 (define-key compose-map [dead-grave] compose-grave-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
321 (define-key function-key-map [dead-cedilla] compose-cedilla-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
322 (define-key compose-map [dead-cedilla] compose-cedilla-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
323 (define-key function-key-map [dead_diaeresis] compose-diaeresis-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
324 (define-key compose-map [dead-diaeresis] compose-diaeresis-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
325 (define-key function-key-map [dead-circum] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
326 (define-key compose-map [dead-circum] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
327 (define-key function-key-map [dead-circumflex] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
328 (define-key compose-map [dead-circumflex] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
329 (define-key function-key-map [dead-tilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
330 compose-tilde-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
331 (define-key compose-map [dead-tilde] compose-tilde-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
332 ))
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
333 ;; and AIX uses underscore, sigh....
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
334 (cond ((x-valid-keysym-name-p "dead_tilde")
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
335 (define-key function-key-map [dead_acute]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
336 compose-acute-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
337 (define-key compose-map [dead_acute] compose-acute-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
338 (define-key function-key-map [dead_grave]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
339 compose-grave-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
340 (define-key compose-map [dead_grave] compose-grave-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
341 (define-key function-key-map [dead_cedilla] compose-cedilla-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
342 (define-key compose-map [dead_cedilla] compose-cedilla-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
343 (define-key function-key-map [dead_diaeresis] compose-diaeresis-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
344 (define-key compose-map [dead_diaeresis] compose-diaeresis-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
345 ; There seems to be several spellings for circumflex....
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
346 (define-key function-key-map [dead_circum] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
347 (define-key compose-map [dead_circum] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
348 (define-key function-key-map [dead_circumflex] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
349 (define-key compose-map [dead_circumflex] compose-circumflex-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
350 (define-key function-key-map [dead_tilde]
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
351 compose-tilde-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
352 (define-key compose-map [dead_tilde] compose-tilde-map)
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
353 ))
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
354
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
355
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 ;;; The contents of the "dead key" maps. These are shared by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 ;;; compose-map.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 (set-keymap-name compose-acute-map 'compose-acute-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 (define-key compose-acute-map " " "'")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 (define-key compose-acute-map "'" [acute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 (define-key compose-acute-map "A" [Aacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 (define-key compose-acute-map "E" [Eacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 (define-key compose-acute-map "I" [Iacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 (define-key compose-acute-map "O" [Oacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 (define-key compose-acute-map "U" [Uacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 (define-key compose-acute-map "Y" [Yacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 (define-key compose-acute-map "a" [aacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 (define-key compose-acute-map "e" [eacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 (define-key compose-acute-map "i" [iacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 (define-key compose-acute-map "o" [oacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 (define-key compose-acute-map "u" [uacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 (define-key compose-acute-map "y" [yacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 (set-keymap-name compose-grave-map 'compose-grave-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
377 (define-key compose-grave-map " " "`")
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
378 (define-key compose-grave-map "`" [grave])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 (define-key compose-grave-map "A" [Agrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 (define-key compose-grave-map "E" [Egrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 (define-key compose-grave-map "I" [Igrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 (define-key compose-grave-map "O" [Ograve])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 (define-key compose-grave-map "U" [Ugrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 (define-key compose-grave-map "a" [agrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 (define-key compose-grave-map "e" [egrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 (define-key compose-grave-map "i" [igrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 (define-key compose-grave-map "o" [ograve])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 (define-key compose-grave-map "u" [ugrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 (set-keymap-name compose-cedilla-map 'compose-cedilla-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
391 (define-key compose-cedilla-map " " ",")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 (define-key compose-cedilla-map "," [cedilla])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 (define-key compose-cedilla-map "C" [Ccedilla])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 (define-key compose-cedilla-map "c" [ccedilla])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 (set-keymap-name compose-diaeresis-map 'compose-diaeresis-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 (define-key compose-diaeresis-map " " [diaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 (define-key compose-diaeresis-map "\"" [diaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
399 (define-key compose-diaeresis-map ":" [diaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 (define-key compose-diaeresis-map "A" [Adiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 (define-key compose-diaeresis-map "E" [Ediaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 (define-key compose-diaeresis-map "I" [Idiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 (define-key compose-diaeresis-map "O" [Odiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 (define-key compose-diaeresis-map "U" [Udiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 (define-key compose-diaeresis-map "a" [adiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 (define-key compose-diaeresis-map "e" [ediaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 (define-key compose-diaeresis-map "i" [idiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 (define-key compose-diaeresis-map "o" [odiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 (define-key compose-diaeresis-map "u" [udiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 (define-key compose-diaeresis-map "y" [ydiaeresis])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 (set-keymap-name compose-circumflex-map 'compose-circumflex-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 (define-key compose-circumflex-map " " "^")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 (define-key compose-circumflex-map "/" "|")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 (define-key compose-circumflex-map "!" [brokenbar])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 (define-key compose-circumflex-map "-" [macron])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 (define-key compose-circumflex-map "_" [macron])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
418 (define-key compose-circumflex-map "0" 'compose-insert-degree)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 (define-key compose-circumflex-map "1" [onesuperior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 (define-key compose-circumflex-map "2" [twosuperior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 (define-key compose-circumflex-map "3" [threesuperior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 (define-key compose-circumflex-map "." [periodcentered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 (define-key compose-circumflex-map "A" [Acircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 (define-key compose-circumflex-map "E" [Ecircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 (define-key compose-circumflex-map "I" [Icircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 (define-key compose-circumflex-map "O" [Ocircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 (define-key compose-circumflex-map "U" [Ucircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 (define-key compose-circumflex-map "a" [acircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 (define-key compose-circumflex-map "e" [ecircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 (define-key compose-circumflex-map "i" [icircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 (define-key compose-circumflex-map "o" [ocircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 (define-key compose-circumflex-map "u" [ucircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 (set-keymap-name compose-tilde-map 'compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 (define-key compose-tilde-map " " "~")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 (define-key compose-tilde-map "A" [Atilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 (define-key compose-tilde-map "N" [Ntilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 (define-key compose-tilde-map "O" [Otilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 (define-key compose-tilde-map "a" [atilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 (define-key compose-tilde-map "n" [ntilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 (define-key compose-tilde-map "o" [otilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 (set-keymap-name compose-ring-map 'compose-ring-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
444 (define-key compose-ring-map " " 'compose-insert-degree)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 (define-key compose-ring-map "A" [Aring])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 (define-key compose-ring-map "a" [aring])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 ;;; The rest of the compose-map. These are the composed characters
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 ;;; that are not accessible via "dead" keys.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 (set-keymap-name compose-map 'compose-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 (define-key compose-map " '" "'")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 (define-key compose-map " ^" "^")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 (define-key compose-map " `" "`")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 (define-key compose-map " ~" "~")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 (define-key compose-map " " [nobreakspace])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 (define-key compose-map " \"" [diaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
459 (define-key compose-map " :" [diaeresis])
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
460 (define-key compose-map " *" 'compose-insert-degree)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 (define-key compose-map "!!" [exclamdown])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 (define-key compose-map "!^" [brokenbar])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 (define-key compose-map "!S" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 (define-key compose-map "!s" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 (define-key compose-map "!P" [paragraph])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 (define-key compose-map "!p" [paragraph])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 (define-key compose-map "((" "[")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 (define-key compose-map "(-" "{")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 (define-key compose-map "))" "]")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 (define-key compose-map ")-" "}")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 (define-key compose-map "++" "#")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 (define-key compose-map "+-" [plusminus])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 (define-key compose-map "-(" "{")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 (define-key compose-map "-)" "}")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 (define-key compose-map "--" "-")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 (define-key compose-map "-L" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 (define-key compose-map "-l" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 (define-key compose-map "-Y" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 (define-key compose-map "-y" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 (define-key compose-map "-," [notsign])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 (define-key compose-map "-|" [notsign])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 (define-key compose-map "-^" [macron])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 (define-key compose-map "-+" [plusminus])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 (define-key compose-map "-:" [division])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 (define-key compose-map "-D" [ETH])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 (define-key compose-map "-d" [eth])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 (define-key compose-map "-a" [ordfeminine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 (define-key compose-map ".^" [periodcentered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 (define-key compose-map "//" "\\")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 (define-key compose-map "/<" "\\")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 (define-key compose-map "/^" "|")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 (define-key compose-map "/C" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 (define-key compose-map "/c" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 (define-key compose-map "/U" [mu])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 (define-key compose-map "/u" [mu])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503 (define-key compose-map "/O" [Ooblique])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 (define-key compose-map "/o" [oslash])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 (define-key compose-map "0X" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 (define-key compose-map "0x" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 (define-key compose-map "0S" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 (define-key compose-map "0s" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 (define-key compose-map "0C" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 (define-key compose-map "0c" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 (define-key compose-map "0R" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 (define-key compose-map "0r" [registered])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
514 (define-key compose-map "0^" 'compose-insert-degree)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 (define-key compose-map "1^" [onesuperior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 (define-key compose-map "14" [onequarter])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 (define-key compose-map "12" [onehalf])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 (define-key compose-map "2^" [twosuperior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 (define-key compose-map "3^" [threesuperior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 (define-key compose-map "34" [threequarters])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 (define-key compose-map ":-" [division])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 (define-key compose-map "</" "\\")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 (define-key compose-map "<<" [guillemotleft])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 (define-key compose-map "=L" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 (define-key compose-map "=l" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 (define-key compose-map "=Y" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 (define-key compose-map "=y" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 (define-key compose-map ">>" [guillemotright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 (define-key compose-map "??" [questiondown])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 (define-key compose-map "AA" "@")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 (define-key compose-map "Aa" "@")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 (define-key compose-map "A_" [ordfeminine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 (define-key compose-map "A`" [Agrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 (define-key compose-map "A'" [Aacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 (define-key compose-map "A^" [Acircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 (define-key compose-map "A~" [Atilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 (define-key compose-map "A\"" [Adiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
547 (define-key compose-map "A:" [Adiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 (define-key compose-map "A*" [Aring])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 (define-key compose-map "AE" [AE])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 (define-key compose-map "C/" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 (define-key compose-map "C|" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 (define-key compose-map "C0" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 (define-key compose-map "CO" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 (define-key compose-map "Co" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 (define-key compose-map "C," [Ccedilla])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 (define-key compose-map "D-" [ETH])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 (define-key compose-map "E`" [Egrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 (define-key compose-map "E'" [Eacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 (define-key compose-map "E^" [Ecircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 (define-key compose-map "E\"" [Ediaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
564 (define-key compose-map "E:" [Ediaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 (define-key compose-map "I`" [Igrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 (define-key compose-map "I'" [Iacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 (define-key compose-map "I^" [Icircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 (define-key compose-map "I\"" [Idiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
570 (define-key compose-map "I:" [Idiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 (define-key compose-map "L-" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 (define-key compose-map "L=" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 (define-key compose-map "N~" [Ntilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 (define-key compose-map "OX" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 (define-key compose-map "Ox" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 (define-key compose-map "OS" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 (define-key compose-map "Os" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 (define-key compose-map "OC" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 (define-key compose-map "Oc" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 (define-key compose-map "OR" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 (define-key compose-map "Or" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 (define-key compose-map "O_" [masculine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 (define-key compose-map "O`" [Ograve])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 (define-key compose-map "O'" [Oacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 (define-key compose-map "O^" [Ocircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 (define-key compose-map "O~" [Otilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 (define-key compose-map "O\"" [Odiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
591 (define-key compose-map "O:" [Odiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 (define-key compose-map "O/" [Ooblique])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 (define-key compose-map "P!" [paragraph])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 (define-key compose-map "R0" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 (define-key compose-map "RO" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 (define-key compose-map "Ro" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 (define-key compose-map "S!" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 (define-key compose-map "S0" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 (define-key compose-map "SO" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 (define-key compose-map "So" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 (define-key compose-map "SS" [ssharp])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 (define-key compose-map "TH" [THORN])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 (define-key compose-map "U`" [Ugrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 (define-key compose-map "U'" [Uacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 (define-key compose-map "U^" [Ucircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 (define-key compose-map "U\"" [Udiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
612 (define-key compose-map "U:" [Udiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 (define-key compose-map "X0" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 (define-key compose-map "XO" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 (define-key compose-map "Xo" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 (define-key compose-map "Y-" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 (define-key compose-map "Y=" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 (define-key compose-map "Y'" [Yacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 (define-key compose-map "_A" [ordfeminine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 (define-key compose-map "_a" [ordfeminine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 (define-key compose-map "_^" [macron])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 (define-key compose-map "_O" [masculine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 (define-key compose-map "_o" [masculine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 (define-key compose-map "aA" "@")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 (define-key compose-map "aa" "@")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 (define-key compose-map "a_" [ordfeminine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 (define-key compose-map "a-" [ordfeminine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 (define-key compose-map "a`" [agrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 (define-key compose-map "a'" [aacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 (define-key compose-map "a^" [acircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 (define-key compose-map "a~" [atilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 (define-key compose-map "a\"" [adiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
637 (define-key compose-map "a:" [adiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 (define-key compose-map "a*" [aring])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 (define-key compose-map "ae" [ae])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 (define-key compose-map "c/" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 (define-key compose-map "c|" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 (define-key compose-map "c0" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 (define-key compose-map "cO" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 (define-key compose-map "co" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 (define-key compose-map "c," [ccedilla])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 (define-key compose-map "d-" [eth])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 (define-key compose-map "e`" [egrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 (define-key compose-map "e'" [eacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 (define-key compose-map "e^" [ecircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 (define-key compose-map "e\"" [ediaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
654 (define-key compose-map "e:" [ediaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 (define-key compose-map "i`" [igrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 (define-key compose-map "i'" [iacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 (define-key compose-map "i^" [icircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 (define-key compose-map "i\"" [idiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
660 (define-key compose-map "i:" [idiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 (define-key compose-map "l-" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 (define-key compose-map "l=" [sterling])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 (define-key compose-map "n~" [ntilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 (define-key compose-map "oX" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 (define-key compose-map "ox" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 (define-key compose-map "oC" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 (define-key compose-map "oc" [copyright])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 (define-key compose-map "oR" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 (define-key compose-map "or" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 (define-key compose-map "oS" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 (define-key compose-map "os" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 (define-key compose-map "o_" [masculine])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 (define-key compose-map "o`" [ograve])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 (define-key compose-map "o'" [oacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 (define-key compose-map "o^" [ocircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 (define-key compose-map "o~" [otilde])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 (define-key compose-map "o\"" [odiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
681 (define-key compose-map "o:" [odiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 (define-key compose-map "o/" [oslash])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 (define-key compose-map "p!" [paragraph])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 (define-key compose-map "r0" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687 (define-key compose-map "rO" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 (define-key compose-map "ro" [registered])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 (define-key compose-map "s!" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 (define-key compose-map "s0" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 (define-key compose-map "sO" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 (define-key compose-map "so" [section])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 (define-key compose-map "ss" [ssharp])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 (define-key compose-map "th" [thorn])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 (define-key compose-map "u`" [ugrave])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 (define-key compose-map "u'" [uacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 (define-key compose-map "u^" [ucircumflex])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 (define-key compose-map "u\"" [udiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
702 (define-key compose-map "u:" [udiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 (define-key compose-map "u/" [mu])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705 (define-key compose-map "x0" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 (define-key compose-map "xO" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 (define-key compose-map "xo" [currency])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 (define-key compose-map "xx" [multiply])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 (define-key compose-map "y-" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 (define-key compose-map "y=" [yen])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 (define-key compose-map "y'" [yacute])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 (define-key compose-map "y\"" [ydiaeresis])
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
714 (define-key compose-map "y:" [ydiaeresis])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 (define-key compose-map "|C" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717 (define-key compose-map "|c" [cent])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 (define-key compose-map "||" [brokenbar])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 ;;; Electric dead keys: making a' mean a-acute.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 (defun electric-diacritic (&optional count)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 "Modify the previous character with an accent.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 For example, if `:' is bound to this command, then typing `a:'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 will first insert `a' and then turn it into `\344' (adiaeresis).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 The keys to which this command may be bound (and the accents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 which it understands) are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 ' (acute) \301\311\315\323\332\335 \341\351\355\363\372\375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 ` (grave) \300\310\314\322\331 \340\350\354\362\371
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 : (diaeresis) \304\313\317\326\334 \344\353\357\366\374\377
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 ^ (circumflex) \302\312\316\324\333 \342\352\356\364\373
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 , (cedilla) \307\347
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 . (ring) \305\345"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 (interactive "p")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 (or count (setq count 1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 (if (not (eq last-command 'self-insert-command))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 ;; Only do the magic if the two chars were typed in succession.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 (self-insert-command count)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 ;; This is so that ``a : C-x u'' will transform `adiaeresis' back into `a:'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 (self-insert-command count)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 (undo-boundary)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 (delete-char (- count))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 (let* ((c last-command-char)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 (map (cond ((eq c ?') compose-acute-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 ((eq c ?`) compose-grave-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 ((eq c ?,) compose-cedilla-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 ((eq c ?:) compose-diaeresis-map)
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 14
diff changeset
753 ((eq c ?\") compose-diaeresis-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 ((eq c ?^) compose-circumflex-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 ((eq c ?~) compose-tilde-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 ((eq c ?.) compose-ring-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 (t (error "unknown diacritic: %s (%c)" c c))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 (base-char (preceding-char))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759 (mod-char (and (>= (downcase base-char) ?a) ; only do alphabetics?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 (<= (downcase base-char) ?z)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 (lookup-key map (make-string 1 base-char)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 (if (and (vectorp mod-char) (= (length mod-char) 1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 (setq mod-char (aref mod-char 0)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 (if (and mod-char (symbolp mod-char))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 (setq mod-char (or (get mod-char character-set-property) mod-char)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 (if (and mod-char (> count 0))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 (delete-char -1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 (setq mod-char c))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 (while (> count 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770 (insert mod-char)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 (setq count (1- count))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
773 ;; should "::" mean ",A((B" and ": " mean ":"?
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 ;; should we also do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 ;; (?~
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 ;; (?A "\303")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 ;; (?C "\307")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 ;; (?D "\320")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 ;; (?N "\321")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 ;; (?O "\325")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 ;; (?a "\343")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 ;; (?c "\347")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 ;; (?d "\360")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 ;; (?n "\361")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 ;; (?o "\365")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 ;; (?> "\273")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 ;; (?< "\253")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 ;; (? "~")) ; no special code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 ;; (?\/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 ;; (?A "\305") ;; A-with-ring (Norwegian and Danish)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 ;; (?E "\306") ;; AE-ligature (Norwegian and Danish)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 ;; (?O "\330")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 ;; (?a "\345") ;; a-with-ring (Norwegian and Danish)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794 ;; (?e "\346") ;; ae-ligature (Norwegian and Danish)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 ;; (?o "\370")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 ;; (? "/")) ; no special code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 ;;; Providing help in the middle of a compose sequence. (Way cool.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801 (defun compose-help ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 (let* ((keys (apply 'vector
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 (nreverse
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 (cdr (nreverse (append (this-command-keys) nil))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 (map (or (key-binding keys)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 (error (format "can't find map? %s" (this-command-keys))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 (with-output-to-temp-buffer "*Help*"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809 (set-buffer "*Help*")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 (message "Working...")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 (setq ctl-arrow 'compose) ; non-t-non-nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 (insert "You are typing a compose sequence. So far you have typed: ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 (insert (key-description keys))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815 (insert "\nCompletions from here are:\n\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 (map-keymap 'compose-help-mapper map t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 (message "? "))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 (let (event)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 (while (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820 (setq event (next-command-event))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
821 (setq map (lookup-key map (vector event)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 (keymapp map))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 (if map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 (command-execute map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 (setq unread-command-event event)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828 (put 'compose-help 'isearch-command t) ; so that it doesn't terminate isearch
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 (defun compose-help-mapper (key binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 (if (and (symbolp key)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 (get key character-set-property))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 (setq key (get key character-set-property)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 (if (eq binding 'compose-help) ; suppress that...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 (if (keymapp binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 (let ((p (point)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838 (map-keymap 'compose-help-mapper binding t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 (goto-char p)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 (while (not (eobp))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841 (if (numberp key)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 (insert (make-string 1 key))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 (insert (single-key-description key)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 (insert " ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 (forward-line 1)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 (if (numberp key)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 (insert (make-string 1 key))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 (insert (single-key-description key)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 (indent-to 16)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850 (let ((code (and (vectorp binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 (= 1 (length binding))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 (get (aref binding 0) character-set-property))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 (if code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 (insert (make-string 1 code))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 (if (stringp binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856 (insert binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857 (insert (prin1-to-string binding)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 (if (and (vectorp binding) (= 1 (length binding)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860 (indent-to 32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 (insert (symbol-name (aref binding 0))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862 (insert "\n")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 ;; define it at top-level in the compose map...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 (define-key compose-map '(control h) 'compose-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 (define-key compose-map 'help 'compose-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 ;; and then define it in each sub-map of the compose map.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868 (map-keymap
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 (function (lambda (key binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 (if (keymapp binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 (define-key binding '(control h) 'compose-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 (define-key binding 'help 'compose-help)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 compose-map nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
876 ;; Make redisplay display the accented letters
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877 (if (memq (default-value 'ctl-arrow) '(t nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878 (setq-default ctl-arrow 'iso-8859/1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 (provide 'x-compose)