From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57728: 29.0.50; Emacs writes wrong glyph at the bottom-right corner of text terminals Date: Mon, 12 Sep 2022 18:54:06 +0600 Message-ID: <87fsgwkb2p.fsf@disroot.org> References: <87v8pub3nl.fsf@disroot.org> <835yhu9m3e.fsf@gnu.org> <83czc096e5.fsf@gnu.org> <8335cw94qo.fsf@gnu.org> Reply-To: Akib Azmain Turja Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19625"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , gregory@heytings.org, 57728@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 12 15:06:52 2022 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 1oXj9I-0004wE-D2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 15:06:52 +0200 Original-Received: from localhost ([::1]:35116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXj9H-00032m-Bo for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 09:06:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXj7Z-0001Ou-2J for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 09:05:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55871) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXj7W-0003yC-Bx for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 09:05:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXj7W-0005zs-14 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 09:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2022 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57728 X-GNU-PR-Package: emacs Original-Received: via spool by 57728-submit@debbugs.gnu.org id=B57728.166298787723019 (code B ref 57728); Mon, 12 Sep 2022 13:05:01 +0000 Original-Received: (at 57728) by debbugs.gnu.org; 12 Sep 2022 13:04:37 +0000 Original-Received: from localhost ([127.0.0.1]:44570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXj77-0005zD-By for submit@debbugs.gnu.org; Mon, 12 Sep 2022 09:04:37 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:42560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXj74-0005z2-SC for 57728@debbugs.gnu.org; Mon, 12 Sep 2022 09:04:36 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A23624A06B; Mon, 12 Sep 2022 15:04:33 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id 9pf1zwb91OZF; Mon, 12 Sep 2022 15:04:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662987697; bh=tm+HGoSgiIm4v2hh5Gt8Uk2AnS7q+FVw/H2KyY+7kAA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=RKeIF5JaAdl5/dHzvWq+GMrl9UPBt1QNEmxXCs5OVSZxyo9Ba6/qKJUO/J4sCuxg7 zCfeVM5/M2SuC5jWptGRveAQtFDHobUVSUsi4UsfVzZJ1M3J/TXcCgFqt7/XAD6R+n 8ZBnhaaMXsBgAdS3IZoKrxNb9kfod26N5+OgDhmDdVf2oarB7YQEvLgpslV1958baz ftf6iYsZU7pZpS/j7MbG0R9r9o85OCbH87XLDF8gmB75z9WxH99HSuwFDNs3Tyu39u nVNcxy/0An+5L6u8ieboG71vybthS/0NWvQ1l0QXM9PQx7K856k0vwjrCzyhwZEPGp /VRDq/hM6rr7w== In-Reply-To: <8335cw94qo.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 12 Sep 2022 15:06:23 +0300") 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:242266 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: gregory@heytings.org, 57728@debbugs.gnu.org, akib@disroot.org >> Date: Mon, 12 Sep 2022 13:59:05 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> >> From: Gerd M=C3=B6llmann >> >> This is because 'write' deliberatly leaves the bottom-right corner al= one >> >> if the terminal has "auto right margin" (autowrap). >> > >> > But AFAIU, the bug actually shows that we somehow _do_ write there, >> > although the display engine assumes we don't. Right? >>=20 >> My theory is that no-one but tty_write_glyphs knows that it didn't write >> to the bottom-right corner. > > You are saying that update_frame_line tells tty_write_glyphs to write > the '\', but tty_write_glyphs doesn't in this case? > > But why would we need to write that character if we know it's already > there (because all lines end with it)? That should only happen if we > scroll the region instead of rewriting lines one by one. Is that what > happens in this case? The symptoms indicate so. =2D-=20 Akib Azmain Turja Find me on Mastodon at @akib@hostux.social. This message is signed by me with my GnuPG key. Its fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmMfK+4ACgkQVTX89U2I YWsB5RAAic48ZLgezL/4EtK22gEGn++IE7rBEhnQrsvJehcsKjsy78faROn9kHYa SCikJnlJeOqDP2zi3QbTfhGhv8DixwMZYS2fbi5OrK+tYww874Gv5GnL7JP7vkwW NPloon7aDrV6i80RKr4IYYaKHMZRAp/0vwinnMPh+fksA2b3IYUWl4ulmMk9fERP IC5Wu9cc0uP1lnzpxOx0iAmYw/b3zXFZBOLvieYBnTdmeEynY7v2h+i8HVnCjzyJ t35SfYQ0IoGdMAawXCK9BgrrLyjzvKCBu9BR2uC+tI7S0WFWJ2koakOOdkvqHEY9 ZG69BwB2dszCNIhS5E7+p8x8a4BdWzrECjnIbw6hzQDoTQpelibPYYHu28aGJ7Ex jWmKrm84IYZ1OThN29RJ+MLpSbQ5w4S3eTRvqKj7W6BV5vK8pCWI0bX4Y9eAcTwc WhHCsTSaqNyQCOjPod2UlbUZ2ZCw7vab0Mc7R49SApe3Kp7k1K/GaGrB/N4O55dm vyyRIGTRZ8iztN1nGIwu80Lp3gagcNH/dbqbxirxNwgDC0rAjaB6WLMMpPrBcGKP JBNZ+lZ3uC/Q0Rr8mMcjMeX/Y7Fi+LDrfMVn1x1cCELQUxkrALBjuhY84E+egt8p SIU2Kxn373ZvzWi7/RY275+xK0ID373ApOnpkc4Lmtq7qlWOKN4= =Twvm -----END PGP SIGNATURE----- --=-=-=--