Subject: bug#32434: configure option without-xim is non-standard

From: Glenn Morris <[email-masked]>
Date: Mon, 27 Aug 2018 21:28:43 -0400

Richard Stallman wrote:

> Can [xim] be controlled by a Lisp variable?

Not trivially, no.

Quoting the previous discussion:

http://lists.gnu.org/archive/html/emacs-devel/2003-07/msg00292.html

  It can't be controlled via Lisp if you want it to apply initially,
  like for toolbar and menu.

Also, it can't be toggled in a running Emacs:

  If you know exactly what makes sense as far as turning it on and off,
  you've found better XIM documentation than I have, and I'd be
  interested in a pointer.

It is controlled by X resources when Emacs starts (and these can be
specified as command-line options to Emacs).