From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudi C Newsgroups: gmane.emacs.bugs Subject: bug#50983: 28.0.50; [REGRESSION, BUG] Display bugs with uncommon characters Date: Sun, 3 Oct 2021 02:20:24 +0330 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001e23f205cd6682de" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15669"; mail-complaints-to="usenet@ciao.gmane.io" To: 50983@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 03 00:52:41 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 1mWns1-0003rb-0f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 00:52:41 +0200 Original-Received: from localhost ([::1]:59642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWnrz-00079X-GR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 18:52:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWnqS-000617-J5 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 18:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWnqQ-0001y2-Ir for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 18:51:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWnqQ-0006kH-Dj for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 18:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rudi C Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50983 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163321505025909 (code B ref -1); Sat, 02 Oct 2021 22:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2021 22:50:50 +0000 Original-Received: from localhost ([127.0.0.1]:60744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWnqD-0006jp-Nf for submit@debbugs.gnu.org; Sat, 02 Oct 2021 18:50:50 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWnqB-0006jh-JO for submit@debbugs.gnu.org; Sat, 02 Oct 2021 18:50:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWnqB-0005rF-6U for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 18:50:47 -0400 Original-Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:36384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWnq7-0001S5-SI for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 18:50:46 -0400 Original-Received: by mail-io1-xd35.google.com with SMTP id e144so15902989iof.3 for ; Sat, 02 Oct 2021 15:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=X4Hdyy2+yGnLC5jAI7zGW5e7y069Nq5CPkj6XzJhX30=; b=KPkoMgID3kREfMJ5YGN1McSc6D74zTrl4bCkKLJxmgOf94tqeZfU7+yhd2G81RMoSv bpvM6qN7/6QBlwGkhwvGXVMaUlkMbdX3sFftOUMq3GfiktgZ8cloa0fDg8APLEoTJJse jK+mhVNzxGjXp9pOMQLsAls5dUTSH277Psdi6L2Jo4hPw9LfIA1EySKHltP2e7r25L2A FXkUY58CmgcgWsCt52XHFJJnvMshPSvlQHjeXY3UuJ2kLpO919CNyLPUO9QkEjh0k+N0 k9CKjIqRZg+ZeqF/s+j/fLUFG9a2to7Xw9jxaHreU7SVUIzjmhxirqN5w8gCtQs7B0RL dmoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=X4Hdyy2+yGnLC5jAI7zGW5e7y069Nq5CPkj6XzJhX30=; b=WbUNiYFtrvq4Rt152Fklw/fXsqju8VExIHhYHzcESiv9gUegAm/DbYW+uaw2R5TvYV 6R1LjlPb+92lgFRTg0htHLIpIUV+i9e3yz1D5VwtZyZAd0TFTjqtu6i3HpZyVURaS1M/ ogslIMVkCbUrV75rTETve8s3Auw2Ocemyp3G9zDhHagu6Hrws2sA1yOODjgrdxj4EmjT NG2XkaMsUocaPSY8ralEhTbA5JXM99ARBPGt2xDmdeXZPHRm2h+SVQ7Lky5YP9CPofNb +dJURsBPUA2KuFy2ZcXnSx+R4rYSfBjOXo3tGmekbOnBtw0JZgMrLs5bYhAW0Bb4Hegb 6cbw== X-Gm-Message-State: AOAM5327iFOZ15Rc4Tkpe8XqNsByJcbP5yPq7fQtd0M9cs4gm+nUPljI 5NprBiD/skIxDbdKmxVWmFlCY4Jt7RhB2qzxUJwnO+dQkBh1PYxm X-Google-Smtp-Source: ABdhPJyk2qiAs7q+Ce/nNM7OU+bIe7UKlMBfmfTBKz0IEFldsU5sJoy77h6Siz5DtKHG7md3jqCzfSWaIJSNYn141Is= X-Received: by 2002:a05:6638:d89:: with SMTP id l9mr4468008jaj.46.1633215036924; Sat, 02 Oct 2021 15:50:36 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=rudiwillalwaysloveyou@gmail.com; helo=mail-io1-xd35.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:216205 Archived-At: --0000000000001e23f205cd6682de Content-Type: text/plain; charset="UTF-8" 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. Additional info: In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.3.0, NS appkit-2022.30 Version 11.2.1 (Build 20D75)) of 2021-09-21 built on Fereidoons-MacBook-Pro.local System Description: macOS 11.2.1 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@28/28.0.50/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml2 --with-gnutls --with-native-compilation --without-dbus --with-imagemagick --with-modules --with-rsvg --with-xwidgets --with-ns --disable-ns-self-contained 'CFLAGS=-I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include' 'LDFLAGS=-L/usr/local/lib/gcc/11 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include'' Configured features: ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix --0000000000001e23f205cd6682de Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have two display bugs to report, one a regression that i= s not present in emacs 27. I start with this regression.

1. `curl=C2=A0https://files.lilf.ir/tmp/weird.txt=C2=A0> 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 befor= e editing the file:

https://files.lilf.ir/tmp/tmp.kik6vbBw8S.png

And here i= s a screenshot after I do `backspace a`:
https://files.lilf.ir/tmp/tmp.Twz5ZXVbR6.png<= br>
I have tried this bug with emacs 27 (both myself and some= other user on IRC), and it is not present there.=C2=A0

The second bug:
2= . do `cat bug.txt` and note the output:

3. `emacs -Q -nw bug.txt`
As y= ou can see, emacs is displaying the file incorrectly:

In particular, the line `#= +TITLE: sharif/contact info` is not displayed at all.

<= div>I could reproduce this bug on both emacs 27 and 28.

Additional info:

In GNU Emacs 28.0.50 (build= 1, x86_64-apple-darwin20.3.0, NS appkit-2022.30 Version 11.2.1 (Build 20D7= 5))
=C2=A0of 2021-09-21 built on Fereidoons-MacBook-Pro.local
System = Description: =C2=A0macOS 11.2.1

Configured using:
=C2=A0'conf= igure --disable-dependency-tracking --disable-silent-rules
=C2=A0--enabl= e-locallisppath=3D/usr/local/share/emacs/site-lisp
=C2=A0--infodir=3D/us= r/local/Cellar/emacs-plus@28/28.0.50/share/info/emacs
=C2=A0--prefix=3D/= usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml2
=C2=A0--with-gnutls -= -with-native-compilation --without-dbus
=C2=A0--with-imagemagick --with-= modules --with-rsvg --with-xwidgets --with-ns
=C2=A0--disable-ns-self-co= ntained 'CFLAGS=3D-I/usr/local/opt/gcc/include
=C2=A0-I/usr/local/op= t/libgccjit/include -I/usr/local/opt/gmp/include
=C2=A0-I/usr/local/opt/= jpeg/include' 'LDFLAGS=3D-L/usr/local/lib/gcc/11
=C2=A0-I/usr/lo= cal/opt/gcc/include -I/usr/local/opt/libgccjit/include
=C2=A0-I/usr/loca= l/opt/gmp/include -I/usr/local/opt/jpeg/include''

Configured= features:
ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 M= ODULES
NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF
TOO= LKIT_SCROLL_BARS XIM XWIDGETS ZLIB

Important settings:
=C2=A0 val= ue of $LC_ALL: en_US.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 = locale-coding-system: utf-8-unix

--0000000000001e23f205cd6682de--