From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Mon, 06 Apr 2020 11:25:43 -0400 Message-ID: References: <834ku43c61.fsf@gnu.org> <83k12zz6ds.fsf@gnu.org> <054393f3-3873-ab6e-b325-0eca354d8838@gmx.at> <20200403174757.GA8266@ACM> <20200404104553.GA5329@ACM> <07fe3b69-3ab2-3173-0696-cb17809e2b91@gmx.at> <83blo7v68b.fsf@gnu.org> <1845d7aa-9ae4-3d95-6a30-c7b1d8d8adec@gmx.at> <83a73qt6zs.fsf@gnu.org> <97c4254e-ff43-8402-3645-f713c408c245@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="22350"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: acm@muc.de, Eli Zaretskii , rrandresf@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 06 17:26:26 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jLTdp-0005fG-8V for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 17:26:25 +0200 Original-Received: from localhost ([::1]:33762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLTdo-0002Sc-A5 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 11:26:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41903) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLTdH-0001vL-WE for emacs-devel@gnu.org; Mon, 06 Apr 2020 11:25:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLTdF-0000Y0-Po for emacs-devel@gnu.org; Mon, 06 Apr 2020 11:25:51 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:8880) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLTdD-0000WO-ND; Mon, 06 Apr 2020 11:25:47 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C688644FD02; Mon, 6 Apr 2020 11:25:46 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B37E144FCF6; Mon, 6 Apr 2020 11:25:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1586186744; bh=AsQDV4TSBGXcdcLwWcvyFOnBWD1NDM2KqT7hanhjyNk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EWNl3J3In4js8wha5aTH0wO8EIGzE3nsgLPCG3dYRCPdQg38fZ8uDVgwyhmz7artm sv9iGr5DPxtq25171VFxSHQi69ms3G3fDCCfOke2+XcEmrAI2I95qANtPSee+qe+DM xUKUqmsRkaeMow7Dpl/CXJjEpdAcrayp6gV4f6bren4Aef+1r4thsuj5dTGQ+ZmF5P jmSq2fbwfodKM3Cm0Q91dQg92+RahRWXCJfrdrFxgVNJdE4ReN57t7OsoJflHgHHrW nPzVL2FkZx5xb8LC0BW6cE6QjXOKbmewDIe/3NlJmMp8d1BJbUWbFMWARQ+YeULmvW RQdF+Mk6ShxhA== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5C3CC120249; Mon, 6 Apr 2020 11:25:44 -0400 (EDT) In-Reply-To: (martin rudalics's message of "Mon, 6 Apr 2020 11:05:32 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246533 Archived-At: >> 16s in one case a "10 seconds freeze": it sounds to me like you *do* >> reproduce the problem. > Not really. In the 16s case redisplay kicks in and displays the buffer > 250 times. In the 10s case redisplay stops after five times. Yes, but the underlying problem remains: it takes 10-16s to do the work, so if the corresponding input events come in over a period shorter than 10-16s Emacs won't be able to keep up. >> The only difference is that with actual keyboard input pending the >> redisplay is partly prevented which is what you perceive as "freeze", >> but the real problem is the time it takes. > What does get fontified when redisplay freezes? The text gets fontified by the scrolling routine because the size of the text depends on the fontification, so correct scrolling needs to fontify the text before it can compute the destination of the scroll. That's where `fast-but-imprecise-scrolling` comes into play. Stefan