all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 14351@debbugs.gnu.org
Subject: bug#14351: 24.3; Using XIM with UIM
Date: Thu, 24 Nov 2022 17:47:10 -0800	[thread overview]
Message-ID: <CADwFkmmak05TH1A=rA=-y=TAsLoo+KC37RW9kFVv+e4Qm_dCeQ@mail.gmail.com> (raw)
In-Reply-To: <87k3ndbaip.fsf@sc3d.org> (Reuben Thomas's message of "Sun, 05 May 2013 18:29:34 +0100")

Reuben Thomas <rrt@sc3d.org> writes:

> I have been using Emacs happily for some time with XIM out of the box. I
> am using a GTK build of Emacs (as standard in Ubuntu) and had
> GTK_IM_MODULE=xim set in my environment.
>
> Recently, I switched to using UIM, as this allows me to get two bits of
> functionality I rely on: first, ~/.XCompose combinations (via XIM) and
> secondly, Ctrl+Shift+U to enter Unicode code points (this latter doesn’t
> matter to Emacs, of course).
>
> This works fine with every other program I can find, whether GTK, Qt or
> plain X.
>
> In Emacs I tried using uim.el (as shipped with Ubuntu), but this seems
> only to offer one uim input method, ascii-direct-uim, which doesn't seem
> to alter anything.
>
> If I run Emacs normally, XIM has stopped working, and pressing Compose
> just gives me "Multi_key undefined".
>
> I can make XIM work OK again by running Emacs from a bash script which
> goes:
>
> #!/bin/bash
>
> # Work with emacs binary anywhere else on PATH
> path_remove ()  {
>     export PATH=`echo -n $PATH | awk -v RS=: -v ORS=: '$0 != "'$1'"' | sed 's/:$//'`;
> }
> path_remove `dirname $0`
>
> XMODIFIERS=@im=local exec -a $0 emacs "$@"
>
> I tried running
>
> emacs --xrm "emacs.useXIM:true"
>
> but this didn't help (and looking at the source, that's no surprise: my
> Emacs is built with XIM support, so it's only turn-offable, not
> turn-onable).
>
> Is there a simpler way to get this result?

This bug was reported nearly 10 years ago, but unfortunately never got a
reply at the time.

Is this still an issue with a modern version of Emacs?





  reply	other threads:[~2022-11-25  1:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-05 17:29 bug#14351: 24.3; Using XIM with UIM Reuben Thomas
2022-11-25  1:47 ` Stefan Kangas [this message]
2022-11-25 11:40   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-25 13:00     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmmak05TH1A=rA=-y=TAsLoo+KC37RW9kFVv+e4Qm_dCeQ@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=14351@debbugs.gnu.org \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.