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 19:25:50 +0000 Message-ID: <20190304192550.GB21727@breton.holly.idiocy.org> References: <3D005746-B3FB-4915-A406-10DD0935C671@misasa.okayama-u.ac.jp> <20190302201048.GA20712@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="31612"; 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 21:11:52 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 1h0twC-00084D-C6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Mar 2019 21:11:48 +0100 Original-Received: from localhost ([127.0.0.1]:60358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0twB-0004Mt-6T for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Mar 2019 15:11:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0tDw-0006pX-1j for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 14:26:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0tDv-0005uj-6v for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 14:26:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0tDu-0005uK-U9 for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 14:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h0tDu-0006Ed-KR for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2019 14:26:02 -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 19:26: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.155172756223961 (code B ref 34710); Mon, 04 Mar 2019 19:26:02 +0000 Original-Received: (at 34710) by debbugs.gnu.org; 4 Mar 2019 19:26:02 +0000 Original-Received: from localhost ([127.0.0.1]:60217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0tDt-0006EO-I4 for submit@debbugs.gnu.org; Mon, 04 Mar 2019 14:26:01 -0500 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:39459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0tDr-0006EA-8n for 34710@debbugs.gnu.org; Mon, 04 Mar 2019 14:25:59 -0500 Original-Received: by mail-wr1-f48.google.com with SMTP id l5so6828106wrw.6 for <34710@debbugs.gnu.org>; Mon, 04 Mar 2019 11:25:59 -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=lYNF/EYKr/UEho/zYTmCsRuwTcYLdsQzDoDJrJ9nvYY=; b=N7Ri52SQ52rnh83MghZBcnXnIN5Z7O9oCEN8cojmQI/xlmUHWUACQypQuZUjXBMfD8 EA4T6J5YivNzf3sQ0wuFvoLaD6e8xHJ2So7RNrN5LA9r5L5P3AjHHFbFQnYrgVjZZU/k aZau1aRobgWAntv71Dpj9AdK7KOAa5HqLmRGFwLfeOAGnPS/68i8N73GomEeTLnEN9r/ eHjvsXa5E/p1RiIJADKBNJHEcW+dONrUDRa5bVxRAjA9Q9KhXY8C2wMJoQZjIbZ9ApcP 1ixDxyMZ+Mbn2uWxSeL1U4UiQAEZ8m92m5egpS9hNhHjxGI7ITXDFLsMNybuCNKUwQAM 2x7w== 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=lYNF/EYKr/UEho/zYTmCsRuwTcYLdsQzDoDJrJ9nvYY=; b=GJcUcB0pDHfWWwgIySmll0MMDjSs4hDnjCBg9vn9tXWhEtOV2QxsXUM008qldD2yOS E9a2gMZr7XsOtJ92lZMsjjgC+9s3AEa/dPVMv+XiNx3feP1SPo+bCjYo5a5yCXNmN5PH mQS/RWvy347j6+5fwD6fMAma4Rn4n6IjMIPbMwKaxLwzpmyuDqMQZ/VFFdR35haGk9V4 uA2lFY4611gyM39eT2WPtY+344sRhqMfNQoRAabwUi/GD9xVCt3+c+6w47p+OIV/K1v9 lBxvaLvoN7gBOQJbCdw8X+CcZ9t20K2e3fSO0FmNo46sM7Fu5j151ftKLz1jShEOAnLE Hr6Q== X-Gm-Message-State: APjAAAX5OL1HSWIKCRPULOt/fXCllFztFQp8JSlawUvqcoNP1/JoV0nA MvxdMQpDIJLsGCxtKiUPQfM= X-Google-Smtp-Source: APXvYqwcyrwbp1eSlyz8GtBl9B5old23U3qEIOc72mEbJSR7R4PEvFutWkNJjCqoAlYTxCmZBIS9BA== X-Received: by 2002:adf:f343:: with SMTP id e3mr13035859wrp.205.1551727553173; Mon, 04 Mar 2019 11:25:53 -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 s127sm7056365wmf.39.2019.03.04.11.25.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 11:25:52 -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:156041 Archived-At: On Mon, Mar 04, 2019 at 10:06:20AM +0100, Robert Pluim wrote: > Alan Third writes: > > > I believe it’s a problem with running redisplay rapidly (sit-for) and > > the way we’re drawing in NS. We end up with macOS demanding a screen > > update, and Emacs unable to deliver due to there being another > > redisplay coming up. > > > > The patch attached to this discussion doesn’t have the problem: > > > > https://lists.gnu.org/archive/html/emacs-devel/2019-02/msg00354.html > > > > However Robert Pluim reported serious performance problems with it. I > > haven’t been able to replicate them. > > I can try it again. Perhaps something in my configuration is causing > this. If you can try and track it down that would be very helpful. The only thing I can think of that could make it very slow is drawing the buffer to the screen, but that really shouldn’t be as slow as you’re experiencing, it is, after all, just drawing an image to the screen. -- Alan Third