GNU bug report logs - #40733
28.0.50; Emacs locks up on paste (yank) of unicode characters

Previous Next

Package: emacs;

Reported by: Will Bush <will.g.bush <at> gmail.com>

Date: Mon, 20 Apr 2020 14:56:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Will Bush <will.g.bush <at> gmail.com>
Cc: contovob <at> tcd.ie, rpluim <at> gmail.com, 40733 <at> debbugs.gnu.org, cloos <at> jhcloos.com
Subject: bug#40733: 28.0.50; Emacs locks up on paste (yank) of unicode characters
Date: Sat, 25 Apr 2020 16:50:59 +0300
> From: Will Bush <will.g.bush <at> gmail.com>
> Date: Sat, 25 Apr 2020 05:34:23 -0500
> Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>, 40733 <at> debbugs.gnu.org,
>  James Cloos <cloos <at> jhcloos.com>
> 
> 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.




This bug report was last modified 3 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.