annotate src/input-method-motif.c @ 110:fe104dbd9147 r20-1b7

Import from CVS: tag r20-1b7
author cvs
date Mon, 13 Aug 2007 09:19:45 +0200
parents 0d2f883870bc
children 538048ae2ab8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 /* Various functions for X11R5+ input methods, using the Motif XmIm* functions.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2 input-method-xlib.c provides a lower-level implementation.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 Copyright (C) 1996 Sun Microsystems.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 This file is part of XEmacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 XEmacs is free software; you can redistribute it and/or modify it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 Free Software Foundation; either version 2, or (at your option) any
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 later version.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 for more details.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18 along with XEmacs; see the file COPYING. If not, write to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 Boston, MA 02111-1307, USA. */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 /* Synched up with: Not in FSF. */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 /* Written by Martin Buchholz. */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 #include <X11/Xlocale.h> /* More portable than <locale.h> ? */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 #include <config.h>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 #include "lisp.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 #include "console-x.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 #include "device.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 #include "frame.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 #include "EmacsFrame.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 #include <Xm/Xm.h>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
35 #ifdef __FreeBSD__
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
36 #include <osreldate.h>
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
37 #endif
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
38
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 #ifndef XIM_MOTIF
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 #error XIM_MOTIF is not defined??
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 #endif
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 void
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 Initialize_Locale (void)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 char *locale;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 XtSetLanguageProc (NULL, (XtLanguageProc) NULL, NULL);
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
49 #ifdef __FreeBSD_version
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
50 # if __FreeBSD_version >= 199701
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
51 if ((locale = setlocale (LC_CTYPE, "")) == NULL)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
52 # else
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 if ((locale = setlocale (LC_ALL, "")) == NULL)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
54 # endif
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
55 #else
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
56 if ((locale = setlocale (LC_ALL, "")) == NULL)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
57 #endif
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 stderr_out ("Can't set locale.\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 stderr_out ("Using C locale instead.\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61 putenv ("LANG=C");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62 putenv ("LC_ALL=C");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
63 if ((locale = setlocale (LC_ALL, "C")) == NULL)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65 stderr_out ("Can't even set locale to `C'!\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
66 return;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
69
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
70 if (!XSupportsLocale ())
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
72 stderr_out ("X Windows does not support locale `%s'\n", locale);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
73 stderr_out ("Using C Locale instead\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
74 putenv ("LANG=C");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
75 putenv ("LC_ALL=C");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
76 if ((locale = setlocale (LC_ALL, "C")) == NULL)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
77 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 stderr_out ("Can't even set locale to `C'!\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
79 return;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
80 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
81 if (!XSupportsLocale ())
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
82 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83 stderr_out ("X Windows does not even support locale `C'!\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
84 return;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
85 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
86 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
87
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
88 if (XSetLocaleModifiers ("") == NULL)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
89 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
90 stderr_out ("XSetLocaleModifiers(\"\") failed\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91 stderr_out ("Check the value of the XMODIFIERS environment variable.\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
94
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95 /* Create X input method for device */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96 void
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
97 XIM_init_device (struct device *d)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
98 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
99 /* Nothing to do */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
100 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
101
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
102 void
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
103 XIM_init_frame (struct frame *f)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
104 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 struct device *d = XDEVICE (FRAME_DEVICE (f));
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
106 Widget w = FRAME_X_TEXT_WIDGET (f);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107 XPoint spot = {0,0};
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
108 XFontSet fontset;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109 XmFontList fontlist;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110 XmFontListEntry fontlistEntry;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
111
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
112 typedef struct
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
113 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
114 XFontSet fontset;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
115 Pixel fg;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
116 Pixel bg;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
117 } xim_resources_t;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
118
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
119 xim_resources_t xim_resources;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
120
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
121 /* mrb: #### Fix so that background and foreground is set from
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
122 default face, rather than foreground and background resources, or
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
123 that the user can use set-frame-parameters to set xic attributes */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
124
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
125 #define res(name, class, representation, field, default_value) \
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
126 { name, class, representation, sizeof(xim_resources.field), \
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
127 XtOffsetOf(xim_resources_t, field), XtRString, default_value }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
128
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
129 static XtResource resources[] =
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
130 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
131 /* name class represent'n field default value */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
132 res(XtNfontSet, XtCFontSet, XtRFontSet, fontset, XtDefaultFontSet),
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
133 res(XtNximForeground, XtCForeground, XtRPixel, fg, XtDefaultForeground),
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 res(XtNximBackground, XtCBackground, XtRPixel, bg, XtDefaultBackground)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135 };
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
137 XtGetApplicationResources (w, &xim_resources,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
138 resources, XtNumber (resources),
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
139 NULL, 0);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
140
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
141 if (! xim_resources.fontset)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
142 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
143 stderr_out ("Can't get fontset resource for Input Method\n");
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
144 return;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
145 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147 fontlistEntry = XmFontListEntryCreate(XmFONTLIST_DEFAULT_TAG,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148 XmFONT_IS_FONTSET,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 xim_resources.fontset);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150 fontlist = XmFontListAppendEntry (NULL, fontlistEntry);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151 XmImRegister (w, 0);
110
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 98
diff changeset
152 XmImVaSetValues (w,
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 98
diff changeset
153 XmNfontList, fontlist,
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 98
diff changeset
154 XmNforeground, xim_resources.fg,
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 98
diff changeset
155 XmNbackground, xim_resources.bg,
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 98
diff changeset
156 XmNspotLocation, &spot,
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 98
diff changeset
157 /* XmNlineSpace, 0, */
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 98
diff changeset
158 NULL);
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
159
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
160 XmFontListEntryFree (&fontlistEntry);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
161 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
162
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
163 void
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
164 XIM_SetGeometry (struct frame *f)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
165 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168 void
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169 XIM_SetSpotLocation (struct frame *f, int x, int y)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 /* ### FIX: Must make sure spot fits within Preedit Area */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172 XPoint *spot = &(FRAME_X_XIC_SPOT (f));
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 if (spot->x == (short) x &&
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174 spot->y == (short) y)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175 return;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177 spot->x = (short) x;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178 spot->y = (short) y;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
180 XmImVaSetValues (FRAME_X_TEXT_WIDGET (f), XmNspotLocation, spot, NULL);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
181 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
182
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
183 void
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
184 XIM_focus_event (struct frame *f, int in_p)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
185 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
186 if (in_p)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
187 XmImVaSetFocusValues (FRAME_X_TEXT_WIDGET (f), NULL);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
188 else
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
189 XmImUnsetFocus (FRAME_X_TEXT_WIDGET (f));
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
190 }
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
191
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
192 void
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
193 vars_of_input_method_motif (void)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
194 {
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
195 Fprovide (intern ("xim"));
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
196 }