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: Thu, 03 Aug 2023 10:59:13 +0300 Message-ID: <83wmycy2su.fsf@gnu.org> References: <835y69tw3s.fsf@gnu.org> <87sf9d1pmj.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8653"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64805@debbugs.gnu.org, yy.y.ja.jp@gmail.com To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 03 10:00:22 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 1qRTFt-00023e-AM for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Aug 2023 10:00:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRTFc-0000un-DY; Thu, 03 Aug 2023 04:00:04 -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 1qRTFb-0000rU-7y for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 04:00:03 -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 1qRTFa-0002DU-QP for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 04:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRTFa-0004ZY-Jt for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 04:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Aug 2023 08:00:02 +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.169104955117431 (code B ref 64805); Thu, 03 Aug 2023 08:00:02 +0000 Original-Received: (at 64805) by debbugs.gnu.org; 3 Aug 2023 07:59:11 +0000 Original-Received: from localhost ([127.0.0.1]:50707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRTEl-0004Wz-E4 for submit@debbugs.gnu.org; Thu, 03 Aug 2023 03:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRTEj-0004WR-2n for 64805@debbugs.gnu.org; Thu, 03 Aug 2023 03:59:09 -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 1qRTEd-0001w5-Si; Thu, 03 Aug 2023 03:59:03 -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=n6prm/NZCj07IoafRNOU99irVP/Yr3v1xHRMPcpeHgI=; b=kHDEARtOsui5 8hVNpCDwYxPo8RhW/oNkD7opfJeKH5CVu4DEp/1Fb24H6c84HFiLfvwDU+SXXM6T88geQuerBO9qc n8O6+j+sGbA4KBGEX2HPq80tbfchh8i6PFIepCMQaeNOksZqZFJ9/AQ9GHaGqnWdWEB5jykESiDky Mry+PCDJOIa1iUDov0DhiFghQaJl3U0r4ystgMLq5bb/Be7LXCM8T35Y0rsP6cpaw8VUVc7N/DMMH RFqtOWORcPEKuef2s8oI/s759R0nuq8PzhRcYx1v6VIZKGZcF96EtwhKkqlwfVzj7m5Tx5OnGqYWe /sfDR+bdSSwxa5NyOPkSFw==; 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 1qRTEd-0007tl-Bv; Thu, 03 Aug 2023 03:59:03 -0400 In-Reply-To: <87sf9d1pmj.fsf@yahoo.com> (message from Po Lu on Mon, 24 Jul 2023 20:05:24 +0800) 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:266557 Archived-At: > From: Po Lu > Cc: YOSHINO Yoshihito , 64805@debbugs.gnu.org > Date: Mon, 24 Jul 2023 20:05:24 +0800 > > Eli Zaretskii writes: > > >> 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. > > I think I already fixed this in time for Emacs 29, but to avoid > disruptions for users of input methods that are affected by the Xlib bug > that was the subject of #10867 (approximately 75% of CJK X desktop > users), the fix is located behind an X resource. > > Yoshihito-san probably needs to place: > > Emacs.inputStyle: overthespot > > in his .Xresources or .Xdefaults. Thanks. Can this issue be closed now?