all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: kaura.dev@sange.fi
Cc: 50865@debbugs.gnu.org
Subject: bug#50865: 28.0.50; Emoji with emoji modifier in Linux console garbles emacs display
Date: Sat, 02 Oct 2021 13:58:59 +0300	[thread overview]
Message-ID: <831r53d764.fsf@gnu.org> (raw)
In-Reply-To: <8335pkeivj.fsf@gnu.org> (message from Eli Zaretskii on Fri, 01 Oct 2021 20:48:32 +0300)

> Resent-From: Eli Zaretskii <eliz@gnu.org>
> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
> Resent-CC: bug-gnu-emacs@gnu.org
> Resent-Sender: help-debbugs@gnu.org
> Date: Fri, 01 Oct 2021 20:48:32 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 50865@debbugs.gnu.org
> 
> > From: Aura Kelloniemi <kaura.dev@sange.fi>
> > Cc: 50865@debbugs.gnu.org
> > Date: Fri, 01 Oct 2021 19:02:53 +0300
> > 
> > On 2021-10-01 at 18:41 +0300, Eli Zaretskii <eliz@gnu.org> wrote:
> > Hi,
> > 
> >  > Then by default auto-composition-mode should be disabled on that
> >  > console.
> > 
> > Yes, sure. What about Linux's lack of support for 2-column wide characters?
> 
> Are you sure they don't? what do the developers say about that?

If indeed the Linux console doesn't support double-width characters,
or at least enough of them to cause trouble with Emacs display, my
suggestion would be to use this setting:

  M-x set-terminal-coding-system RET latin-1 RET

This will display characters outside the Latin-1 range as \uNNNN or
\U0nnnnn (depending on the codepoint), with an underline attribute to
make it easier to tell where the character's code ends and the
following text begins (in case it begins with a digit).  This should
allow you to read the rest of the text without messing up the display.
I don't really see a better solution for such problematic terminals.
Emacs relies on the terminal to display characters correctly, using 2
columns (with padding by empty space) when the character is
double-width.  If the terminal doesn't live up to these expectations,
the display will become garbled.





  reply	other threads:[~2021-10-02 10:58 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28 14:11 bug#50865: 28.0.50; Emoji with emoji modifier in Linux console garbles emacs display Aura Kelloniemi
2021-09-28 16:12 ` Eli Zaretskii
2021-09-28 16:54   ` Aura Kelloniemi
2021-09-28 17:21     ` Eli Zaretskii
2021-09-28 17:41       ` Aura Kelloniemi
2021-09-28 18:35         ` Eli Zaretskii
2021-09-28 19:20           ` Aura Kelloniemi
2021-09-28 20:32           ` Aura Kelloniemi
2021-09-29 13:00             ` Eli Zaretskii
2021-10-01 13:23               ` Aura Kelloniemi
2021-10-01 13:35                 ` Eli Zaretskii
2021-10-01 14:33                   ` Aura Kelloniemi
2021-10-01 15:41                     ` Eli Zaretskii
2021-10-01 16:02                       ` Aura Kelloniemi
2021-10-01 17:48                         ` Eli Zaretskii
2021-10-02 10:58                           ` Eli Zaretskii [this message]
2021-10-02 11:21                             ` Andreas Schwab
2021-10-02 11:56                               ` Eli Zaretskii
2021-10-04 12:25                             ` Aura Kelloniemi
2021-10-04 13:15                               ` Eli Zaretskii
2021-10-04 16:35                                 ` Eli Zaretskii
2021-10-04 16:51                                   ` Aura Kelloniemi
2021-10-04 17:06                                     ` Eli Zaretskii
2022-09-02 12:08                                       ` Lars Ingebrigtsen
2022-09-02 12:31                                         ` Gregory Heytings
2022-09-02 12:59                                         ` Eli Zaretskii
2022-09-02 13:19                                           ` Gregory Heytings
2021-10-02  8:11                       ` Lars Ingebrigtsen
2021-10-02  8:54                         ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=831r53d764.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=50865@debbugs.gnu.org \
    --cc=kaura.dev@sange.fi \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.