From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 15:06:23 +0300 Message-ID: <8335cw94qo.fsf@gnu.org> References: <87v8pub3nl.fsf@disroot.org> <835yhu9m3e.fsf@gnu.org> <83czc096e5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15383"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 57728@debbugs.gnu.org, akib@disroot.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 12 14:10:47 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 1oXiH1-0003uc-2x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 14:10:47 +0200 Original-Received: from localhost ([::1]:52326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXiH0-0000VO-6w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 08:10:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXiDO-0003qG-Pc for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXiDO-0000Zx-FA for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXiDO-0006Q6-AF for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2022 12:07: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.166298441024660 (code B ref 57728); Mon, 12 Sep 2022 12:07:02 +0000 Original-Received: (at 57728) by debbugs.gnu.org; 12 Sep 2022 12:06:50 +0000 Original-Received: from localhost ([127.0.0.1]:44463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXiDB-0006Pg-RC for submit@debbugs.gnu.org; Mon, 12 Sep 2022 08:06:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXiD8-0006PS-IJ for 57728@debbugs.gnu.org; Mon, 12 Sep 2022 08:06:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXiD3-0000P8-7Z; Mon, 12 Sep 2022 08:06:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Vs1PHFPB7dQhTzeNGGJFaf5OPmh423H+upRg9OhOrpo=; b=YQq12z4790zIha4Q8I5+ AMyj+CmUmI2X68B7eu0Gryg60OMUb0BBWfgM/sQibDWBTadtdpByEYuyIsWmjT1RNugjzmOxVMBlr fn8oguSj+4mKYbKpTgdgnSJucb2/1EMIMayA58uu2mSPOunjn0s3lNCzUQZ8yU85eYGqYd3DQrkF5 0ygSxdj8j8KKk2QOSFRw+nXFSQJOL4XB2AyCAYDdQ3iQJ476TTLS0ykPz+7fyUlyBH7R7MNAX5KD0 18RNEqWBSqGW8iPHLWm7iBYIr6rDP7MvvP9Lleqa65GBsXN5UTp49aVVWddR0BVbeYfsFxOs+MSF5 eFbjYDA0mlEOcw==; Original-Received: from [87.69.77.57] (port=1596 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXiD1-0007wr-MU; Mon, 12 Sep 2022 08:06:40 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Mon, 12 Sep 2022 13:59:05 +0200) 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:242256 Archived-At: > From: Gerd Möllmann > Cc: gregory@heytings.org, 57728@debbugs.gnu.org, akib@disroot.org > Date: Mon, 12 Sep 2022 13:59:05 +0200 > > Eli Zaretskii writes: > > >> From: Gerd Möllmann > >> This is because 'write' deliberatly leaves the bottom-right corner alone > >> 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? > > 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?