From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ravine Var Newsgroups: gmane.emacs.bugs Subject: bug#45248: 28.0.50; Emacs freezes with big C functions Date: Wed, 23 Dec 2020 08:48:26 +0530 Message-ID: <87mty5rxsz.fsf@gmail.com> References: <87a6ufen1w.fsf@gmail.com> <87lfdvmjpw.fsf@gmail.com> <87pn36o1le.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17863"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.7; emacs 28.0.50 Cc: 45248@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 23 04:46:14 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 1krv6M-0004YV-Gu for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 04:46:14 +0100 Original-Received: from localhost ([::1]:51618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krv6L-0001pY-Bi for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 22:46:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krv6A-0001pO-AS for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 22:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krv6A-00037j-1y for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 22:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krv6A-0002kn-0U for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 22:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ravine Var Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Dec 2020 03:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45248 X-GNU-PR-Package: emacs Original-Received: via spool by 45248-submit@debbugs.gnu.org id=B45248.160869510910486 (code B ref 45248); Wed, 23 Dec 2020 03:46:01 +0000 Original-Received: (at 45248) by debbugs.gnu.org; 23 Dec 2020 03:45:09 +0000 Original-Received: from localhost ([127.0.0.1]:51426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krv5J-0002j4-BN for submit@debbugs.gnu.org; Tue, 22 Dec 2020 22:45:09 -0500 Original-Received: from mail-pl1-f181.google.com ([209.85.214.181]:46121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krv5E-0002i1-2M for 45248@debbugs.gnu.org; Tue, 22 Dec 2020 22:45:07 -0500 Original-Received: by mail-pl1-f181.google.com with SMTP id v3so8445026plz.13 for <45248@debbugs.gnu.org>; Tue, 22 Dec 2020 19:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=SjhNVwbPRsZRsjwv3JjwsiPyXNW/xs58N7RbmQHA2AE=; b=LJ5OAKemgZh8Dxd+R5EKeR5UmfktME1jsZggqmX/j1uyZRPPAcKtqzWY9jbyCHX7+D LozQeStkl0uLSdEXhjK+ip5NCc13n93n3fKvuaTr7/GbDWK8Ta0ZIrWQzDsIUOMs9+TK fydlHnpa0pAqfJa0dI1ygS4abtvCyMn1UPy0kw+yueJQh8sfI0jmMXF3se5VJ57X9a0k lHFuBvzIK73VNzJ2RLnPU/AvOMp0128Lc5tB+QmwZfs5HENSrebJqNPOGLgvlp9PbcXe T6pDp1GPL4P5rfjJvcQaW/TlkSm0D8wFcMv+Pg6pXsN1aRQxUifF8k8iHbipl324xPA3 LMOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=SjhNVwbPRsZRsjwv3JjwsiPyXNW/xs58N7RbmQHA2AE=; b=LmNDlszS0PPi+y0uY+Crgu38r42jVVK7jZXhJKaaHb8dMafp2qnpDHUvv9AIqrV7gu 2YYy+vZViB1TV8pkKFZEu7x6idShmizkM6HATMebal4zKK50q+w7o7H14VO6bJvoMjyO Z8fGn7ccrFJDNIZ53eVhZkqcD+f9a7pdrr9S1Y4QILxw65P2AN0vNNdMKamkd6iS3Eew s2uSdgCDc56npQnqxx/yu/WNDYn2HzEs5roie4rF/JSiqXhhE/RQ6Hgbksg4J5XMKgWq BaeTd1qAVot3Km/IQAanoinUTHIxQJyn5Sf3oqM7m2ixTX+BfRBSRPUzHuby1/LSWYLb FZog== X-Gm-Message-State: AOAM530JoOi+GtrfXyjW3sq4oEEqGFEmFiF/32iH9qLch8l0XV+0A8v+ F3uqOl+QM6LgRePaXQ/KMiPHiiy0blfFmg== X-Google-Smtp-Source: ABdhPJwbgOARZUDgq8K1vu0TAIfVm6RE152/SZlDiIXh8uywjtkkHkM3o6Z6JmMNQe9ovsGKYwrZhg== X-Received: by 2002:a17:90a:68ca:: with SMTP id q10mr25705252pjj.15.1608695097799; Tue, 22 Dec 2020 19:44:57 -0800 (PST) Original-Received: from ryzen-mach ([2409:4072:81e:7d43:af90:505:f454:6dce]) by smtp.gmail.com with ESMTPSA id gb9sm6685148pjb.40.2020.12.22.19.44.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 19:44:57 -0800 (PST) In-reply-to: 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:196598 Archived-At: Alan Mackenzie writes: > Sorry it's taken a little while to reply. I've been preoccupied with > another bug in the meantime. No problem. > By "scrolling becomes slower", do you mean (1) that the time for an > isolated single full screen scroll becomes longer, the further you are > through that struct? Or do you mean (2) that on auto-repeat of the C-v > or PageDown key, the scrolling becomes slower? The second behavior. Opening the file and scrolling from the the beginning with C-v becomes progressively slower. > If you mean (2), from emacs -Q without enabling > fast-but-imprecise-scrolling, then you are just seeing the normal > expected, but unfortunate behaviour of Emacs: Emacs will not redisplay a > screen as long as there is keyboard input unprocessed, but Emacs is > spending its time fontifying the intermediate screens (which are not > about to be displayed) as part of processing that input. 30 characters > per second is faster than CC Mode can paint a single screen. Ok. > For problem (2) I recommend, again, enabling > fast-but-imprecise-scrolling. Without the patch in message 11, scrolling is bad even when fast-but-imprecise-scrolling is enabled. With the patch, things are much better and there is no lockup, once fast-but-imprecise-scrolling is enabled. I think this is enough for this bug - thanks for looking into this issue.