GNU bug report logs - #66664
On modified lines containing 🌐︎ and Unicode VS15 in text mode emacs does not show the real content of the lines

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Дилян Палаузов <dilyan.palauzov@HIDDEN>; dated Sat, 21 Oct 2023 12:10:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Oct 2023 12:09:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 21 08:09:50 2023
Received: from localhost ([127.0.0.1]:42471 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1quAna-0000zg-DS
	for submit <at> debbugs.gnu.org; Sat, 21 Oct 2023 08:09:50 -0400
Received: from lists.gnu.org ([2001:470:142::17]:60526)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1quAnS-0000zL-Bn
 for submit <at> debbugs.gnu.org; Sat, 21 Oct 2023 08:09:44 -0400
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 <dilyan.palauzov@HIDDEN>)
 id 1quAms-00048W-8c
 for bug-gnu-emacs@HIDDEN; Sat, 21 Oct 2023 08:09:02 -0400
Received: from mail.aegee.org ([144.76.142.78])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dilyan.palauzov@HIDDEN>)
 id 1quAmq-0001NV-7K
 for bug-gnu-emacs@HIDDEN; Sat, 21 Oct 2023 08:09:01 -0400
Authentication-Results: mail.aegee.org/39LC7r2k1826419;
 auth=pass (LOGIN) smtp.auth=didopalauzov@HIDDEN
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096;
 t=1697890075; i=dkim+MSA-ssl@HIDDEN;
 bh=Z5Gs1Yk5GSwZBYmJjcyEcIz9/rhwIi62ZxdN3SIPrQM=;
 h=Subject:From:To:Date;
 b=KUdaJTBKat/0S+s9wj3u/RURJ//Y7huI81nSnQc9RUGvBSidAkWp8j/Gv0dsjpL3z
 irbk7N2pU20HUAlOTRg/KBEUyWzRGxG87bzdct8WsK7TGgSLbTgv0UwR8Anztguky8
 slc37bab2ytWYuHqwbByLvjBg6TQ2s75+aGLk/WAzPvF3DJYPCMycclMncviHdTxjl
 B8wc39wthAFrZrbj3ArpUkU708sAYgpqP3g49SLXQMOvd6mguqK3k0INd7ZJD3BaNV
 VpGZFR1mQZIPJvOBbACP07kjzEMQNVsdlp3fwkM5n4S2kSuWtBeb59eYJAwprd6Wkm
 ht2NW3Qo2ejOZdqSFDNnc7PpI+7BPxRjw0Y/M8RU8Y+8P7phT61dDaoBiBzZX3JWAz
 Xr5Il7pB2B2mGSHzM0djqOwvPETC/nGKkieUrnRhJq0v9Y6I9zgXj8j0Ai1grayD07
 qOtJ+2g7wdEHr6z30AtgjPRXRlIH7RJvgy4WlIHOjyWupVMiBI1ba1adhqkYv7ZB11
 Y7yqqbPYj1cGJKK0/rva9m0Xv2ETzDxL8if8vht8J+YJEj/gfZRfhkZ05BU86JjlOG
 A/P4qGiMaU+R+giIk0UzSkaz22gBpML0cmnvGadlc4C8tb0AjBZ3yMcNlS7zjxA8pp
 9C+cu5FDaR3pH1mQEa3AUNCI=
Authentication-Results: mail.aegee.org/39LC7r2k1826419; dkim=none
Received: from [10.57.6.126] ([192.19.207.250]) (authenticated bits=0)
 by mail.aegee.org (8.17.2/8.17.2) with ESMTPSA id 39LC7r2k1826419
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO)
 for <bug-gnu-emacs@HIDDEN>; Sat, 21 Oct 2023 12:07:53 GMT
Message-ID: <2ae9c4a6f49438103a21ff4144e2e11bdf2f7b2e.camel@HIDDEN>
Subject: On modified lines containing =?UTF-8?Q?=F0=9F=8C=90=EF=B8=8E?= and
 Unicode VS15 in text mode emacs does not show the real content of the lines
From: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?=
 =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?=
 <dilyan.palauzov@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Date: Sat, 21 Oct 2023 14:07:52 +0200
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.51.1 
MIME-Version: 1.0
Received-SPF: none client-ip=144.76.142.78;
 envelope-from=dilyan.palauzov@HIDDEN; helo=mail.aegee.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

I have a text unix file u.txt where I insert this line:


t.add('=F0=9F=8C=90=EF=B8=8E ' + 'abcd')

That is a globe U+1F310 followed by Unicode Variation Selector 15 to remove=
 the colour of the globe.

$ hexdump -C  u.txt
00000000  74 2e 61 64 64 28 27 f0  9f 8c 90 ef b8 8e 20 27  |t.add('.......=
 '|
00000010  20 2b 20 27 61 62 63 64  27 29 0a                 | + 'abcd').|
0000001b

I open the file in text mode, emacs-fedora-28.3 -nw, and press the right ar=
row repeatedly to go over c.  Then I press x.  emacs shows that c is delete=
d and on its place appears x. I press Ctrl+L to refresh.  Now c appears bef=
ore x.

I close emacs, repeat the above steps and get consistent results.  I try th=
is on a different system with self-compiled emacs 29.1, same results.

The problem report is that when that character sequence is contained in a t=
ext file, modifying more complex lines gets practically impossible with ema=
cs, as the latter stops showing the actual text.  I have to refresh, close,=
 open emacs several times in order to get modifications correctly on the li=
nes, containing the above sequence.  I literally  cannot see what I am chan=
ging on such lines, as what is displayed is different to what is actually m=
odified.

Kind regards
  Dilyan






Acknowledgement sent to Дилян Палаузов <dilyan.palauzov@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#66664; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 21 Oct 2023 12:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.