From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#51521: Emacs-28 and Master. Unwanted display artifacts in multiple column tty displays. Date: Sat, 30 Oct 2021 23:26:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13645"; mail-complaints-to="usenet@ciao.gmane.io" To: 51521@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 31 01:27:11 2021 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 1mgxkl-0003Qv-Ac for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Oct 2021 01:27:11 +0200 Original-Received: from localhost ([::1]:60554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgxkj-0002p3-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Oct 2021 19:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgxkc-0002oa-Bc for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 19:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgxkc-0004o0-22 for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 19:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgxkb-0007wQ-Qu for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 19:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Oct 2021 23:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51521 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163563640830503 (code B ref -1); Sat, 30 Oct 2021 23:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Oct 2021 23:26:48 +0000 Original-Received: from localhost ([127.0.0.1]:58603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgxkO-0007vu-27 for submit@debbugs.gnu.org; Sat, 30 Oct 2021 19:26:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgxkM-0007vm-Ed for submit@debbugs.gnu.org; Sat, 30 Oct 2021 19:26:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgxkM-0002o0-8h for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 19:26:46 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:56275 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1mgxkK-0004fb-9S for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 19:26:45 -0400 Original-Received: (qmail 17654 invoked by uid 3782); 30 Oct 2021 23:26:30 -0000 Original-Received: from acm.muc.de (p4fe15ab1.dip0.t-ipconnect.de [79.225.90.177]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 31 Oct 2021 01:26:30 +0200 Original-Received: (qmail 5502 invoked by uid 1000); 30 Oct 2021 23:26:30 -0000 Content-Disposition: inline X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:218645 Archived-At: Hello, Emacs and Eli. In the master and emacs 28 branches, on a Linux console or a maximised X Window, do this: (i) emacs -Q -nw (ii) C-x 4 C-f RET (iii) M-> ; to end of buffer (iv) Hold down (or ? C-p). As point passes the top of the window, this will cause the window to scroll. Notice that the divider between the left and right windows loses glyphs - they gradually become replaced by spaces. This is a bug. Further observations: (i) If point is moved to the left hand window with C-x o, the divider is displayed correctly again. (ii) After (i), and moving point back to the right hand window, the bug cannot now be reproduced any more. (iii) After (ii), move point to LH window and C-x 1, deleting the RH window. C-x 4 b RET to recreate the RH window. The bug is apparent again. (iv) The places the divider glyphs vanish correspond to blank lines in the buffer in the RH window. (v) With three windows side by side, and the in the RH window, both dividers lose glyphs, largely but not entirely in synch with eachother. (vi) The bug doesn't occur in a GUI session in X. It also doesn't appear to happen in emacs -Q -nw when the window isn't maximised. A git bisection shows that the following commit introduced the bug: commit 10753bc6888c997c31408a3ec59df42a4bef0005 Author: Eli Zaretskii Date: Tue Jul 6 20:11:51 2021 +0300 Fix right-margin display on TTY frames * src/dispnew.c (prepare_desired_row, adjust_glyph_matrix): Adjust the glyph pointer of the right-margin area for all windows but the rightmost ones on TTY frames, to account for the border glyph. (Bug#48257) src/dispnew.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) -- Alan Mackenzie (Nuremberg, Germany).