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: Sun, 12 Jun 2022 12:48:50 +0300 Message-ID: <83v8t6us8t.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> <83mtem2dc9.fsf@gnu.org> <87y1y63qmq.fsf@gnus.org> <83h74t3k5u.fsf@gnu.org> <87tu8sx569.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40937"; 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 Sun Jun 12 11:50:18 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 1o0KEb-000ASu-GR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 11:50:17 +0200 Original-Received: from localhost ([::1]:38666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0KEa-0002DK-2w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 05:50:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0KEM-0002Cy-6F for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 05:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0KEL-000432-Tb for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 05:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0KEL-0000HZ-R8 for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 05:50: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: Sun, 12 Jun 2022 09:50:01 +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.16550273551027 (code B ref 45898); Sun, 12 Jun 2022 09:50:01 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 12 Jun 2022 09:49:15 +0000 Original-Received: from localhost ([127.0.0.1]:54761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0KDb-0000GV-G1 for submit@debbugs.gnu.org; Sun, 12 Jun 2022 05:49:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0KDY-0000GF-SH for 45898@debbugs.gnu.org; Sun, 12 Jun 2022 05:49:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0KDT-00040I-2z; Sun, 12 Jun 2022 05:49:07 -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=bkA51qYoeJ1wt0Al8OQm0qakqNzX2i8OuM18k6rQG2w=; b=bBr6h4h8Cx/r o9jrW7WkSgCNTjKacBpC8p7pnWrBX6diwgdsREtfPykpwL2Kf2bHeSsaZ8vpSbgxogbHPLGkmJLgt jxNfNZuzC4jPdmKp2i573qsNmVNO24TZChB5BxUZpy0xupbNzw5OX1xQwgUnsJjLOCXCBhDyq1FKR FsMTrsPoRbN1DaWp835k++NIozxwOB7EYwJ7vnQSmhTM8jm1C2VNXfG91cxiVDQcT+YZjib7xD18i +JxTW3VKf+izNuH4d3A60s4TbefgjjpopHgy8Ssn0V77Wvc8K4HtmPNxNRTFy860O8ytJoFXe4BZw xk8Hw96JJ0tkJNqmEF1++g==; Original-Received: from [87.69.77.57] (port=4479 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 1o0KDS-000340-1E; Sun, 12 Jun 2022 05:49:06 -0400 In-Reply-To: <87tu8sx569.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 10 Jun 2022 11:02:06 +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:234347 Archived-At: > From: Lars Ingebrigtsen > Date: Fri, 10 Jun 2022 11:02:06 +0200 > Cc: Emacs-hacker2018@jovi.net, 45898@debbugs.gnu.org > > Eli Zaretskii writes: > > > I don't think it's a very good idea to switch buffers behind user's > > back. It is better to tell the user there's a problem and let them do > > whatever is right for them. > > > > But yes, we could also consider something like that -- if we find a > > safe way of doing it. > > The scenario here is that the user is hitting `C-g' repeatedly while in > redisplay, so it's not exactly behind the user's back... I prefer a solution whereby Emacs discovers the problem automatically, leaving C-g for "other circumstances". After all, how hard can it be to figure out that some buffer or window takes too long to redisplay? > Finding a safe way to interrupt redisplay is the problem, though. I have an idea and will work on it soon.