It’s not caused by input method. All version works ok in daemon started with `/usr/bin/emacs —daemon` or `/usr/bin/emacs —fg-daemon` in terminal. (pgtk or without pgtk) And the version without pgtk works ok by systemd user unit. But the pgtk version can’t work by systemd unit. The pgtk version thought it’s in a terminal and refused 'C-;’ only by daemon started over systemd. (I started X11 by startx command in tty) Sent with a Spark 在 2021年12月20日 +0800 21:20,Yuuki Harano ,写道: > Thanks for cc'ing me. > > On Mon, 20 Dec 2021 11:28:46 +0800, > Po Lu wrote: > > GTK likes to swallow keyboard modifiers at random, especially things > > like C-;. > > > > Perhaps Yuuki might have some ideas. > > Maybe gtk consumes C-; and emits ;. > I have no idea. > > Try: > (pgtk-use-im-context nil) > > This disables input methods. If you need a input method, > try elisp-based input methods. > > -- > Yuuki Harano