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#68314: 30.0.50; incorrect redisplay of contents of current line Date: Mon, 08 Jan 2024 14:36:57 +0200 Message-ID: <83cyucq9w6.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2894"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68314@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 08 13:38:17 2024 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 1rMotV-0000Ze-5u for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jan 2024 13:38:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMotN-00031t-KJ; Mon, 08 Jan 2024 07:38:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMotB-0002vo-SW for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2024 07:37:59 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMotA-0006br-DA for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2024 07:37:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMotG-0003Na-I5 for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2024 07:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jan 2024 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68314 X-GNU-PR-Package: emacs Original-Received: via spool by 68314-submit@debbugs.gnu.org id=B68314.170471744812943 (code B ref 68314); Mon, 08 Jan 2024 12:38:02 +0000 Original-Received: (at 68314) by debbugs.gnu.org; 8 Jan 2024 12:37:28 +0000 Original-Received: from localhost ([127.0.0.1]:35380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMosh-0003Mg-H8 for submit@debbugs.gnu.org; Mon, 08 Jan 2024 07:37:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMosd-0003MQ-91 for 68314@debbugs.gnu.org; Mon, 08 Jan 2024 07:37:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMosR-0006QY-PV for 68314@debbugs.gnu.org; Mon, 08 Jan 2024 07:37:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nOG5GVzVBK+QAiUC2j20BzDK/s6CA4GyWooTWd7pgtY=; b=mTYfqy5r4yIk COLI/jJhcCITnMlFObaAJic7Wn9X0xTVAgscp0y8pE9q6elK+MsgJu70vQJe1dvPnOsC+7w+dHeYX ArK7YPU0QwW2ZFcG4inodSNQ4WAlWgBj9b7x7KaL1IyX8WWWQR36IHE7YBRgW2LvJ+S63cVVNxJU7 pCFj2Njf7s/DrCvajEJah1GpSACkmjCXqwLdPJUPGUrgaWk14v+EY/4w1/dz8E3qqpWqgJ9Q3/pLf xipu90oA/eluMQqaiQXqnC0oYiZMhB6p8e6N/PP9l0/4ueUhggGvIp26B/VaaMWRFJ7BwcmuFGMl/ uU12uN41ai6r4FBJr6j5dA==; In-Reply-To: (message from Richard Stallman on Sun, 07 Jan 2024 22:44:59 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:277553 Archived-At: > From: Richard Stallman > Date: Sun, 07 Jan 2024 22:44:59 -0500 > > > and found that the `e' was missing only on the screen -- the buffer > was correct. Therefore I typed DEL. > > This bug in redisplay has been happening every few minutes this > morning. I did not notice it happen yesterday, which surprises me > now. > > This example is the simplest of those I have looked at recent-keys > for. It has NOTHING unusual! It is hard for me to believe that there's such a fundamental problem in redisplay. My suggestion is to use open-termscript to record what the display code sends to the screen, and when the problem happens again, look for the stuff you miss on the screen in the termscript file. Then we will know whether the problem is that redisplay didn't send the correct commands to the screen or that the commands were sent correctly, but were not executed correctly by the terminal driver. > I have a suspicion. > > I get tiny pauses even in typing ordinary input, as if something > time-consuming were running frequently between commands. > > Those tiny pauses could affect how redisplay updates for these > inserted characters, in a random, unpredictable way. How could some processing affect redisplay? If you have an idea how that could happen, please tell, because I cannot imagine how it could happen. It is much easier for me to suspect that your system's video driver or some other system software related to the terminal "swallows" commands sent to the terminal. What happens if you type "M-x redraw-display RET" -- do the "missing" characters come back? What happens if you suspend Emacs and then resume it? > I suspect this bug usually happens in the part of redisplay > that updates the current line onl. Once I typed DEL and > a character two columns leftward was erased. > > On the other hand, sometimes redisplkay fails to rewrite some lines, > below point, and leaves then blank or with old contents. > > The problem seems to happen mainly in mail mode. Did you recently change anything in your system's software, like upgraded some drivers or maybe even moved to a new system? Did you update your terminfo DB or something related to it?