From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 17:42:49 +0300 Message-ID: <83a5ypph1y.fsf@gnu.org> References: <87ilddec31.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 63187@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 30 16:43:27 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 1pt8Gs-0007nN-Lw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Apr 2023 16:43:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt8GV-0007wP-Sr; Sun, 30 Apr 2023 10:43: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 1pt8GU-0007wA-Va for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:43:03 -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 1pt8GU-0003Qe-N1 for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt8GU-0003fX-5Q for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 14:43: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.168286574114050 (code B ref 63187); Sun, 30 Apr 2023 14:43:02 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 30 Apr 2023 14:42:21 +0000 Original-Received: from localhost ([127.0.0.1]:38208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8Fo-0003eX-JW for submit@debbugs.gnu.org; Sun, 30 Apr 2023 10:42:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8Fj-0003eH-Ay for 63187@debbugs.gnu.org; Sun, 30 Apr 2023 10:42:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt8Fd-0003M7-Rj; Sun, 30 Apr 2023 10:42:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=NrlhwJ/jwo8afhYRIJ8aTAYL/acpyEOxcRyW5W3uQ/o=; b=ROUkpkZVzjffAD/8Wx7n Z3N+CAeGSMnhtM1mym0KKgZEHMLLc1fY9lT3YVFObQxn4aYCVLzLaZp2cu8JZD2ppB+5qR6AHhGa9 /B3OuoelhtKgGp+wpWchELG20vhNxdFInA6V+owfhpIHCDoOp1L3eqshp+ggyrGMFKDCWOLG9rGTK cDIsGBxyrmcunOr40tkCynHoppsA+Xltspoc9cQiOc/1YWxPgqDaPTPR6s7M13XkD6q3mUUvinNP8 D9nYeKVpnamhmRLCEpglgPR4A0ZXj+/MClnQ1WMHZYAib1cXb6KjyKSLw4ISCq4Ea8qCX5SgBmrKf YQ5tkltnxqu5RQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt8Fd-00006k-7X; Sun, 30 Apr 2023 10:42:09 -0400 In-Reply-To: (message from Aaron Jensen on Sun, 30 Apr 2023 10:25:59 -0400) 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:260837 Archived-At: > 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 AM Po Lu wrote: > > > > 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 point > > 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. > Is there anything specific to macOS that is involved in scrolling optimization? 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.