From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#63187: 30.0.50; Tail of longer lines painted after end of nearby lines on macOS Date: Sun, 30 Apr 2023 10:57:35 -0400 Message-ID: References: <87ilddec31.fsf@yahoo.com> <83a5ypph1y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21273"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 63187@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 30 16:58:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pt8VF-0005NG-DI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Apr 2023 16:58:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt8V1-0002DF-GG; Sun, 30 Apr 2023 10:58:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt8V0-0002D2-G2 for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pt8V0-0005le-7E for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt8V0-0004II-3B for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 14:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63187 X-GNU-PR-Package: emacs Original-Received: via spool by 63187-submit@debbugs.gnu.org id=B63187.168286667416485 (code B ref 63187); Sun, 30 Apr 2023 14:58:02 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 30 Apr 2023 14:57:54 +0000 Original-Received: from localhost ([127.0.0.1]:38227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8Ur-0004Ho-Vj for submit@debbugs.gnu.org; Sun, 30 Apr 2023 10:57:54 -0400 Original-Received: from mail-pj1-f48.google.com ([209.85.216.48]:57641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8Uq-0004HZ-HR for 63187@debbugs.gnu.org; Sun, 30 Apr 2023 10:57:52 -0400 Original-Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-24782fdb652so1128686a91.3 for <63187@debbugs.gnu.org>; Sun, 30 Apr 2023 07:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682866666; x=1685458666; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jUcDivFnUn0A1mddNKOSCTHN10Jr+Fy52/S+R5xvrzc=; b=Mwu704o7aNpiTkBu25VoPrd8wXF1OjFYnpm+SNn3RMrmNqeJ4ob0tDRPLh7JhY0HQR SIqqRV0kVuXZT2h5jRjL7FKtWZz2q62Gn/EPECZDQ75lLWKT7nQa1DmkF3QLgDS/LpfA LCSe56Bx3VTivqZm4x/H5cOQdpuY3mT/hAtDWa+7pmrKKMebbiQFYYvMHOQa9slkxEXG Bq/0x6UwZ6U7eAG0FKg+8lILwNLfv7RBXpVV6UBahbu4zVy8bHqxI3r7MtKD/rLnetyY 58Hr8qpOeFPTeLlO0c3jOei9lApFt4LOkPYkpi0zSMozUrptyg9isWxKDizS2zqp0fzx +4QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682866666; x=1685458666; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jUcDivFnUn0A1mddNKOSCTHN10Jr+Fy52/S+R5xvrzc=; b=eHoUI/eLaL6whvr58GX0NYrlr7w9N50igRli3olN5E24yL5OS8ZwMZJEw8RObm/kPc /sHuYGCx60+2yjglgQ1ix7WQ3jYLKMLU/FwLonK0iN9V4tfLeMp7YIZfbGkWD+PSojZ7 lkXDpSZNo8u1jJoMkEPKOrjlUuUkXkTrASKORdiX/JbTGcC5BHdzY47DTCwZX5oikVUp 0d10knFOiqB/1E95v+T32+BlA4jXi06xFnwKG9rWPNDVP94hbodbE7tWZRzVy/no8Zs+ 1YvFNBWkxm0C4oVI/PpyMp5ptCTGqa0PYOpNTISYOZKaGjrSJ2whdblrAygNe9rNEE+M /vLw== X-Gm-Message-State: AC+VfDyruaIpExXlcEtpYqVf9WJ3am+n4KCOI9irCpHVQx6z+Oum/TW9 kGIG8N9V2DEU4G6rCkTWBP+gmvOG88wVVxIDMLY= X-Google-Smtp-Source: ACHHUZ5kCZopUEB67UopBoqGJU8jiTf7oLnmo2P0cPN1gj5Wd62JcfUl+zl6/SHmy9UT6kH9dgXt6w+2f6GjYdA7cfI= X-Received: by 2002:a17:90a:e516:b0:23d:29c7:916f with SMTP id t22-20020a17090ae51600b0023d29c7916fmr10939755pjy.32.1682866666384; Sun, 30 Apr 2023 07:57:46 -0700 (PDT) In-Reply-To: <83a5ypph1y.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260840 Archived-At: On Sun, Apr 30, 2023 at 10:42=E2=80=AFAM Eli Zaretskii wrote= : > > > Cc: 63187@debbugs.gnu.org > > From: Aaron Jensen > > Date: Sun, 30 Apr 2023 10:25:59 -0400 > > > > On Sun, Apr 30, 2023 at 9:25=E2=80=AFAM Po Lu wrot= e: > > > > > > Hmmm, this looks like a scrolling optimization bug. > > > I can't build the NS port right now, but if you insert: > > > > > > return false; > > > > > > right after > > > > > > /* Can't scroll the display of w32 GUI frames when position of poin= t > > > is indicated by the system caret, because scrolling the display > > > will then "copy" the pixels used by the caret. */ > > > #ifdef HAVE_NTGUI > > > if (w32_use_visible_system_caret) > > > return 0; > > > #endif > > > > > > in `scrolling_window', in dispnew.c, does the problem go away? > > > > Thanks, I will try this out. Is there any chance that it is related to > > the other bug I just reported, bug#63186? > > No, no chance. That bug was system-independent, while this one is > specific to macOS. Also, while investigating bug#63186, I've > established that disabling scrolling_window optimization doesn't fix > the problem with redisplaying the mode line after mode-line-format was > nil. Copy that. > > Is there anything specific to macOS that is involved in scrolling optim= ization? > > Not that I know of, and so if Po Lu's suggestion fixes the problem, > we'd need to understand how come scrolling_window fails on macOS. Ok, it may take me a few days to be sure. It happens intermittently, though lately it has been at least once in most work days. For what it's worth, disabling it has had no discernible impact on scroll performance on my machine (which is an M1) Aaron