From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#32523: 27.0.50; Emacs hangs when killing rectangle Date: Fri, 21 Aug 2020 07:06:29 -0700 Message-ID: References: <868t4vp8fv.fsf@phe.ftfl.ca> <83zhxa7tng.fsf@gnu.org> <86zhxaoerj.fsf@phe.ftfl.ca> <83eeo0azfb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22515"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jrm@ftfl.ca, 32523@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 21 16:07:24 2020 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 1k97hU-0005m7-1d for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Aug 2020 16:07:24 +0200 Original-Received: from localhost ([::1]:58314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k97hT-0005sK-44 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Aug 2020 10:07:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k97h9-0005QT-6C for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2020 10:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k97h8-0004JF-TA for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2020 10:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k97h8-00034S-OM for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2020 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Aug 2020 14:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32523 X-GNU-PR-Package: emacs Original-Received: via spool by 32523-submit@debbugs.gnu.org id=B32523.159801879811756 (code B ref 32523); Fri, 21 Aug 2020 14:07:02 +0000 Original-Received: (at 32523) by debbugs.gnu.org; 21 Aug 2020 14:06:38 +0000 Original-Received: from localhost ([127.0.0.1]:47917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k97gk-00033Y-Cd for submit@debbugs.gnu.org; Fri, 21 Aug 2020 10:06:38 -0400 Original-Received: from mail-yb1-f194.google.com ([209.85.219.194]:34628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k97gg-00032t-VS for 32523@debbugs.gnu.org; Fri, 21 Aug 2020 10:06:37 -0400 Original-Received: by mail-yb1-f194.google.com with SMTP id u6so1106476ybf.1 for <32523@debbugs.gnu.org>; Fri, 21 Aug 2020 07:06:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=s7x3uE/ioQDpbazr4I+0Lv9N1C0qrYACJy/p5EsjdBI=; b=f/gyFouB79drcG4ctAHq0I1pT3Uc0XNLQ4RG1YtYFKq5BeQeis3NpTkUNdFjN61s8+ jdE8TXNJcfpGN3EJBEtu3vB2c4zomnWLcd6iXXJkVHzE7YoIt/2LO+VL8UKjJKKU9vAv X/TWCyKcsdA1H9a/BsIqVDKpHHLlhpbgmuXduINezVkWWKyDwHd0OGsScWPEM5nvLy9r WhPYTiaqm0sld+LIv2pD++AGvBO92IBM5gVIZsdTndA0CGBpnWlBH+sgwfPqzcy9YEo9 E201L/d9NGCHBMK8wCCUd++GH6nB1QJlYU4N0I+VMlfHfqROm/ZAmDGE7yE8zxN+vuLO bu9w== X-Gm-Message-State: AOAM531IXQz+N2PZpS6nC3B8kcKrAom0EHHydbXo2nWPtJl/o8UNDrzM uXCUEzuxoEbgje7jVmHxz3O9fnHVdw862NwYJpagfryDC4/7JA== X-Google-Smtp-Source: ABdhPJyjObuLxiRL8pAAcfzSyLJ5ljYNSVtO8lhd5jFE1yQ1vJiFdKAoXDxWvkkllJEnghdqOT04udCe75L1sWBUJS8= X-Received: by 2002:a25:4ed7:: with SMTP id c206mr4098242ybb.129.1598018789634; Fri, 21 Aug 2020 07:06:29 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 21 Aug 2020 07:06:29 -0700 In-Reply-To: <83eeo0azfb.fsf@gnu.org> 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:185872 Archived-At: Eli Zaretskii writes: >> > The rectangle does eventually get cut for me as well. Ignoring speed, >> > the problem is that Emacs is unusable afterwards. For example, if I go >> > away for an hour or so, then return, the Emacs process will still be >> > using something close to 100% CPU and trying to doing something simple, >> > like moving the point forward, may take minutes. >> >> Are you still seeing this behaviour? > > I bet he does. the problem with the slow responses after cutting the > rectangle is that Emacs performs redisplay each type the user types > some character. The redisplay can be very small and optimized, but it > can also be much more thorough; for example, typing "M-x" typically > triggers a thorough redisplay. Each time we need to perform a > non-trivial redisplay, the same problem with long lines hits again. Ah, so you interpret what he writes to mean that he leaves Emacs _in the same buffer_ and then sees these results? Yes, that makes sense. I somehow assumed he meant that this was persistent even after closing the problematic buffer, but he didn't say that explicitly. Asking the same questions here as in another bug report: Is there anything more we can/should do in this case short of rewriting the display engine? Does it make sense to track this limitation in a bug report? etc/PROBLEMS says: *** Editing files with very long lines is slow. For example, simply moving through a file that contains hundreds of thousands of characters per line is slow, and consumes a lot of CPU. This is a known limitation of Emacs with no solution at this time. Best regards, Stefan Kangas