From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail 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?= 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 14:07:52 +0200 Message-ID: <2ae9c4a6f49438103a21ff4144e2e11bdf2f7b2e.camel@aegee.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11330"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.51.1 To: 66664@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 21 14:10:58 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 1quAok-0002nQ-Ez for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 14:10:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quAnt-0005vU-QF; Sat, 21 Oct 2023 08:10:07 -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 1quAnP-0005cN-7r for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:09:36 -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 1quAnP-0001ph-01 for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:09:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quAnq-00010a-Nm for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-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?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2023 12:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66664 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.16978901903834 (code B ref -1); Sat, 21 Oct 2023 12:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Oct 2023 12:09:50 +0000 Original-Received: from localhost ([127.0.0.1]:42471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quAna-0000zg-DS for submit@debbugs.gnu.org; Sat, 21 Oct 2023 08:09:50 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:60526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quAnS-0000zL-Bn for submit@debbugs.gnu.org; Sat, 21 Oct 2023 08:09:44 -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 1quAms-00048W-8c for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:09:02 -0400 Original-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 ) id 1quAmq-0001NV-7K for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 08:09:01 -0400 Authentication-Results: mail.aegee.org/39LC7r2k1826419; auth=pass (LOGIN) smtp.auth=didopalauzov@aegee.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096; t=1697890075; i=dkim+MSA-ssl@aegee.org; 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 Original-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 ; Sat, 21 Oct 2023 12:07:53 GMT Received-SPF: none client-ip=144.76.142.78; envelope-from=dilyan.palauzov@aegee.org; 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-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:272882 Archived-At: 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