X-Loop: help-debbugs@HIDDEN 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 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?= <dilyan.palauzov@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 21 Oct 2023 12:10:02 +0000 Resent-Message-ID: <handler.66664.B.16978901903834 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 66664 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 66664 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16978901903834 (code B ref -1); Sat, 21 Oct 2023 12:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2023 12:09:50 +0000 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> 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> 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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) 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?= <dilyan.palauzov@HIDDEN> Subject: bug#66664: Acknowledgement (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) Message-ID: <handler.66664.B.16978901903834.ack <at> debbugs.gnu.org> References: <2ae9c4a6f49438103a21ff4144e2e11bdf2f7b2e.camel@HIDDEN> X-Gnu-PR-Message: ack 66664 X-Gnu-PR-Package: emacs Reply-To: 66664 <at> debbugs.gnu.org Date: Sat, 21 Oct 2023 12:10:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 66664 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 66664: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66664 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.