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: Fri, 03 Mar 2023 08:54:43 +0800 Message-ID: <874jr2y7qk.fsf@yahoo.com> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <8716b41c97839d6a8b87@heytings.org> <7fee18a7-3307-b6de-1428-ae17d51c85af@yandex.ru> <9ac9271f1ee55a9b8bbf@heytings.org> <87a60y13ou.fsf@yahoo.com> <674e150e-fcbe-7d67-962e-214cfaec2ca0@yandex.ru> <875ybl1dii.fsf@yahoo.com> <2b249c97-db63-34e1-80c2-0c898005e31f@yandex.ru> <87zg8xyt0m.fsf@yahoo.com> <25c817d9-f969-8c24-6ed4-9b35fd6f27ad@yandex.ru> <87sfeozn8f.fsf@yahoo.com> <87o7pczlsq.fsf@yahoo.com> <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> 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="13336"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61667@debbugs.gnu.org, Gregory Heytings , Eli Zaretskii To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 03 01:56:20 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 1pXtie-0003Gm-Cr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Mar 2023 01:56:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXtiO-00079T-Ki; Thu, 02 Mar 2023 19:56:04 -0500 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 1pXtiN-00077V-9X for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 19:56:03 -0500 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 1pXtiM-00041c-RW for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 19:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXtiM-00005h-66 for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 19:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Mar 2023 00:56: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.167780490232734 (code B ref 61667); Fri, 03 Mar 2023 00:56:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 3 Mar 2023 00:55:02 +0000 Original-Received: from localhost ([127.0.0.1]:59287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXthN-0008Vj-Tl for submit@debbugs.gnu.org; Thu, 02 Mar 2023 19:55:02 -0500 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:46346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXthM-0008VJ-2R for 61667@debbugs.gnu.org; Thu, 02 Mar 2023 19:55:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1677804894; bh=PO6fqYxjgmhaBrkPrF+V/hARz9fShUZ3lsJ78A8l3Dw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=KGkjHpqmSoktGLXDPTREPwXafNqfqXrmN6pDDHYqgYdmu6VCuktK1MjescgwspI4rJ9DNt9g1M69jT77GQ/aWyYCw2W3ek84uOa0EbxICxx9p0C7lDIsoNj6IqyVN2Ik/5MmJU2Jw14NNmGAq5SnjOGl/6Ll20fHCb1KlN0fhFOlhwFIog0GBYMYihvlEyZF1p9UhceLoe3k9w2u7P6ZI8WcQ3TPStb/mtwA3M4f75EwgtAkoyTY+Ghsr4OtPnZ3ZZkKGuyr6EL6DbYVpq4TvyUSnZNhcpl18na/XADz0XzGzbIwdCd0cGVvTYyZNofx8y+rySziGPBrqLCYN2/E3Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1677804894; bh=1ille/h3YDpMgKVxSm0ywN8YAWDid+XPaehBxxwTJbc=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QVAVT6r5c/pt/B+jyBE4LlVn9nMSLqOm/YGE+bTmV92hQ+tSreKnDqE29jjp/2d44eXcfgrJY4Hblgg61i4XaNEAwXWEBGOQSs+2aqhDLY5MWc7Vse2R1TKxNAA3RiYLFZ00vKrdELaerktUTvNrpHG3bNiyOAjWvdf4z5CRFcbLBdwL58hZaZPqnSryBCDP8OSGvoQBUyb8Qe+J0oVQGn1Gi7EJJKg0MfB79iCEBAUpyFYnifByWHVcjiSBRv5e5+jbpczefm/pFj0V+o8n/bPAWAGAT8hnidAflF52JVEexDPtcxerlh2uVWfG0YMWgM564IH2yVo4bBZRJwq+2g== X-YMail-OSG: MBabCs4VM1mhURRfumTOYLPhWmgKeT41l42nU3qQUZh0u621iBIUmqofuk6WGn. j5jUDmKIsktfDRZg2f9RO_9TtIhyd8.B31UNa8w5O8vDscWdtcOgwIJ88TN6PKoGk_P44OlFnPNX pAGvcJt0ACUpPV4NBSlqAEhhOWshGnCEuHSxQbjeRDo9OchAkBYZSyteTJv13uHsv3GTH2z9aadn nFdx7uUIKuNUDPD.Dis9zyV0cmT9lOZESNQOtNo6mBfPBmBK52_ygDJ10PN74vlHyo7FQ_84F65k NRKKIIM.Bo7iTAPPPMfnQVwLhnh5p2VeTENUorCql6ae1H2oBjXQfz.TKuVwLV3HZV2m3VL9Xyvw QArZo.PX4D66mIhgpHIF4WV0ZxL8P0p_5akbz9UTQsrkILquZyN_lWrVkTid_psqRJvU_FFcuuvb Vm9020Tj.ph7.g8PTLHyYEL_YmKQmQHuk6ciKAI4NX0tMYHis1Rmj1IK57NPFq3Qy1y1a16hN6yN KMaL6X9VFYx1ONP4VNwZd6FOVf5iHoO9OcoDwTHZ5r.XW_X4iLvjtjCamInb_SD61Eyn2iUpPK4F souFyUOvQxnzydzduUv8Fx4eYGxg6QYYeJHCLbJw_yMvnyTIUlDbUIjpbJ1Ppu2GhkX5UN6Qzrki gDicoA3EHWM_TwvyvKcxlJIZhGatgMX1hjlcWRf6YPiSG9pFcG68MxfvcrzYzS.E8yHRRJ9ivCvX scXOC90j4RfUeqmx0gXPa_EH3mR.0DjCgdyeKsDQD249j136yerfavhcNl7dK1hDLaNxUCKH6bu6 HtucY955vDbINYiSUBl3GqloV0BdptzhJctA9O0tqk X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Fri, 3 Mar 2023 00:54:54 +0000 Original-Received: by hermes--production-sg3-67c57bccff-wt27l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0834a97ea0dc80492ca743a1044f8c39; Fri, 03 Mar 2023 00:54:47 +0000 (UTC) In-Reply-To: <8eda4f1e-233e-4963-1b1d-75945eca01d4@yandex.ru> (Dmitry Gutov's message of "Thu, 2 Mar 2023 17:45:05 +0200") X-Mailer: WebService/1.1.21221 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:257188 Archived-At: Dmitry Gutov writes: > I've done so further investigation. Started with trying to find out > which part of x_set_name_internal causes the problem. Commented out > this or that call, and none seemed to make a difference. > > So I commented out both existing calls to x_set_name_internal: in > x_set_name and x_set_title. Recompiled -- and the problem still > reproduces. > > Then I added --eval "(setq frame-title-format \"aaa\")" to the command > line, which we previously identified as potential fix/workaround -- > the problem _still_ reproduces. The frequency seems to be ~the same as > without it, as long as the x_set_name_internal calls are commented > out. > > With x_set_name_internal not commented out, (setq frame-title-format > "aaa") seems to lower the frequency of the issue, which coupled with > blink-cursor-mode (which was previously on, and which fires timers > over regular intervals) made it rare enough for me to declare the > problem absent. And also this addition, which now seems to make the > problem _more_ likely to happen" > > --eval "(add-hook 'find-file-hook #'redisplay t) > > So I went back to the previous Emacs versions. > > This MRE: > > src/emacs -Q --eval "(tool-bar-mode -1)" --eval "(menu-bar-mode -1)" > --eval "(scroll-bar-mode -1)" --eval "(global-set-key \"a\" (lambda > () (interactive) (insert \"!\") (redisplay) (find-file > \"xassociations.rb\") ))" --eval "(add-hook 'find-file-hook > #'redisplay t)" --eval "(blink-cursor-mode -1 )" --eval "(setq > frame-title-format \"aaa\")" > > Press 'a'. See if the buffer is displayed after a delay. Could you send me xassociations.rb? I can't reproduce this with any file of my own. > reproduces (though a little less frequently) in Emacs 28, 27, 26 > > In 26 it happened ~5 times over 100 tries. > > It doesn't seem to reproduce in Emacs 25, though that version is > pretty buggy here: it tends to hang during startup (around 1 in 6 > times) and I have to pass --eval "(set-frame-size nil 40 18)" for its > window to have a reasonable size. I'm not surprised: Emacs 25 doesn't support double buffering. > --eval "(modify-frame-parameters nil '((undecorated . t)))", OTOH, we > can also cross out from the list of fixes: the problem still happens > with it, though seemingly less often (first repro at the 15th try). OK, thanks. Damned blink-cursor-mode! Does the frame still refresh when you hover over the title bar buttons? Also, since we now know blink-cursor-mode was previously screwing with the results, would you please try some other window manager again and see if the problem reproduces without GNOME?