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: Sun, 11 Sep 2022 19:38:45 +0600 Message-ID: <87k06ayqsa.fsf@disroot.org> References: <87v8pub3nl.fsf@disroot.org> <835yhu9m3e.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="2884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57728@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 11 16:12:14 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 1oXNgy-0000bD-1v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 16:12:12 +0200 Original-Received: from localhost ([::1]:55906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXNgw-0000go-LX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 10:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXNgo-0000eu-OY for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2022 10:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXNgo-0002Z9-F3 for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2022 10:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXNgo-0000ie-4I for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2022 10:12: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: Sun, 11 Sep 2022 14:12:02 +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.16629054642661 (code B ref 57728); Sun, 11 Sep 2022 14:12:02 +0000 Original-Received: (at 57728) by debbugs.gnu.org; 11 Sep 2022 14:11:04 +0000 Original-Received: from localhost ([127.0.0.1]:43047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXNfs-0000gq-4A for submit@debbugs.gnu.org; Sun, 11 Sep 2022 10:11:04 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:37564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXNfp-0000gO-DW for 57728@debbugs.gnu.org; Sun, 11 Sep 2022 10:11:02 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3F6CA49F77; Sun, 11 Sep 2022 16:11:00 +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 pnM5If6THe9R; Sun, 11 Sep 2022 16:10:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662905459; bh=S6QhqbvxQqv82P0j1HsMdQ4IWq1Q+64PH1HQzwZu1MQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=VZ+9aGuB0H4Yj9KbnF/VpBGxdF6uBV/trfq5omwvl1O3wHfyhDVxm8Q3GT4mvUtaP RhNpaz1f4ubbs3lOCXA5wDXvaxp66q0zPk5XhqHbJCq2pZ3+lij6QbrpGFQrNBFN0W +vh3p6JG2gn2XDo1hR44cgi/cpzk09bkFduPx15AjeBZZnfR/+UyIxvaECZEV9XQ0Z 2S5ygaEhbtFZH6OcNi/g0Y0w/BGqcAkIWVeAjTl6f//uuN2dSnrDKLeLW6ROJ0BLx5 Y/CM/czwuEBNrUySslynVk6XCUugIpdv8fR87aoVWg/LYrWjwh54DXSCHn2Zl+Rmb+ wHwii9t4tLbKA== In-Reply-To: <835yhu9m3e.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Sep 2022 14:39:17 +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:242170 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> Date: Sun, 11 Sep 2022 16:34:38 +0600 >> From: Akib Azmain Turja via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> Emacs often writes to the last character possibly by mistake. To >> reproduce, run emacs -Q, hit M-: (eval-expression), write some garbage >> until the minibuffer window scrolls (I used (+ (% (random) 26) ?a) to >> generate the garbage), and hit C-p until you scroll down a line. You >> should now see that the last character cell contains a continuation >> ('\') glyph. I think this is probably due to the use of any of 'il' or >> 'il1' or 'rin' terminal capabilities. > > Thanks, but please provide more info: > > . the exact recipe to try (I tried to follow the above, but > couldn't, I guess I misunderstand what you mean) > . on which terminal emulators this is known to happen, at least in > your case (and if you happen to know, also others) I don't why my first message confused everyone, but I'll try to give a clearer explanation: Emacs often writes to the last character cell (i.e. the character cell on the bottom-left corner) possibly by mistake. To reproduce: 1. Run emacs -Q. 2. M-: (or any other command that asks for a string). 3. Write some garbage until the minibuffer window scrolls. (I used (dotimes (i 10000) (+ (% (random) 26) ?a)) to generate the garbage in *scratch* buffer and copied to the minibuffer, but you can write anything you want.) 4. Scroll down a line. 5. You should now see that the last character cell (i.e. the character cell on the bottom-left corner) contains a continuation ('\') glyph. But Emacs doesn't dare to write to that character cell when 'am' capability is defined, and my terminal have that capability defined. I think this is probably due to the use of any of 'il' or 'il1' or 'rin' capabilities. Tested on Linux console, St, Xterm and Kitty. 6. Scroll up two lines. 7. The continuation glyph on the line before the last one doesn't appear. Tested on Linux console, St, Xterm and Kitty. 8. Scroll down more than two lines. 9. Exit minibuffer. The continuation glyph will still stay there on some terminals. Tested on St, Kitty. I hope this is clearer. =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----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmMd5OUACgkQVTX89U2I YWsaABAApDlu5wbTrTmBCKJ4pIr9JCf5CiJ2W3Uv62tnl2FdFWXi/c7gehO3E1F8 zNNbIeGPbvkPNFO2n/EbHsARxdemI7hYc4Cj8pQ6ISX5ctskmNuSI36kW0iWAE+1 BBlevMLaKF2CcS/TWFIwF1xEqJt2gZ+/sCMf9QZF8NTKYiisFiV9E/3iDylZ/4E8 xbixLcxGYMWQM+yMWsLJ0CGtxdmxPNLtFxxpfRe/vyieNsjB1cGgVtr8z80PaZgv MtO7AXwb4WR3VhXUgbKmJ6GI7n/mjaDP9dH4IeXWazjiSsvPG+0JUCUNAolMwenk 22yUVFHyDRcVxVqRo+kfi7mecQhrIEFM1AESzvVExADAj2cZn5ysnRPBUKdXtlAs 59DUIrRRc9cTGfpP2HyXWx8M/08SXXA36hVa8dutFBVqNtLeOLdKZSK5pJ5lyES/ h1a73gWRks5CeHP/HU5HbwFxrdGSddAYv9BwjVyLhuQjmldCOvYKBq9ffpEt+Lt0 95j83QaN71+3RjuUNs3xBJRZ8e3MPra/w00wlGFfxje4EH3S/TgA5cakEwwx2lUP jZt0fKzJ3QaWB5qBulcSWKAscl3hDerlsNnw8kP88j+CK/MAfIZJaFE11jrm9JWc wMkX1VVvcypEpEJe8kSIGNMN17K9k65ac7cqqEYUzYePxnEUHzQ= =1Lsx -----END PGP SIGNATURE----- --=-=-=--