From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= 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 14:29:08 +0200 Message-ID: References: <87v8pub3nl.fsf@disroot.org> <835yhu9m3e.fsf@gnu.org> <83czc096e5.fsf@gnu.org> <8335cw94qo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15253"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: gregory@heytings.org, 57728@debbugs.gnu.org, akib@disroot.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 12 14:50:51 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 1oXitn-0003se-Cm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 14:50:51 +0200 Original-Received: from localhost ([::1]:52152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXitm-0000TT-FO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 08:50:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXiZg-0005Ei-8T for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:30:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXiZf-00062s-Dd for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXiZe-00071H-US for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2022 12:30: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.166298576126893 (code B ref 57728); Mon, 12 Sep 2022 12:30:02 +0000 Original-Received: (at 57728) by debbugs.gnu.org; 12 Sep 2022 12:29:21 +0000 Original-Received: from localhost ([127.0.0.1]:44508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXiYy-0006zh-SI for submit@debbugs.gnu.org; Mon, 12 Sep 2022 08:29:21 -0400 Original-Received: from mail-ej1-f51.google.com ([209.85.218.51]:44615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXiYu-0006zQ-A2 for 57728@debbugs.gnu.org; Mon, 12 Sep 2022 08:29:19 -0400 Original-Received: by mail-ej1-f51.google.com with SMTP id r18so19776079eja.11 for <57728@debbugs.gnu.org>; Mon, 12 Sep 2022 05:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=ZLKdr6xRDreD5T+5ywX+Dlmx94YN5L213lN3pXxLe1k=; b=IT4Gr2r4cXJnNDQjXUj/POkmyVgbM4JBoQkc0p9Ygr5ydWegVxo2UAa6vaKNrQqYff NTfbPWrwLa9Jyuew0XBz1bWf9zfC4vpFgJ3pTI7H6l0WZ4/PHg5oi1NNMxNfYRwVZYPH 9jnJy1zakXxxGB/VaRwg4vSTwASq/Axuvff2PoQ7JKlagf3jMvaxwWq0PQ1Gg8XL21NN aCMfsVZ3R6ZoKRbE1MGq90s60OGWFnH9Tfuuv/LuQafmRB0BmBi5lRzhkc9uG/UqDq6N jc1oFXH9iKHShu2aTACQ6bE5g7zI/5JpidheX8fQP2DP2JgYJdYrnAsUFjN7NT9FZYaW rO2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=ZLKdr6xRDreD5T+5ywX+Dlmx94YN5L213lN3pXxLe1k=; b=8DJR/nBpqhg3b5UXLg7cBtCUkGm+Jl/tciAu5qOzFO0ktTNaX1JcbBmBQCuZ5RE1HV p6bbGPReEdaZsb+XSmALQTYaDE/laULjwQdgMFKUDfN/NNXRW7Xo2rSVGjgJfqsjxZ8Y ddyFG+FcHlmr1Bqq1a18AkSmjMUzABdAypppyJGqctzARL5VQTaCHc+1O+z99+jCn2jS 6TCEwFIApj17NS3ywYdIc/XlHdrtBEDz+xTjOf7DB63IusnP2jDXA7nmJJOG6BwssmnL 5fBq7la51wydzxNg2GNcZVkaeZjVXTI796OiOxRjwIWmZ9egLeUHzksO60kjG76EfRlX xUEg== X-Gm-Message-State: ACgBeo18GkvZTAPg2CWH8oBJOOxV4+772gs74Vg1GvwGGQf/Vgw1Rl5x b4NpyckvEOEwhmY4PpD6S/E= X-Google-Smtp-Source: AA6agR4OvXE6QEeY9PhziJKBDcuarb/nOCWFWxyZcPzFnZkL4MCFO15BgAMZtuBQnFjG/UIGHhI+EQ== X-Received: by 2002:a17:907:96a5:b0:73d:d16c:60ac with SMTP id hd37-20020a17090796a500b0073dd16c60acmr18912380ejc.707.1662985750299; Mon, 12 Sep 2022 05:29:10 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36bd4.dip0.t-ipconnect.de. [217.227.107.212]) by smtp.gmail.com with ESMTPSA id ep19-20020a1709069b5300b0073093eaf53esm4340912ejc.131.2022.09.12.05.29.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 05:29:09 -0700 (PDT) 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:242265 Archived-At: Eli Zaretskii writes: >> 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? I'm sorry, I don't know what exactly happens here. Perhaps insert_glyphs, say in the middle of the line, shifts something to the bottom-right corner, and write_glyphs is expected to overwrite it, which it doesn't? Or something like that.