all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Štěpán Němec" <stepnem@gmail.com>
Cc: 53698@debbugs.gnu.org, "Eli Zaretskii" <eliz@gnu.org>,
	"江 暇疆" <aiselcce@outlook.com>
Subject: bug#53698: 29.0.50; ibus input method of chinese with rime engine can't work in v27 and ibus candidate menu blink in v29
Date: Thu, 03 Feb 2022 20:06:13 +0800	[thread overview]
Message-ID: <87tudg5f4a.fsf@yahoo.com> (raw)
In-Reply-To: <20220203123202+0100.45147-stepnem@gmail.com> ("Štěpán Němec"'s message of "Thu, 03 Feb 2022 12:32:02 +0100")

Štěpán Němec <stepnem@gmail.com> writes:

> The problem with that option is that it apparently breaks some key
> modifiers, e.g. with x-gtk-use-native-input non-nil it becomes
> impossible to bind C-S-u (Emacs processes it the same as C-u).

Yes, the problem is the same as on the PGTK port, since both use the
same input method system.

> AFAICT, X input has been broken (or rather, you get to pick: either you
> get working IME (with x-gtk-use-native-input non-nil), or working
> modifier keybindings (with it being nil); but given that
> x-gtk-use-native-input defaults to nil, for many/most people IME will
> just stop working;

It works here for me (Fedora 35, stock GNOME with IBus), but we do want
to fix this problem and keep X input methods working as well as they
used to.

Do you see the same problem in other programs that use XIM, such as
xterm?  If not, try placing:

  Emacs.inputStyle: none

in your X defaults file, and see if that solves the problem.

Most of this is caused by a more fundamental problem: XIM is an obsolete
interface with many limitations; most applications today rely on the
authors of input method frameworks to provide input modules for their
specific toolkit, and as a result the XIM backends for input method
frameworks get very little testing and are buggy.

Unfortunately, since we cannot demand that input method frame developers
provide modules specifically for supporting Emacs, the only choice we
have is between using the legacy interface standard to X (XIM) or the
toolkit's input method system (GTK native input), each with its own
limitations and advantages.

It's a sad situation, but there's nothing we can do.

> also, it's not just IMEs like fcitx or ibus, XkbLayout switching has
> the same problem) since the commit that introduced the option
> (bisected yesterday):
>
> commit d76fb0c11e98
> Author: Po Lu <luangruo@yahoo.com>
> Date:   Sat Jan 8 15:21:51 2022 +0800
>
>     Allow using GTK+ to handle input methods on X

Are you sure that's the commit which introduced this bug, and not one of
the preceeding commits that added features to the XIM support?

I find that hard to believe, since it doesn't touch anything related to
XIM.

Thanks.





  reply	other threads:[~2022-02-03 12:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01 14:30 bug#53698: 29.0.50; ibus input method of chinese with rime engine can't work in v27 and ibus candidate menu blink in v29 江 暇疆
2022-02-03  1:20 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03  7:34   ` Eli Zaretskii
2022-02-03  7:49     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03 11:32   ` Štěpán Němec
2022-02-03 12:06     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-02-03 12:09       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03 12:53         ` Štěpán Němec
2022-02-03 12:49       ` Štěpán Němec
2022-02-04  1:05         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04  1:33           ` Štěpán Němec
2022-02-04  2:20             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04  4:40               ` Štěpán Němec
2022-02-04  4:52                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04 10:30                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04 10:49                     ` Štěpán Němec
2022-02-04 12:01                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]               ` <CAEFYKcOokqwtci5tHmG7a5ho=OojykBe7iOJkCinVo5v9g4cUw@mail.gmail.com>
     [not found]                 ` <87o83n3zmp.fsf@yahoo.com>
     [not found]                   ` <CAEFYKcPSrDxdXxbrSZLiRuvQL5NLfx6OQM-7k3NJ1esdzEN6Sw@mail.gmail.com>
2022-02-04 12:04                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=87tudg5f4a.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=53698@debbugs.gnu.org \
    --cc=aiselcce@outlook.com \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=stepnem@gmail.com \
    /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.