From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64805: 28.2; XIM cursor position is incorrect Date: Mon, 24 Jul 2023 13:57:59 +0300 Message-ID: <835y69tw3s.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64805@debbugs.gnu.org To: YOSHINO Yoshihito , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 24 12:58:48 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qNtH5-0005GW-9G for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jul 2023 12:58:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNtGP-0000QL-Fj; Mon, 24 Jul 2023 06:58:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNtGN-0000OY-4I for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 06:58:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNtGL-0002sC-SZ for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 06:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNtGL-0004X4-PN for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 06:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2023 10:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64805 X-GNU-PR-Package: emacs Original-Received: via spool by 64805-submit@debbugs.gnu.org id=B64805.169019624917377 (code B ref 64805); Mon, 24 Jul 2023 10:58:01 +0000 Original-Received: (at 64805) by debbugs.gnu.org; 24 Jul 2023 10:57:29 +0000 Original-Received: from localhost ([127.0.0.1]:41876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNtFp-0004WD-7n for submit@debbugs.gnu.org; Mon, 24 Jul 2023 06:57:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNtFk-0004Vx-4c for 64805@debbugs.gnu.org; Mon, 24 Jul 2023 06:57:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNtFe-0002la-TU; Mon, 24 Jul 2023 06:57:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MX+eWjcxnpN702VJ1AjM3aD7C4soQOWI4DgRsY2pqbI=; b=OgctAqJ0wImz OVggav8TQ83KwTzPom6Rx9trh3B1x/MJB9BJSCl9kLcd2N/38Zkv4TZ8Izt+vuTr4zTbaVIj4RkaZ G9N8mN8hOrryoGUKmV5uITwiKn2QUk4pufCnZURBj7a+AJc7DfB5zBGwU7NOWEWf2fLBZaaIyuQOz zgi4zXhxMNw9Vfh2/qZOPGKa68OybVm+u/az5o/ca9eHpFa+ou8CoVNZG1dU0TNTsLYVShRhYKNm6 76bTVbkgOoYfZD2sZDLYpR1qsc/GHCgWn14cW+ouIY1yt6hxqeMj6d35GYcct6Fq74gRTw9FMUBjB r4CCcGVZQUtnfN0D4ZtZ+A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNtFd-0000cV-Vz; Mon, 24 Jul 2023 06:57:18 -0400 In-Reply-To: (message from YOSHINO Yoshihito on Sun, 23 Jul 2023 19:17:19 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265946 Archived-At: > From: YOSHINO Yoshihito > Date: Sun, 23 Jul 2023 19:17:19 +0900 > > I use Debian in Japanese and `uim' for an XIM server, > which is a default in Debian Japanese desktop. > > Recently I have upgraded Debian to its new stable version, > and subsequently upgraded Emacs from 27.1 to 28.2. > > On Emacs 27.1, cursor position reported via XIM is the same as those in > the current buffer, and uim displays its input candidate window adjacent > to the position, as found in the attached screenshot `27.1.png'. > This is the expected behavior. > > On Emacs 28.2, however, the cursor position is far below and outside the > Emacs frame, as found in the attached screenshot `28.2.png'. > > I have bisected Emacs git repository between 27.1 and 28.2, and found > that this regression has been caused by commit > 2a64de5e982fb8b868b76626ac2e92ddfafc9ca5, which was introduced in the > following bug report: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=10867 > > Reverting the commit restores the expected behavior. Maybe we should have a Lisp variable to control whether that change is in effect. Po Lu, any other ideas? Perhaps this is already fixed in Emacs 29? Thanks.