From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40733: 28.0.50; Emacs locks up on paste (yank) of unicode characters Date: Sat, 25 Apr 2020 16:50:59 +0300 Message-ID: <83v9ln7jy4.fsf@gnu.org> References: <87mu756aen.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124822"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, rpluim@gmail.com, 40733@debbugs.gnu.org, cloos@jhcloos.com To: Will Bush Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 25 15:52:10 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 1jSLE2-000WMv-86 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Apr 2020 15:52:10 +0200 Original-Received: from localhost ([::1]:37470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSLE1-0002aD-0G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Apr 2020 09:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34034) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSLDv-0002Zu-2R for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 09:52:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSLDu-0004qf-Kh for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 09:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSLDu-0004qa-8l for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 09:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSLDu-0000nA-6v for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 09:52: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, 25 Apr 2020 13:52:02 +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.15878226812972 (code B ref 40733); Sat, 25 Apr 2020 13:52:02 +0000 Original-Received: (at 40733) by debbugs.gnu.org; 25 Apr 2020 13:51:21 +0000 Original-Received: from localhost ([127.0.0.1]:59046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSLDF-0000ls-57 for submit@debbugs.gnu.org; Sat, 25 Apr 2020 09:51:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSLDB-0000lW-5h for 40733@debbugs.gnu.org; Sat, 25 Apr 2020 09:51:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54937) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSLD5-0003XU-1V; Sat, 25 Apr 2020 09:51:11 -0400 Original-Received: from [176.228.60.248] (port=2724 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jSLD4-0004E5-CT; Sat, 25 Apr 2020 09:51:10 -0400 In-Reply-To: (message from Will Bush on Sat, 25 Apr 2020 05:34:23 -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:178991 Archived-At: > From: Will Bush > Date: Sat, 25 Apr 2020 05:34:23 -0500 > Cc: "Basil L. Contovounesios" , 40733@debbugs.gnu.org, > James Cloos > > Eli> I'm not sure I understand: you are saying that slow, but correct > Eli> display is _worse_ than displaying a white space instead of the > Eli> correct glyph, i.e. producing incorrect display? To me, it sounds > Eli> like Emacs 27+ actually _improves_ things in this case. > > Let me quantify the performance because I've been ambiguous about it so far: > > λ ~/ time emacs -Q --eval '(message "hi")' -kill > emacs -Q --eval '(message "hi")' -kill 0.19s user 0.02s system 55% cpu 0.371 total > λ ~/ time emacs -Q --eval '(message "︵")' -kill > emacs -Q --eval '(message "︵")' -kill 81.64s user 0.03s system 99% cpu 1:21.91 total > > It takes ~81 seconds to do something while locking up the UI. That's personally > beyond my threshold for killing the process. It would be good to know what happens in Emacs during those 88 seconds. Please try using "M-x profiler" to find out.