bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66664: On modified lines containing 🌐︎ and Unicode VS15 in text mode


From: Дилян Палаузов
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:12:03 +0200
User-agent: Evolution 3.51.1

Hello Eli,

thanks for your answer. I am using Gnome Terminal 3.48.1 on Fedora 38, but with 
MATE Terminal 1.26.1 the same happens.  I tried to follow your advice.  I start 
emacs -nw u.txt , then M-x auto-composition-mode.  

Emacs changes the displayed text from

t.add('🌐︎ ' + 'abcd')

to 

t.add('🌐   ' + 'abcd')

and prints “Auto-Composition mode disabled in current buffer”.  After the 
change the globe is coloured in the terminal and there is an underscore after 
the globe.  I again press several times the right arrow to go over the letter c 
and then press x. Emacs again deletes (actually hides) the letter c and shows 
on its place the letter x.

So in this example turning off auto-composition-mode does not help.

I expect that the letter c stays visible.

What terminals and OSes do you recommend, which work good with enabled 
auto-composition-mode?

Kind regards
  Дилян

-----Original Message-----
From: Eli Zaretskii <eliz@gnu.org>
To: Дилян Палаузов <dilyan.palauzov@aegee.org>
Cc: 66664@debbugs.gnu.org
Subject: Re: bug#66664: On modified lines containing 🌐︎ and Unicode VS15 in 
text mode emacs does not show the real content of the lines
Date: 10/21/2023 02:44:11 PM

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]