From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#40733: 28.0.50; Emacs locks up on paste (yank) of unicode characters Date: Tue, 21 Apr 2020 15:19:08 +0200 Message-ID: References: <87mu756aen.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="1341"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Basil L. Contovounesios" , 40733@debbugs.gnu.org To: Will Bush Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 21 15:24:54 2020 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 1jQstR-0000Ev-T1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Apr 2020 15:24:53 +0200 Original-Received: from localhost ([::1]:58360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQstQ-00086t-Tf for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Apr 2020 09:24:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48544) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQsol-0001Zv-9f for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2020 09:20:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQsok-00082x-Lh for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2020 09:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQsok-00080j-4G for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2020 09:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQsok-0001Sw-03 for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2020 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Apr 2020 13:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40733 X-GNU-PR-Package: emacs Original-Received: via spool by 40733-submit@debbugs.gnu.org id=B40733.15874751595547 (code B ref 40733); Tue, 21 Apr 2020 13:20:01 +0000 Original-Received: (at 40733) by debbugs.gnu.org; 21 Apr 2020 13:19:19 +0000 Original-Received: from localhost ([127.0.0.1]:49167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQso3-0001RN-96 for submit@debbugs.gnu.org; Tue, 21 Apr 2020 09:19:19 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:53751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQso2-0001RC-6r for 40733@debbugs.gnu.org; Tue, 21 Apr 2020 09:19:18 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id t63so3519663wmt.3 for <40733@debbugs.gnu.org>; Tue, 21 Apr 2020 06:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=b9RaDPA0C4Eir0zo65hV2s7CqUakbKE9HBI4PN8ieBw=; b=qODzXY3rJyA8FvqBkoU9XCJ1+edEvJHARtyr+HqT7Jhf3cdZrA2CXfjjdSZvnuk3VR CKeXuK7Ee5xFo/hPr1oSeFp5Nk8H8Esqu4jipAOO1RJ82hZYvC1yIwBtPVyljzH6uFxU SPXtkXaAH/OrdknvN5h41sTOgVEAQZ2dR0TIL6fRWIufwevSLztazopy28yKh74ZnaS3 S2TxBu+z1mWs8v/jc9O0YIGMdRdR15kyjT7dBNv0kH+IK9UCsrBLdYhNClM1DytryVoc 0vQD6iz/vY31e+Ng6nkB/palsOmcg2uc4AVZYl7UZctcxr6Q1gNFnPOdLe9sLvjvU4nF I5dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=b9RaDPA0C4Eir0zo65hV2s7CqUakbKE9HBI4PN8ieBw=; b=kCuY251ZucxnXtDk68io94pH/ZSWW+2anRVWQLbORnzw+pgvTguC0KAYxFevbkha/t kDMTOY9yX/psNaUa6Ks3/09xp5taMYsMonNZ2TDOKByba0Wlrghs+s7/WyvWgJ+69Z4C /HPcxnXVmJwXjB602g9+S6vjJrtbrQ1ImZM7x3qV4x2K+TrZaIPH+KM1FEhHmJUaaqik ZLVfOzq4VJHg/FppjzT6P3RFwjmGb1zRVYDKZSUfE6kVFZVYsezmzOvkYjJvFrnsPIFp 2LNjdfc7EzKb14w6JmX1h2Fy9aax5R8qRyiOtKOzdRF/UboVQc+T/Zb0xFVPg1MJH+Tz 62Jw== X-Gm-Message-State: AGi0PuY+Lx+v0kklmfjLKgYeIGpVe0P54WRuwntM+HSHOOyK/BXrUqXA dOsOHfB+fL1mvKcx/sf5vLQXnGhW X-Google-Smtp-Source: APiQypKU/UdOeI9QOmwffqr/AFPnOyOeqVDXgEuTP/ukIl+KHxE1EqvncQOhKe+aU73kCoeuSagMiQ== X-Received: by 2002:a7b:c14b:: with SMTP id z11mr4742258wmi.44.1587475151968; Tue, 21 Apr 2020 06:19:11 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:f038:efd9:aa5f:7833]) by smtp.gmail.com with ESMTPSA id j68sm3828252wrj.32.2020.04.21.06.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 06:19:11 -0700 (PDT) In-Reply-To: (Will Bush's message of "Tue, 21 Apr 2020 07:19:56 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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:178748 Archived-At: >>>>> On Tue, 21 Apr 2020 07:19:56 -0500, Will Bush = said: Will> I verified it several times. When I remove google-fonts, Firefox = renders the Will> character fine and Emacs yanks it without issue. When I add googl= e-fonts Will> back Will> Firefox doesn't render the character and Emacs yanking it lags li= ke crazy. That=CA=BCs interesting to know. Which font specifically does emacs end up using for that character? Emacs ends up using 'Noto Sans CJK KR' for me here. BTW, if you want to ignore that font, you can set 'face-ignored-fonts' to match it, and you won't have to uninstall it. Will> The google-fonts Nix expression is here: Will> https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/fonts/goog= le-fonts/default.nix Will> I tried Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.= 24.17) (A Will> version that just happens to be in nixpkgs) again to see what it = would do Will> when Will> yanking that character with and without google-fonts installed. Will> With google-fonts installed it doesn't have latency issues, but i= t inserts Will> an Will> empty whitespace looking character (wider than a normal space). W= ithout Will> google-fonts installed, it renders the character fine with no lat= ency. Will> So I suspect even if there is an issue with google-fonts, there's= still a Will> regression in Emacs since 26.3. I'll try newer versions of Emacs = later to Will> try to Will> narrow the version gap between 26.3 and 28.0.50. I don=CA=BCt think there=CA=BCs much point in that: emacs-26 uses Xft for f= ont handling, emacs-27 uses Cairo+Harfbuzz[1]; they=CA=BCre fundamentally doing very different things, so I don=CA=BCt think this is caused by a single identifiable change. Robert Footnotes: [1] Although you can still build it with Xft if you want, but I wouldn=CA=BCt recommend that, since it will crash once you start processing Emojis and other 'interesting' Unicode characters.