* bug#51521: Emacs-28 and Master. Unwanted display artifacts in multiple column tty displays.
@ 2021-10-30 23:26 Alan Mackenzie
2021-10-31 7:47 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Alan Mackenzie @ 2021-10-30 23:26 UTC (permalink / raw)
To: 51521
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 <some file with plenty of blank lines> RET
(iii) M-> ; to end of buffer
(iv) Hold down <up> (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 <file> 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 <file with blank lines> 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 <eliz@gnu.org>
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).
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#51521: Emacs-28 and Master. Unwanted display artifacts in multiple column tty displays.
2021-10-30 23:26 bug#51521: Emacs-28 and Master. Unwanted display artifacts in multiple column tty displays Alan Mackenzie
@ 2021-10-31 7:47 ` Eli Zaretskii
2021-10-31 10:03 ` Alan Mackenzie
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2021-10-31 7:47 UTC (permalink / raw)
To: Alan Mackenzie; +Cc: 51521
> Date: Sat, 30 Oct 2021 23:26:30 +0000
> Cc: Eli Zaretskii <eliz@gnu.org>
> From: Alan Mackenzie <acm@muc.de>
>
> 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 <some file with plenty of blank lines> RET
> (iii) M-> ; to end of buffer
> (iv) Hold down <up> (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.
Thanks, should be fixed now.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#51521: Emacs-28 and Master. Unwanted display artifacts in multiple column tty displays.
2021-10-31 7:47 ` Eli Zaretskii
@ 2021-10-31 10:03 ` Alan Mackenzie
0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2021-10-31 10:03 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 51521-done
Hello, Eli.
On Sun, Oct 31, 2021 at 09:47:08 +0200, Eli Zaretskii wrote:
> > Date: Sat, 30 Oct 2021 23:26:30 +0000
> > Cc: Eli Zaretskii <eliz@gnu.org>
> > From: Alan Mackenzie <acm@muc.de>
> > 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 <some file with plenty of blank lines> RET
> > (iii) M-> ; to end of buffer
> > (iv) Hold down <up> (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.
> Thanks, should be fixed now.
It is. Thank you indeed! I'm closing the bug with this post.
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-31 10:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 23:26 bug#51521: Emacs-28 and Master. Unwanted display artifacts in multiple column tty displays Alan Mackenzie
2021-10-31 7:47 ` Eli Zaretskii
2021-10-31 10:03 ` Alan Mackenzie
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).