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#45898: 27.1; wedged in redisplay again Date: Thu, 09 Jun 2022 16:09:10 +0300 Message-ID: <83mtem2dc9.fsf@gnu.org> References: <46b65e3f-cf3d-a3f2-9a9a-100e58274ff6@jovi.net> <87h74wh9x7.fsf@gnus.org> <83bkv47evy.fsf@gnu.org> <87k09rbcmn.fsf@gnus.org> <83a6an5jt3.fsf@gnu.org> <8335gf5er3.fsf@gnu.org> <87leu686z4.fsf@gnus.org> <83sfoe2k0j.fsf@gnu.org> <87zgim6qtt.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32239"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs-hacker2018@jovi.net, 45898@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 09 16:17:00 2022 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 1nzIy3-00087L-M4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 16:16:59 +0200 Original-Received: from localhost ([::1]:49378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzIy2-0005nb-AU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 10:16:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzHvG-0002m1-Ud for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 09:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzHvG-0007CZ-KJ for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 09:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzHvG-0004YZ-B2 for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 09:10: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, 09 Jun 2022 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45898 X-GNU-PR-Package: emacs Original-Received: via spool by 45898-submit@debbugs.gnu.org id=B45898.165478016017450 (code B ref 45898); Thu, 09 Jun 2022 13:10:02 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 9 Jun 2022 13:09:20 +0000 Original-Received: from localhost ([127.0.0.1]:45407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHua-0004XO-Cq for submit@debbugs.gnu.org; Thu, 09 Jun 2022 09:09:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHuZ-0004X8-Gv for 45898@debbugs.gnu.org; Thu, 09 Jun 2022 09:09:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzHuU-0006w0-8S; Thu, 09 Jun 2022 09:09:14 -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=2kWOhcAG1MWbk4GGiSEzN2R3fhviVWAUqpWslwT7uPI=; b=cg0tw1lfDLK6 vGR31YWryct9SWYOLT4gbfhvC1F8CE1C+ceoVb3M0w9HGrWmVN9wCnFRUhYEh9ulD6gE/JZ6RsjW6 zzF38Lk0AtJwzq/ceQ94+kKjhfmTB9rhvrzXcuBmrssl+6jYG+YfNTPzh83Z166QN5MnHuC66S4sT KHKy7Yf/j6dligDXP4HhNzz+QUVhpgG5IQQg76dv60nE7d9VOLQhLktZ5jiKyUKwxgS9Mj2gszt2f 9zTKgbNxJkMYp6P9+RWVQG07V4jeHcVq6ynYOhAc8Os0JDjYktbVo5XU0x0+uZNhjx6oYV+rQ8605 74nqZVjZlRXBPORqElfkPQ==; Original-Received: from [87.69.77.57] (port=2422 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 1nzHuT-00018R-LT; Thu, 09 Jun 2022 09:09:14 -0400 In-Reply-To: <87zgim6qtt.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 09 Jun 2022 13:04:14 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:234064 Archived-At: > From: Lars Ingebrigtsen > Cc: Emacs-hacker2018@jovi.net, 45898@debbugs.gnu.org > Date: Thu, 09 Jun 2022 13:04:14 +0200 > > Eli Zaretskii writes: > > > Then there's a problem of determining which window is the problematic > > one. > > Idea: Perhaps our "redisplay is wedged" function should basically be > "switch to a *warning* buffer". I.e., if we can determine that Window > Foo is the problem, then switch the buffer in that window to a buffer > that reads "Redisplay was hanging in buffer *foo*". If we can't > determine the window that's handing, then just switch all windows (in > all frames) to that warning buffer. That might be something to do after ending _this_ redisplay cycle, but we first need to end _this_ cycle, and end it in a way that Emacs won't immediately re-enter redisplay and try to redraw that same window.