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: Wed, 6 Mar 2019 08:06:22 +0000 Message-ID: <20190306080622.GA22588@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> <20190304224553.GB22198@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="94336"; 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 Wed Mar 06 09:07:27 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 1h1RaF-000OOi-7o for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2019 09:07:26 +0100 Original-Received: from localhost ([127.0.0.1]:56037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1RaB-0004M7-Mf for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2019 03:07:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Ra2-0004Lr-TG for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 03:07:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1RZx-0002RQ-AJ for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 03:07:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48393) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1RZu-0002P8-5P for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 03:07:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1RZt-0003j5-RU for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 03:07: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: Wed, 06 Mar 2019 08:07: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.155185959314287 (code B ref 34710); Wed, 06 Mar 2019 08:07:01 +0000 Original-Received: (at 34710) by debbugs.gnu.org; 6 Mar 2019 08:06:33 +0000 Original-Received: from localhost ([127.0.0.1]:33704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1RZR-0003iN-Co for submit@debbugs.gnu.org; Wed, 06 Mar 2019 03:06:33 -0500 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:46495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1RZP-0003iB-FA for 34710@debbugs.gnu.org; Wed, 06 Mar 2019 03:06:31 -0500 Original-Received: by mail-wr1-f43.google.com with SMTP id i16so12235236wrs.13 for <34710@debbugs.gnu.org>; Wed, 06 Mar 2019 00:06:31 -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=Bpq3snHWTj9bJ/N4DpUYxh3fYiUR/wq5pV7MbmLvLXg=; b=iAawvoeJEYLU6ThN8ZZ1Q33xbCLcQBn1+OFp8q/6idVUQJRthyeqK1eSxgfudZ0Rvp +LOspgaf3u9EWSETLc/kfueNV00onOhL0q8qS1VZ+UyghUGAWKQkSau813omWH0K+UFQ mxOHgNWA+l0hP2fg5J4pWDZR771ng8fT/FwIAA5KK1xHrJKEsG+7JRa79UTgfsJVtEGq XXOnTzykn4iajaRMhC/OWWJ4laEKIhuYae3s63fn2PeUj3cYq8sNSO4auIELNQ1lJKF8 KeD5cIPdlT98EE+rhIQZ0AEiMe8v9m4AQuUJQN22EmfKgcrZG1dIp03KcS+DjJb5SNGR kQ9Q== 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=Bpq3snHWTj9bJ/N4DpUYxh3fYiUR/wq5pV7MbmLvLXg=; b=CKLGPz0lRqke3uIZlMPyX+zdF32PPD6NWLUvmh9C81P22QtwTrdO603aqPTSwDh7dm U39HSJV1tJHE/TyEoAryaVxw4ngEp05YsEfQ+JV4rzgqYI1DmlTwnmlBbmg2JTwMU7Ra DWKj7lAL+9wfJE9f6Os+ENu81AyvpkwP25IFI+rx5eYesaiz+RaoivoD+GSr1a6xJtyA mZRGYm1OX4MtVfQH6ThhV1zrTKrBK050bdQ8Eo+MROhhhuDMd4THaJDD1d0YodZVYAg3 /9VfLpZexnElCG38us4vriwXaCLCHCHrCpbac88dqrkWWYmxBmygrT2PMff7R0tYpJwo Z9Vg== X-Gm-Message-State: APjAAAUkX+eOXQ/GB/rwsMgc+BvrzJ1M0CHACo5ma9F1o0/JD/YDh/bF iAov5Yq7dIPbLV28/q337fA= X-Google-Smtp-Source: APXvYqwb+kfh+DndVe7oiyX7wJkjuX1gXVhOIIsRqQRqThad6bJLWA32DZBgbjWU81hD4p3hpTg3zQ== X-Received: by 2002:adf:e50e:: with SMTP id j14mr2026446wrm.262.1551859584807; Wed, 06 Mar 2019 00:06:24 -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 p16sm2030456wro.25.2019.03.06.00.06.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 00:06:24 -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:156088 Archived-At: On Tue, Mar 05, 2019 at 06:09:41PM +0100, Robert Pluim wrote: > Robert Pluim writes: > > > so not 4k, and I normally run with multiple non-maximized frames (but > > my testing was with a single default frame). > > So Iʼve decided that this was all down to key-repeat rate. I had that > set to maximum already, but I went into system preferences, set it > lower, exited emacs, set it back, and now emacs with your patch is OK. Good to know, but still sounds like performance could be improved. And I still can’t replicate it. Perhaps it’s a combination of multiple factors. Can you try this patch and see if it improves anything, please? modified src/nsterm.m @@ -1168,7 +1168,6 @@ static NSRect constrain_frame_rect(NSRect frameRect, bool isFullscreen) #ifdef NS_IMPL_COCOA [NSGraphicsContext setCurrentContext:nil]; - [view display]; #else block_input (); It’s possible this will cause it to drop frames and make things worse. -- Alan Third