From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#34710: the mode line flicks on set-window-vscroll Date: Wed, 06 Mar 2019 10:13:21 +0100 Message-ID: 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> <20190306080622.GA22588@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="161005"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Tak Kunihiro , 34710@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 10:28:32 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 1h1Sql-000fkA-Vk for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2019 10:28:32 +0100 Original-Received: from localhost ([127.0.0.1]:57225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Sqk-00010z-Vl for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2019 04:28:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Scr-0007C5-D7 for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 04:14:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1Scn-0004Z7-II for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 04:14:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1Sck-0004WY-GC for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 04:14:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1Sck-0005Es-67 for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2019 04:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2019 09:14:02 +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.155186361220097 (code B ref 34710); Wed, 06 Mar 2019 09:14:02 +0000 Original-Received: (at 34710) by debbugs.gnu.org; 6 Mar 2019 09:13:32 +0000 Original-Received: from localhost ([127.0.0.1]:33728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1ScG-0005E5-Ac for submit@debbugs.gnu.org; Wed, 06 Mar 2019 04:13:32 -0500 Original-Received: from mail-wm1-f53.google.com ([209.85.128.53]:40514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1ScD-0005Dq-PV for 34710@debbugs.gnu.org; Wed, 06 Mar 2019 04:13:30 -0500 Original-Received: by mail-wm1-f53.google.com with SMTP id g20so5055432wmh.5 for <34710@debbugs.gnu.org>; Wed, 06 Mar 2019 01:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=1+cV7H5OvtmIHjtKR+K4rtFiQqgQAsHSm7XvmhJhcTw=; b=VYrYPcJqZo8D6d3zlQipQI+LY/eQw2TyFRvpBQwJ0xMUyvgkDKS8lS7fHrSgCukn0A 7UfKIzAaM4CnbT2ZDbwr+uWbxt56qInKrwzBOKgfLg0t0fdLm5ha7p1+ARkd/RlAPBTk fVk0S3g118pGDoPTV1XNPauUOo+fkTzSHDgH2SE+wWsbuqFrtQ7yUjr3QPpIvuI7ynzs ql0LKv47T8Ho4Q+IYPVQ2f+gVQKxsOGw0iCJ78jXyOpfHFHex3bCedTrJ6gLuw7/T4cW BSVnmnaAYPdVhBZKkVI7TQZfGgWPFFnfjnVDpcVG3a/Gt9PVtSDLBs5vw6tFZiR9LUCa fBqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=1+cV7H5OvtmIHjtKR+K4rtFiQqgQAsHSm7XvmhJhcTw=; b=fr4B0SgFcrsjYX88VA89m+vI75DhOHUSbf9a2vTmyicdcc0q6cTkYfmreZkoFldezW zVsqVVR+cwtHw5irSZMRmtdxAWs0Cpxp3u0uNdVfgY2x1HohQRbqDQHTN5MVhj3a5Avu F3KwbFSgeRlZFKCKSok8mqDkVmpWqXjwv2QeKsXpV+6hrvIlRQxyb+luU0H6K4c+zA/I GNCqgd5uA8h27HSjbLuS6cY6GnOycw82Jx34VDCbox9Itk0KMr1fF6JC2f+VVFP37tpl Gq4/NLkNiIgEgd9ckgMRVIBrmQfMj3o4zwhxJlxB++pgzDyrCrXAkwhpnJJmKICdYdws Supg== X-Gm-Message-State: APjAAAXCrZjKnrqv1FtCYh69AZTiIpINCL2xP60xJ9wzH/qFOFfnFUqd ar1atLMDWJaLvQG8ygKv2tlgAEvy X-Google-Smtp-Source: APXvYqweT4Arm/AxoDuXMHiqfeA3z4LoOudqvAoNwEne2cccUthQ/oSZXkKKo6T5ltPjkjRXRZNd0Q== X-Received: by 2002:a1c:63d4:: with SMTP id x203mr1722408wmb.128.1551863603275; Wed, 06 Mar 2019 01:13:23 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id f1sm1057926wmh.44.2019.03.06.01.13.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 06 Mar 2019 01:13:21 -0800 (PST) In-Reply-To: <20190306080622.GA22588@breton.holly.idiocy.org> (Alan Third's message of "Wed, 6 Mar 2019 08:06:22 +0000") 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:156089 Archived-At: Alan Third writes: > On Tue, Mar 05, 2019 at 06:09:41PM +0100, Robert Pluim wrote: >> Robert Pluim writes: >>=20 >> > so not 4k, and I normally run with multiple non-maximized frames (but >> > my testing was with a single default frame). >>=20 >> So I=CA=BCve decided that this was all down to key-repeat rate. I had th= at >> 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=E2=80=99t replicate it. Perhaps it=E2=80=99s a combinatio= n 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) >=20=20 > #ifdef NS_IMPL_COCOA > [NSGraphicsContext setCurrentContext:nil]; > - [view display]; > #else > block_input (); >=20=20 > It=E2=80=99s possible this will cause it to drop frames and make things w= orse. That makes no perceptible difference in my not-too-accurate test, which is scrolling my org-file using C-n from top to bottom: =E2=89=85 17 seconds in both cases. Robert