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#66664: 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 Date: Sat, 21 Oct 2023 15:44:11 +0300 Message-ID: <83pm18qh5w.fsf@gnu.org> References: <2ae9c4a6f49438103a21ff4144e2e11bdf2f7b2e.camel@aegee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8047"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66664@debbugs.gnu.org To: =?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?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 21 14:45:04 2023 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 1quBLj-0001rF-39 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 14:45:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quBLJ-0007C9-T2; Sat, 21 Oct 2023 08:44:37 -0400 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 1quBLH-0007Bv-KA for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:44:35 -0400 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 1quBLH-00041q-Bp for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:44:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quBLh-0007Hn-Nv for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2023 12:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66664 X-GNU-PR-Package: emacs Original-Received: via spool by 66664-submit@debbugs.gnu.org id=B66664.169789230027983 (code B ref 66664); Sat, 21 Oct 2023 12:45:01 +0000 Original-Received: (at 66664) by debbugs.gnu.org; 21 Oct 2023 12:45:00 +0000 Original-Received: from localhost ([127.0.0.1]:42510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quBLb-0007HE-UU for submit@debbugs.gnu.org; Sat, 21 Oct 2023 08:44:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quBLW-0007Gv-57 for 66664@debbugs.gnu.org; Sat, 21 Oct 2023 08:44:54 -0400 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 1quBKx-0003vH-10; Sat, 21 Oct 2023 08:44:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=+sxM2AHTyIRqGu/j6CO/fCAq759o/ZCycYXqQjDutXU=; b=VQrt2q6wNDqLFDH3Eipm yt3MB4QkeWJ9TrVaEX8AQFR+oC3cI77qJjNQtGwhbXiGbuIrq7UMisIiKAQO2o3+zTSfmW3Ez3ZSF 9auCIvk6Ho2OarYw8oiaXutt9rtE4Chjz7v9kPf2o5fJe2IsTnNj7dsf6PpYx91SvDJHTxEp01JEv YgWYrKlMjE6XasYGwLsyzZd1M/MWXzfwWFbDuCtgqB9IxiyI/gkswebQiKsOQyBFPF+ofICD8tooy PiNNebDlX45RcMu01riH4z1BebA/oAhnQqI+zi1/sKsLU5OzsqkXBVK7Ml1YrcvCerm52i7JK4Eeo BkWB74bEPWWBeg==; In-Reply-To: <2ae9c4a6f49438103a21ff4144e2e11bdf2f7b2e.camel@aegee.org> (dilyan.palauzov@aegee.org) 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:272887 Archived-At: > From: Дилян Палаузов > > Date: Sat, 21 Oct 2023 14:07:52 +0200 > > Hello, > > I have a text unix file u.txt where I insert this line: > > > t.add('🌐︎ ' + '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 arrow repeatedly to go over c. Then I press x. emacs shows that c is deleted and on its place appears x. I press Ctrl+L to refresh. Now c appears before x. > > I close emacs, repeat the above steps and get consistent results. I try this on a different system with self-compiled emacs 29.1, same results. What is the terminal emulator you are using, and on what OS? Basically, what the above means is that the text terminal you are using doesn't support the sequence of U+1F310 followed by VS-15 as Emacs expects it. On such a terminal you need to disable auto-composition-mode to be able to edit such text.