unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Дилян Палаузов" <dilyan.palauzov@aegee.org>
To: Eli Zaretskii <eliz@gnu.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: Sun, 05 Nov 2023 12:55:53 +0100	[thread overview]
Message-ID: <8872328a7ec3b230013dcd74fb214cfbbf87d209.camel@aegee.org> (raw)
In-Reply-To: <83fs24q912.fsf@gnu.org>

Hello Eli,

thanks for your answer.  I start  emacs -nw  then M-: shows Eval:   I enter 

(set-char-table-range char-width-table '(#x1f310 . #x1f310) 1) RET

then the mini-buffer shows

1 (#o1, #x1, ?\C-a)

I open then the problematic file, go to the problematic line, then to its end (Ctrl+E).  Emacs should show the cursor after the last letter on the line, but it does show the cursor over the last letter of the line.

> Why are you using a text-mode terminal to edit files with these characters?  Why not use a GUI session instead?

I used connect over SSH to some systems, then start emacs and finally change the files there.  I see I can first start Emacs-GUI and then  “find a file” starting with /ssh:, which open locally ssh-remote files.  So this is a valid work around.

Greetings
  Дилян


-----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 05:39:53 PM

[Please use Reply All, to keep the bug tracker on the CC list.]

> From: Дилян Палаузов
> 	 <dilyan.palauzov@aegee.org>
> Date: Sat, 21 Oct 2023 17:25:11 +0200
> 
> when I load the file the globe appears below “it” from “file edIT options” menu.  So at least visually I see two columns.
> 
> Now that you can reproduce the problem, what shall I do?

Try

  M-: (set-char-table-range char-width-table '(#x1f310 . #x1f310) 1) RET

But in general, I don't think this problem has a solution, except to
use GUI frames.  Text-mode terminals don't give a damn, to put it
mildly, about Emacs expectations and needs, when display of such
advanced character sequences is concerned.  They invent their own
implementations and de-facto standards, completely disregarding the
fact that Emacs was there and did that many years before them.  When
approached, they basically tell us "our way or the highway".  "Their
way" isn't going to happen in Emacs, for several good reasons, so here
we are.

Why are you using a text-mode terminal to edit files with these
characters?  Why not use a GUI session instead?






      reply	other threads:[~2023-11-05 11:55 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
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             ` Дилян Палаузов [this message]

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=8872328a7ec3b230013dcd74fb214cfbbf87d209.camel@aegee.org \
    --to=dilyan.palauzov@aegee.org \
    --cc=66664@debbugs.gnu.org \
    --cc=eliz@gnu.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).