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: Sat, 24 Jun 2023 18:08:43 +0300 Message-ID: <83a5wozymc.fsf@gnu.org> References: <29949E40-D5D5-4DE1-BD81-93D1BA3D4F51@gmail.com> <335C856F-41F7-48B8-AF42-B2406065C7A9@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10001"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, alan@idiocy.org, 63187@debbugs.gnu.org, justksqsf@gmail.com, aaronjensen@gmail.com To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 24 17:09:39 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 1qD4tP-0002P5-Ex for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jun 2023 17:09:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qD4sr-0008Ah-0G; Sat, 24 Jun 2023 11:09:05 -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 1qD4so-00087E-2k for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 11:09: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 1qD4sn-0007S6-Np for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 11:09:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qD4sn-0007su-Ip for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 11:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jun 2023 15:09:01 +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.168761932230282 (code B ref 63187); Sat, 24 Jun 2023 15:09:01 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 24 Jun 2023 15:08:42 +0000 Original-Received: from localhost ([127.0.0.1]:41296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4sT-0007sL-OR for submit@debbugs.gnu.org; Sat, 24 Jun 2023 11:08:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4sR-0007s0-PK for 63187@debbugs.gnu.org; Sat, 24 Jun 2023 11:08:40 -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 1qD4sL-0007Kf-P0; Sat, 24 Jun 2023 11:08:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pyvZLiuSDrE+NFyh1ZWribJBRP/QytZxUJdOvFIE/os=; b=d91Isi8POnEI Gkt4qTy94EoHa+R0h/q1pZ9DszPT1hpava7U80Owve3vBnMUoNmn2pgA9tcXxNxz6YWIq+SvDozIl k8WBZNqmjeXncJoIFCYLox5oyF/C5dM5DiNoik7A6s5mG+Er5N3UDh3PBRq6qR0tCBjm2Mr0id0f2 hx1vp0QRgj4KsfPp1PZ6KPN35tA5J/mKuI5d0vNIjP6w0qeL5l+2ayD3WvbBiLtUI/bkMOTEAKpIq /2fpDPI/4AtUkBR9qmkytt739aVyOhyYWLrW2KMbCml4KZFqtipSkn9iCYPA+oFJU/8w7mcpnbMH1 Fq064LbAuPzpOL4s4DN34Q==; 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 1qD4sF-0003Ij-Lq; Sat, 24 Jun 2023 11:08:33 -0400 In-Reply-To: (message from Aaron Jensen on Sat, 24 Jun 2023 10:52:08 -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:263998 Archived-At: > From: Aaron Jensen > Date: Sat, 24 Jun 2023 10:52:08 -0400 > > If I recall correctly, there's some code in Emacs that optimizes which > areas of the screen glyphs are drawn to. Maybe it remembers what was > the background color already and doesn't clear it again... I don't > remember where I saw it, but I think it was outside of nsterm. Does > that ring a bell? I'm thinking about how this manifests. For me, it's > always whole characters that are painted, they are always painted in > what would otherwise be whitespace, and they tend to get "copied" to > the next line in the whitespace as scrolling happens. In other words, > it doesn't just seem like a fluke write during the transfer to VRAM. > It seems like something in the engine is writing them, that the state > is getting "stuck" somehow. Does any of that ring a bell/jog anything? If you are talking about the frame's scroll_run_hook, then this is also called by xdisp.c as part of some redisplay optimizations.