From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <831r53d764.fsf@gnu.org> References: <87y27cdglm.fsf@sange.fi> <83czooeulj.fsf@gnu.org> <87v92gddcg.fsf@sange.fi> <83bl48eoqk.fsf@gnu.org> <87sfxkd976.fsf@sange.fi> <8335pkeivj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26165"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50865@debbugs.gnu.org To: kaura.dev@sange.fi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 13:00:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWcka-0006ZF-Ae for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 13:00:16 +0200 Original-Received: from localhost ([::1]:33910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWckY-0004MT-Fp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 07:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWckN-0004L3-8q for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 07:00:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWckN-0004RM-1T for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 07:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWckM-0002QM-V9 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 07:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50865 X-GNU-PR-Package: emacs Original-Received: via spool by 50865-submit@debbugs.gnu.org id=B50865.16331723659237 (code B ref 50865); Sat, 02 Oct 2021 11:00:02 +0000 Original-Received: (at 50865) by debbugs.gnu.org; 2 Oct 2021 10:59:25 +0000 Original-Received: from localhost ([127.0.0.1]:58019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWcjk-0002Ov-N2 for submit@debbugs.gnu.org; Sat, 02 Oct 2021 06:59:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWcji-0002Og-Sy for 50865@debbugs.gnu.org; Sat, 02 Oct 2021 06:59:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50234) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWcjc-0003nG-Q3; Sat, 02 Oct 2021 06:59:16 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4596 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWcjc-0000j1-9P; Sat, 02 Oct 2021 06:59:16 -0400 In-Reply-To: <8335pkeivj.fsf@gnu.org> (message from Eli Zaretskii on Fri, 01 Oct 2021 20:48:32 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216123 Archived-At: > Resent-From: Eli Zaretskii > Original-Sender: "Debbugs-submit" > 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 > Cc: 50865@debbugs.gnu.org > > > From: Aura Kelloniemi > > Cc: 50865@debbugs.gnu.org > > Date: Fri, 01 Oct 2021 19:02:53 +0300 > > > > On 2021-10-01 at 18:41 +0300, Eli Zaretskii 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.