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#50983: 28.0.50; [REGRESSION, BUG] Display bugs with uncommon characters Date: Sun, 03 Oct 2021 08:51:39 +0300 Message-ID: <83lf3aac5w.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36792"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50983@debbugs.gnu.org To: Rudi C Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 03 07:53:12 2021 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 1mWuQy-0009Ma-5L for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 07:53:12 +0200 Original-Received: from localhost ([::1]:40856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWuQw-0003DG-0v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 01:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWuQp-0003D3-RL for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 01:53:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWuQp-00061b-KR for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 01:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWuQo-0002zM-GM for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 01:53: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: Sun, 03 Oct 2021 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50983 X-GNU-PR-Package: emacs Original-Received: via spool by 50983-submit@debbugs.gnu.org id=B50983.163324032611300 (code B ref 50983); Sun, 03 Oct 2021 05:53:02 +0000 Original-Received: (at 50983) by debbugs.gnu.org; 3 Oct 2021 05:52:06 +0000 Original-Received: from localhost ([127.0.0.1]:60884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWuPu-0002wC-48 for submit@debbugs.gnu.org; Sun, 03 Oct 2021 01:52:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWuPo-0002vb-0v for 50983@debbugs.gnu.org; Sun, 03 Oct 2021 01:52:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41096) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWuPi-0004f5-Mp; Sun, 03 Oct 2021 01:51:54 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2592 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 1mWuPi-00064I-Ae; Sun, 03 Oct 2021 01:51:54 -0400 In-Reply-To: (message from Rudi C on Sun, 3 Oct 2021 02:20:24 +0330) 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:216214 Archived-At: > From: Rudi C > Date: Sun, 3 Oct 2021 02:20:24 +0330 > > I have two display bugs to report, one a regression that is not present in emacs 27. I start with this > regression. > > 1. `curl https://files.lilf.ir/tmp/weird.txt > weird.txt` > 2. `emacs -Q -nw weird.txt` > 3. try editing the text, deleting characters, etc. The character display will get messed up. > > Here is a screenshot of emacs before editing the file: > > https://files.lilf.ir/tmp/tmp.kik6vbBw8S.png > > And here is a screenshot after I do `backspace a`: > https://files.lilf.ir/tmp/tmp.Twz5ZXVbR6.png > > I have tried this bug with emacs 27 (both myself and some other user on IRC), and it is not present there. > > The second bug: > 1. `curl https://files.lilf.ir/tmp/bug.txt > bug.txt` > 2. do `cat bug.txt` and note the output: > https://files.lilf.ir/tmp/tmp.HKfKc9PUds.png > > 3. `emacs -Q -nw bug.txt` > As you can see, emacs is displaying the file incorrectly: > https://files.lilf.ir/tmp/tmp.0yKbCbB80R.png > > In particular, the line `#+TITLE: sharif/contact info` is not displayed at all. > > I could reproduce this bug on both emacs 27 and 28. I'm unable to reproduce any of this on my system. Both files display correctly, and the problems after deleting character and/or after displaying the file in a -nw session don't happen. This could be specific to macOS, where AFAIK the display is implemented slightly differently from the other platforms. Or maybe something else is at work here. For the -nw problems, this could perhaps be related to the terminal emulator you are using (just a guess, I have no real explanation how that could hide entire portions of the file's display). P.S. The site which you use to post the files is problematic: its certificate is expired or invalid, and at least on one of my systems wget said the TLS handshake failed, perhaps for the same reason.