From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Tue, 18 Apr 2023 09:35:12 +0800 Message-ID: <87bkjmgegf.fsf@yahoo.com> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <43d50d6a-1eb0-cd42-0479-3f9d4d74904a@yandex.ru> <87ilfkyorf.fsf@yahoo.com> <8f4df0d7-eb1a-379a-db03-314f2c93743b@yandex.ru> <87a60vztad.fsf@yahoo.com> <14405ac4f8f101c35628@heytings.org> <60c92936-2a75-a254-145a-6a0a1656a645@yandex.ru> <8eda4f1e-233e-4963-1b1d-75945eca01d4@yandex.ru> <874jr2y7qk.fsf@yahoo.com> <66e8b8a4-fa14-800e-659c-d8db1134d71a@yandex.ru> <83r0skbc20.fsf@gnu.org> <23d8f88d-c694-faa0-93f6-1a282443b27d@yandex.ru> <83cz44asoz.fsf@gnu.org> <7d0c9615-a5ae-651d-dab5-ba767454b7bf@yandex.ru> <83354zbxmq.fsf@gnu.org> <73ca92d3-bdd8-4d78-a4b1-ac7263db79c8@app.fastmail.com> <83y1mracgg.fsf@gnu.org> <8dc8e984-d450-cd43-5b64-4be552e88192@yandex.ru> <83jzyb9r3l.fsf@gnu.org> <173d7dfc-6454-4e81-6f62-bef69a829f18@yandex.ru> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22215"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61667@debbugs.gnu.org, Eli Zaretskii To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 18 03:36:12 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 1poaGS-0005Tu-4v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Apr 2023 03:36:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poaGM-0000Nj-To; Mon, 17 Apr 2023 21:36:06 -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 1poaGJ-0000NW-Lq for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 21:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poaGI-0003BF-PP for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 21:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poaGI-0006uY-AJ for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 21:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Apr 2023 01:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61667 X-GNU-PR-Package: emacs Original-Received: via spool by 61667-submit@debbugs.gnu.org id=B61667.168178172926526 (code B ref 61667); Tue, 18 Apr 2023 01:36:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 18 Apr 2023 01:35:29 +0000 Original-Received: from localhost ([127.0.0.1]:57263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poaFl-0006tm-8U for submit@debbugs.gnu.org; Mon, 17 Apr 2023 21:35:29 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:44786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poaFk-0006tW-3x for 61667@debbugs.gnu.org; Mon, 17 Apr 2023 21:35:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1681781722; bh=IzaF6VG5HmkR+xJiUj8qccFYNxoc3HjP3xGWM5I+i50=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ZBoeI6PmtKKZGXQbBmcBi5MZzQ3gzIKUWn+9voV4q6HblYrtpt2Ee7nYqns8tA3w8Mu2CAzXn1TBqw6p1HReceHyd0U0qeA7DUAwUPS1epSjavNZ5yD4FKRbHKwc1XNLPJLaoXGe8rfLk6h/uFsrTaNxpCBnNgswoCjnlO5jklkjYNAUWbi33N4i2Yf5hN2d+db+rF2YCzQKaBdthWRzvJ0mriRQy6XurWuH1GltjF5Tnuj+jiVFo6/1gIohYlbQ9b3yMJzASB0YtEHTLp73Aq31GKSRY6UKcxxuMb8ysZSQtdz0iFZYoDTSWmUYIzBmcSRBRhG2qvznjEWH8ArK+w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1681781722; bh=ULYTyrZTsAJcRedP70ZwOOch80hhc5HhYunjfAEePy9=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=BprAunblzyVH7JWBsgA3jcf3UH7iw8oc35c+g633bqtY2t9tryRccuVFzL5AgKl5p9YXgb/iOP+kDqfVPqMahIpGs15f8ETcVLZIHRL5XmNqeZyWi1vXpqTcwqV0YX8ghDyP2z7AzNmgj0cdIYNp4T2Wn975NbAV1wpaBGapiL5bvulMBQ8hARa/2Of9JBG7GKBCiCRb06YOLehnc3HupwS2KvkDNCxRWg9pSR4QlmX3Km55EAmmu10LKftnHhay6PGyLWinxggqhO/yJKLWuOBWSOCQ9nboQ1toKyAI1Roa75hJ+Y5Jkx2w11II6GKKiD7JpBGbYbYdmYY3XJsfyw== X-YMail-OSG: dRG_DNUVM1nLcFETarGJNYU4wMD4JtROc8yubofVKTpMQladwHuTk6rM10hUb.8 FsjpU4mZKDR2FNd_ugiiaKaAlAkCvsOScaODeRpOsdFba30rV4n27uNpYrTXE6XVsz640dYnqbpE DdqLv0d7pXSmZFeZvlafuleIxVCsXLAp5NChJRtfjIrWvvM6gl_OuB2DcQSlihTffV9JrmKLOV1X QcgzqU7aB_RD2925urgHMwDn9CQgqzaUgHgKhaMzjk.WBNIivSeA09_eHYfYhTsHWpuNAywJu7dQ 6YPGu8Ga_IsSspTUYKL9024MDooD24B3tFwKpLbQJ8NYkO9KWJbPQjryYS.1nkBXlkwqUN85y7hz D3u.JZqEPjp08XE0IC2REbG1blJJHXENuBD5_F4VUPqAlITGpf9I.zoiL.riZojUx.t4bF8XiM5U m6izkAnQvC3KpT65uPdo_SZZPsefACglhAtGb6UccgfVHBSEnD22DTXVO65wMkaf.kQmPUTUZJrq Yt4kVr7ISsF3b6WGnSDZj5MDdcf53aPXxntY8wEK0v9rMqrjx4hboRai8fkZ8LTCXq1J3vUHzh9N VLiwalrtVP3K2rVgFaOPCVkYzu32EY3ctgMvISZdlsV4v9eYDoCBvYEB1ih7r857VNbydBkdNIGq wou6PHb6PVplnbJ.abCV3iglMCVossy6TtI85xUGDXbqo3FZTFMfQJZA8Dg3ZhMb5Yu3OxA6Nv3N wZZf9G2bk4GsWSfbiAbYu._S3Xf5aQv5N_hxzwlc_hm2EBPYexJFrDI1s2Ujmo.CM6LnOTRMn6Xq I7U6eReGY0HBRyuvGuxmSksoRr7j6C9oUHurGp1wvF X-Sonic-MF: X-Sonic-ID: 2d74f03c-e3c3-4bd2-89da-2fa4de1bdc4d Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Tue, 18 Apr 2023 01:35:22 +0000 Original-Received: by hermes--production-sg3-6d6fb994f6-94jgf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c8dc00a060b578d331e0d2349aa3347f; Tue, 18 Apr 2023 01:35:17 +0000 (UTC) In-Reply-To: <173d7dfc-6454-4e81-6f62-bef69a829f18@yandex.ru> (Dmitry Gutov's message of "Tue, 18 Apr 2023 02:07:07 +0300") X-Mailer: WebService/1.1.21365 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:260202 Archived-At: Dmitry Gutov writes: > Finished now. It was a pain because the offending commit predated the > two commits that fixed the build without XDBE (4dc1f2b9a01e and > f1c838980601), so I had to dump them as patch files and apply when > building older commits. > > ae4ff4f25fbf704446f8f38d8e818f223b79042b is the first bad commit > commit ae4ff4f25fbf704446f8f38d8e818f223b79042b > Author: Po Lu > Date: Sun Feb 12 19:55:28 2023 +0800 > > Support input method ``text conversion'' on X Windows > > * configure.ac (HAVE_TEXT_CONVERSION): Define on X. > * etc/NEWS: Announce new change. > * src/emacs.c (main): Always call init_xterm. > * src/frame.c (do_switch_frame): Use `fset_selected_window'. > * src/insdel.c (struct safe_del_range_context): New structure. > (safe_del_range_1, safe_del_range_2, safe_del_range): New > functions. > * src/lisp.h: Export new functions. > * src/window.c (run_window_change_functions): Report selected > window and buffer changes so that the input method can be reset. > * src/xfns.c (XICCallback, Xxic_preedit_caret_callback) > (Xxic_preedit_done_callback, Xxic_preedit_start_callback) > (Xxic_preedit_draw_callback): Fix coding style. > (Xxic_string_conversion_callback): New callback. > (create_frame_xic): Register string conversion callback. > (struct x_xim_text_conversion_data): New field `size'. > (x_encode_xim_text_1, x_encode_xim_text): New functions. > (xic_string_conversion_callback): New function. > * src/xterm.c (x_reset_conversion): New function. > (text_conversion_interface): New variable. > (init_xterm): Initialize text conversion interface. > > (Together with the next one, 9510e8ad68271f58b4, which it doesn't > build without). > > I've double checked that 9510e8ad682 exhibits the problem (with Lucid > and xdbe=off), whereas ae4ff4f25fbf's parent (50140585a29) does not. What if you only revert this commit on top of master? This change should not affect redisplay at all, as it only adds additional mechanisms for talking with the input method.