Package: emacs Version: 1:26.1+1-3.2+deb10u1 Severity: normal The variable XMODIFIERS is necessary to use input methods (e.g. for Japanese, Chinese, or the International Phonetic Alphabet) in Emacs.
The Compose key, called Multi_key in X terminology, is used to enter international characters in general. These two mechanisms appear to conflict in Emacs (and only in Emacs). If I set my XMODIFIERS (I tried with XMODIFIERS="@im=uim" and XMODIFIERS="@im=xim"), the Multi_key stops working for character input, instead making Emacs complain that "<Multi_key> is undefined". If I unset XMODIFIERS the Multi_key works, but then I can’t use external input methods. This bug is a recurrent issue with Emacs, and several reports from past years can be found online (see e.g. thread in https://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00867.html ). It appeared to be solved for a while on my system, so it may be a regression. I’m reporting for the Debian stable version, but I tried an Emacs 28 snapshot package and found the same behaviour. It happens for both emacs-gtk and lucid. There was a time when you could work around it (for some reason) by setting your LC_ALL=ja_JP.UTF-8, but this doesn’t work anymore. I would appreciate any current workarounds, because this bug renders Emacs unusable for my case (I’m a linguist writing my thesis in Latex using Japanese, IPA and other writing systems). Thank you for your attention and hard work. -- System Information: Debian Release: 10.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-0.bpo.2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages emacs depends on: ii emacs-gtk 1:26.1+1-3.2+deb10u1 emacs recommends no packages. emacs suggests no packages. -- no debconf information