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

On Sat, May 12, 2012 at 02:39:44PM +0200, Ian D. Leroux wrote:
> 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.

It does indeed work for me, and I modified
/usr/X11R7/lib/X11/locale/en_US.UTF-8/XI18N_OBJS even though my locale
is de_DE.UTF-8 (and it still worked). (There is no
/usr/X11R7/lib/X11/locale/de_DE.UTF-8 directory.)

Please file the PR (or send me the diff directly).

Thank you,

Home | Main Index | Thread Index | Old Index