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 13:56:01 +0600 Message-ID: <87tu5dxbzi.fsf@disroot.org> References: <87v8pub3nl.fsf@disroot.org> <835yhu9m3e.fsf@gnu.org> <87k06ayqsa.fsf@disroot.org> <83tu5e7zh4.fsf@gnu.org> <87edwhzzjo.fsf@disroot.org> <83sfkx9650.fsf@gnu.org> <874jxddc1m.fsf@gnus.org> <83pmg193vo.fsf@gnu.org> <87v8ptbwro.fsf@gnus.org> <83o7vl932u.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="23217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 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 10:24:31 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 1oXek3-0005rh-AE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 10:24:31 +0200 Original-Received: from localhost ([::1]:58338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXek1-0004Jr-Jo for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 04:24:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXejm-0004Jg-Ca for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 04:24:14 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXeja-00069a-CF for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 04:24:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXeja-0008Ew-1D for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 04:24: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 08:24: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.166297099131615 (code B ref 57728); Mon, 12 Sep 2022 08:24:01 +0000 Original-Received: (at 57728) by debbugs.gnu.org; 12 Sep 2022 08:23:11 +0000 Original-Received: from localhost ([127.0.0.1]:44045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXeij-0008Dp-8U for submit@debbugs.gnu.org; Mon, 12 Sep 2022 04:23:11 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:56424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXeiT-0008Cz-SF for 57728@debbugs.gnu.org; Mon, 12 Sep 2022 04:23:08 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5764741663; Mon, 12 Sep 2022 10:22:52 +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 ESMTP id WPzHGWOG710T; Mon, 12 Sep 2022 10:22:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662970971; bh=uD6pK8nAkOCCwq/kCpdYNerlU77vvYrE/CHyusvIfKY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=GTCb52zxmDZ2RDYsJtMcsOBoHHuc/6MHki3TvgRc/jiwecCgMtIqKSoUBzhHgw8i6 30qx/empIDByeM7PCEOrWBN+OylsFdrfAQSkZkRcx9q4S9Z6j0V55NfIMOv67abiKH YVt6SKTaqPii3WIzvG3t3ATzcstIMg6Jk38BaDiRbOtd9Hkuotl5neOnyESdaFAHxo h00FirnXG7m9brzYdnDn6GOdfIUE8GwIB36eMFm541YbzpMR3kcNUdaHq7eldmxXwX d7cX8HpdgjEGYiW4UunlbWxzNyDSIRv6J1YJCWggSFmENW09eDYFjAATltNfTvSTn9 z7FdsvnRA37xw== In-Reply-To: <83o7vl932u.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Sep 2022 21:30:01 +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:242216 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: akib@disroot.org, 57728@debbugs.gnu.org >> Date: Sun, 11 Sep 2022 20:18:03 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> > Doesn't happen here, neither on MS-Windows nor on GNU/Linux to which I >> > SSH-login via PuTTY (which AFAIK emulates xterm). I guess this really >> > is specific to some terminals. >>=20 >> My example was with gnome-terminal on the current Ubuntu, for what it's >> worth. > > Someone with access to that terminal will have to debug this. I can reproduce on XTerm and Linux console, I hope you have access to those. > > My guess is that something we do when we rewrite the lines while > scrolling the display erases those glyphs by side effect, but Emacs > doesn't know that. Since all the lines have the continuation glyph, > it makes sense for Emacs to rewrite only the part of each line up to > and excluding the continuation glyphs, relying on them to remain on > the glass. Yeah, tty_write_glyphs and tty_write_glyphs_with_face in term.c does the magic, it doesn't dare to write to that (bottom-right corner) position. =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----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmMe5hMACgkQVTX89U2I YWs6Ow//VZ6ujAIJzvfGA9SxZClztE1g8bNgCBVrxs+zCqUsy6dgJMMGtNJyBe50 foddkz9F3e3dxJMmsx2ixFpEuaRbwATQeYJ8Ndzj+ykTQse4hgrcneEhH5CPSOCd VlvjJw7BuuZHHDC/dSpX5GJ2HS2JVzWr27C9CotUViE73Z43gFElNsZz6TVL6jmh 7vXkMT13HoABjiu0Ne+juxegpwt88YhUS8v3SomHpDtTOskvdpKKN/SCjc31pzQY d6DOIqj1nKodtVIG65WZ2hIiwDCrVYAaJYsF6hMAfN5Ot7OdZDTVlBauQEXsndFT 1cCurxAnwsh83GLqGrpKZLeKQ/lher7qvwFpQXxBbT+jjlk0bURWqXXDi44guEm9 pX8MGsuqEGxLoxwXOoLX5uixSp9rfSonQZT3s/3f+Z95/fqGngF+/4/f5AOvFWfY MFQgEjkAZxSzmXtzP1mjrV75fwtGEwULoLqtC+aIFm8xPb2aMLOtnPh3LT51RAvC O7xU+oQvJg8a1B1ymVoxIcxmlz6H5fGJ7uJ+pLaeo+SJGb/B9JBMe44DPVeq5SKk eQoew99PQxPHszI8o6T+vIaX+PxCDs5VyIBenSw9m8epMGEZJ2nOjj6kTeaAqo43 JVcYdI4P63sN8OPKhJcn3m4prTeqi1xMizy10fj3XLIiXUV8r18= =3WG8 -----END PGP SIGNATURE----- --=-=-=--