unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Дилян Палаузов" <dilyan.palauzov@aegee.org>
Cc: 66664@debbugs.gnu.org
Subject: bug#66664: On modified lines containing 🌐︎ 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	[thread overview]
Message-ID: <83pm18qh5w.fsf@gnu.org> (raw)
In-Reply-To: <2ae9c4a6f49438103a21ff4144e2e11bdf2f7b2e.camel@aegee.org> (dilyan.palauzov@aegee.org)

> From: Дилян Палаузов
>  <dilyan.palauzov@aegee.org>
> 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.





  reply	other threads:[~2023-10-21 12:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-21 12:07 bug#66664: On modified lines containing 🌐︎ and Unicode VS15 in text mode emacs does not show the real content of the lines Дилян Палаузов
2023-10-21 12:44 ` Eli Zaretskii [this message]
2023-10-21 13:12   ` Дилян Палаузов
2023-10-21 13:36     ` Eli Zaretskii
2023-10-21 13:53       ` Eli Zaretskii
     [not found]         ` <b1fdf4e92c74f8962f37f68ff223c5d45355f69d.camel@aegee.org>
2023-10-21 15:39           ` Eli Zaretskii
2023-11-05 11:55             ` Дилян Палаузов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pm18qh5w.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66664@debbugs.gnu.org \
    --cc=dilyan.palauzov@aegee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).