From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aura Kelloniemi Newsgroups: gmane.emacs.bugs Subject: bug#50865: 28.0.50; Emoji with emoji modifier in Linux console garbles emacs display Date: Tue, 28 Sep 2021 20:41:36 +0300 Message-ID: <87fsto8unj.fsf@sange.fi> References: <87o88chjsl.fsf@sange.fi> <83a6jwk7cb.fsf@gnu.org> <87ilyk8wu2.fsf@sange.fi> <835yukk44q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38588"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50865@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 28 19:48:26 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 1mVHDO-0009s9-6W for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 19:48:26 +0200 Original-Received: from localhost ([::1]:53756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVHDN-00039p-5X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 13:48:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVH7C-00064e-NF for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 13:42:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVH7C-0002SK-CC for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 13:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVH7C-0001Mp-A0 for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 13:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aura Kelloniemi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Sep 2021 17:42: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.16328509075230 (code B ref 50865); Tue, 28 Sep 2021 17:42:02 +0000 Original-Received: (at 50865) by debbugs.gnu.org; 28 Sep 2021 17:41:47 +0000 Original-Received: from localhost ([127.0.0.1]:46945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVH6w-0001MI-Qb for submit@debbugs.gnu.org; Tue, 28 Sep 2021 13:41:47 -0400 Original-Received: from smtp.sange.fi ([185.87.108.151]:58027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVH6t-0001M8-6z for 50865@debbugs.gnu.org; Tue, 28 Sep 2021 13:41:44 -0400 Original-Received: from 88-114-110-12.elisa-laajakaista.fi ([88.114.110.12] helo=solaria) by oiva.sange.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1mVH6o-0000H1-AJ; Tue, 28 Sep 2021 20:41:40 +0300 In-Reply-To: <835yukk44q.fsf@gnu.org> 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:215787 Archived-At: Hi, On 2021-09-28 at 20:21 +0300, Eli Zaretskii wrote: > What is your terminal's encoding? what does the following show in the > echo-area? utf-8-unix And the Linux console is properly in Unicode mode. (Which means Unicode as = it was understood in 2002 or so.) > Does typing the below solve the problem? > M-: (set-char-table-range char-width-table '(#x1f600 . #x1f64f) 1) RET No, not alone, but when I tried (set-char-table-range char-width-table '(#x1f300 . #x1f64f) 1) the problem is gone. Using the same trick to force some other characters (e= .g. TIMER CLOCK) to width 1, I was able to get rid of the other problem that I mentioned, but could not track. Now the question is: should this be added to the linux terminal setup in Emacs, and for what character range. If I am right, all Unicode code points above 0x20 print just one character to the terminal, except if they don't print anything. Probably there is no other documentation than the kernel source =E2=80=93 or at least the documentation is outdated. Linux console i= s kind of deprecated, but it is still sort of maintained as there is no alternative being developed. Is there a way to get a list of code points that Emacs thinks have a width = of something else than 1? Thank you for helping me! --=20 Aura