pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Dead keys still not working in GTK Emacs
At Mon, 30 Apr 2012 11:37:12 +0200,
Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> On Mon, Apr 30, 2012 at 11:35:13AM +0200, Ian D. Leroux wrote:
> > Thanks for the report. That does indeed sound like the same issue;
> > emacs in a text terminal works fine here too, presumably because in that
> > case the X11 keyboard handling is dealt with in the terminal and emacs
> > only sees the final, composed characters. Just to confirm, what is your
> > locale set to ($LANG or $LC_*)?
>
> # echo $LC_CTYPE
> de_DE.UTF-8
Nhat Minh Lê has kindly sent a fix that works for me: in
/usr/X11R7/lib/X11/locale/en_US.UTF-8/XI18N_OBJS change the line
reading
XIM common/ximcp _XimOpenIM
to read
XIM common/ximcp _XimOpenIM
_XimRegisterIMInstantiateCallback _XimUnRegisterIMInstantiateCallback
(all on one line), and then restart the X server. Of course, you'll
have to adjust the path to XI18N_OBJS to match your locale. The
modified entry causes libX11 to load and make available the newer
(X11R6) callback-based API for XIM, which emacs expects.
If this works for you as well, then I'll file a PR requesting that the
change be made for all pertinent locales in xsrc.
-- IDL
Home |
Main Index |
Thread Index |
Old Index