From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#34710: the mode line flicks on set-window-vscroll Date: Mon, 4 Mar 2019 22:45:53 +0000 Message-ID: <20190304224553.GB22198@breton.holly.idiocy.org> References: <3D005746-B3FB-4915-A406-10DD0935C671@misasa.okayama-u.ac.jp> <20190302201048.GA20712@breton.holly.idiocy.org> <20190304192550.GB21727@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197132"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.11.3 (2019-02-01) Cc: Tak Kunihiro , 34710@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 04 23:47:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0wMd-000p9U-9V for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Mar 2019 23:47:15 +0100 Original-Received: from localhost ([127.0.0.1]:34264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0wMc-0005bK-7p for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Mar 2019 17:47:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0wMQ-0005bA-TU for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 17:47:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0wMQ-0005Gs-5H for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 17:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0wMP-0005GL-Sb for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 17:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h0wMP-0004cm-KJ for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 17:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Mar 2019 22:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34710 X-GNU-PR-Package: emacs Original-Received: via spool by 34710-submit@debbugs.gnu.org id=B34710.155173956317711 (code B ref 34710); Mon, 04 Mar 2019 22:47:01 +0000 Original-Received: (at 34710) by debbugs.gnu.org; 4 Mar 2019 22:46:03 +0000 Original-Received: from localhost ([127.0.0.1]:60369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0wLT-0004bb-2l for submit@debbugs.gnu.org; Mon, 04 Mar 2019 17:46:03 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:38591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0wLR-0004at-QD for 34710@debbugs.gnu.org; Mon, 04 Mar 2019 17:46:02 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id g12so7336260wrm.5 for <34710@debbugs.gnu.org>; Mon, 04 Mar 2019 14:46:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=/A9lkkYZprVZWSj5NAD67q2R2AX2IBFtSacFp/oQvt4=; b=lw1v/pbR3H8B01P4Z/tVMqFNzL0TtUJlwJbXmdJ/vojdyaWsQBbwRq8RFfbZrhTdQ9 5dYV3cDIdHLwkOn+W53FgywSY2J3zvMB6dSJkDz9pCUinDlNdmceuf/2egDfRFkCL/sJ cQmLE1qsHdByCpvWahBVu1tfz+toW1uvzpEuU2oPJWpEkr6HWM1u3q/qeXPbVyvofzJf 2giGBhd3vgFP9U4Bo7KJr7wMC7LM3XP0X11a12qPDWCzim1H9ceuAHylNL4pAUr2fjFu jG5o8RmoTk6OM41Fy07xbEaZwSePmNDtvJ3MibQru8lQvrqY64+uqdJBK6I16HuCqiVk OQqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=/A9lkkYZprVZWSj5NAD67q2R2AX2IBFtSacFp/oQvt4=; b=EPpjXG3AsJyPakhMFQMZu8O2D4vj7PbaSI0gcRs6E/rMUm3OzkfKOzFWhhz/X4/Jbp V4tnBzyaW8//Ji4IakS413pA+muVDDEr6UJ8R9we7u75h184dn6KZCN4P2zy2QgFwCpR 3NG8TdegQHCeZtVuaCz7aMJHpsv1SYT6D/MpQuxMSoePlY1nCRvz4FrFdKbRJsQRvevC YIQUafnGjeC7CV0LUhapgw6X28WOFsYqvtni0K4Faqk9DGfJVgwMNRavucCTOiUcpuGZ Y8hB2fEWfYb8jjvt5EH0hxmxU2cO1NNVBaRSn6XWhi5y3FQ+4W4OQZMDAKgb/uiDNCKU dOKQ== X-Gm-Message-State: APjAAAWXWut+ahgRECPHBVV1SA2lDOklaUsxOzRJwjv40QL6hsFPm3NN vDtsXoCnkcXtd8NFZPybSN0= X-Google-Smtp-Source: APXvYqw2CBoPL7peHju93A1pCI0s6iLF+aREVfs/ib9BQsBgFfrCNFGmTPqOtUzRhp0bzR9MZ3/JYQ== X-Received: by 2002:a5d:4711:: with SMTP id y17mr14957234wrq.141.1551739555825; Mon, 04 Mar 2019 14:45:55 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-a434-efbf-3a29-731e.holly.idiocy.org. [2001:8b0:3f8:8129:a434:efbf:3a29:731e]) by smtp.gmail.com with ESMTPSA id b18sm5302770wro.80.2019.03.04.14.45.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 14:45:55 -0800 (PST) Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156046 Archived-At: On Mon, Mar 04, 2019 at 10:07:25PM +0100, Robert Pluim wrote: > To be clear: the slowness I experience does not seem wholly related to > redisplay: if I move down in a file using 'C-n', without the buffer > scrolling, the movement is very slow. Then when it does actually > update the screen because Iʼve moved point off the bottom, it is again > slow (by a rough measurement, moving from the top to the bottom of my > org file using C-v is approximately twice as slow). > > (this is all with 'emacs -Q') > > Iʼve just run another test where I scroll my org file programmatically > rather than interactively, and then your patch makes no discernable > difference: > > (benchmark-run 1000 > (goto-char (point-min)) > (condition-case nil > (while t > (scroll-up-command)) > (error nil))) > > takes ~15 seconds in both vanilla emacs-26 and with your patch. > > Are there any other tests you'd like me to run? (I know nothing about > macOS profiling tools) Thanks for trying. I can’t think of anything to test right now but I’ll have a think and get back to you. What sort of hardware are you running on? Are you running Emacs fullscreen on a 4k display or similar? -- Alan Third