Dear all,

Running emacs setting

export XMODIFIERS=@im=none
export GTK_IM_MODULE=none

deactivates the preedit window for the accent. So it seems that there
is something in the interaction between emacs and ibus, since this
phenomena happens only in emacs. This preedit "window" works fine in
xterm in both contexts (with or without those variables set).

Best, Alexandre

On Nov 25 2025, Olivier Berger wrote:
> Hi.
> 
> Just wanted to add I'm experiencing a similar behaviour for quite some time 
> now, in emacs-gtk in XFCE (Xorg), using a french desktop and Azerty keyboard, 
> when typing some accentuated characters, like u + ^. Typically, on an azerty 
> keyboard, there are 2 key strokes. First '^', then 'u'.
> 
> I noticed the following stdout/err messages :
> ../../../../modules/im/ximcp/imDefLkup.c,355: The key event is already 
> fabricated.
> ../../../../modules/im/ximcp/imDefLkup.c,355: The key event is already 
> fabricated.
> ../../../../modules/im/ximcp/imDefLkup.c,355: The key event is already 
> fabricated.
> 
> I'm running testing:
> 
> Package: emacs-gtk
> Version: 1:30.2+1-1
> Severity: normal
> 
> Hope this helps,
> 
> Le Mon, Aug 25, 2025 at 03:17:59PM -0300, Alexandre Lymberopoulos a écrit :
> > 
> > Dear Maintainer,
> > 
> > Ths subject says it all. After upgraded do Debian 13 here, eveytime I
> > type an accented character (lika á, ã, ç or so) a small "window" pops up
> > with the accent I'm going to use. That's just fine, but once the
> > characters it typed it used to go waway. But now it remains there, with
> > no accent indicated just annoyng and covering part of what I'm typing.
> > 
> > If I change from one virtual desktop to another (in XFCE) it goes away,
> > but this is not a fix for this. Obviously this doesn't happen when
> > running emacs from the terminal (and even from an X terminal).
> > 
> > Also and not sure if it is related, when I open emacs from a Xterminal I
> > get, not consistently, the following: 
> > 
> > ../../../../modules/im/ximcp/imDefLkup.c,359: Tried to fabricate a wrong 
> > key event.
> > ../../../../modules/im/ximcp/imDefLkup.c,419: The application disposed a 
> > key event with 53060 serial.
> > 
> > Running emacs -Q, confirms this behavior.
> > 
> > I may provide any further information, if needed.
> > 
> > Best, Alexandre
> > 
> 
> -- System Information:
> Debian Release: forky/sid
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
> 'testing'), (500, 'stable'), (100, 'bullseye-fasttrack'), (100, 
> 'bullseye-backports-staging')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 6.17.8+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> -- 
> Olivier BERGER
> https://www-public.imtbs-tsp.eu/~berger_o/ - OpenPGP 2048R/0xF9EAE3A65819D7E8
> Ingenieur Recherche - Dept INF
> Institut Mines-Telecom, Telecom SudParis, Evry (France)

-- 
===============================================================================
Alexandre Lymberopoulos - [email protected]
===============================================================================

Reply via email to