On 2016-07-21 10:21, Eli Zaretskii wrote: >> Cc: dmantipov@yandex.ru, 21028@debbugs.gnu.org >> From: Clément Pit--Claudel >> Date: Wed, 20 Jul 2016 17:26:02 -0400 >> >> I've made more progress towards making this reproducible, too. My current repro requires XITS Math (https://github.com/khaledhosny/xits-math/blob/master/xits-mathbold.otf), and Segoe UI Emoji. Do you have a machine with that font? If so, could you try the following? >> >> emacs-24.5 -Q -mm -l 21028.el 21028 -f prettify-symbols-mode >> >> I've attached 21028.el and 21028. When I run this command, each full redisplay takes about 5 seconds; same for pointer motion. > > Thanks. I think the evidence and the profiling data you presented > quite clearly indicate where the problem is. So I think the efforts > should now be directed towards reproducing bug#17125 and then solving > it in some other way that doesn't suffer from performance problems. I have tried the recipe posted in 17125, but I cannot reproduce it (despite having reverted af1a69f4d17a482c359d98c00ef86fac835b5fac). Dmitry, is this the right recipe? $ emacs -no-site-file -no-init-file --daemon=test Warning: due to a long standing Gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=85715 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. Starting Emacs daemon. $ emacsclient -nc -s test (exit with C-x 5 0) $ emacsclient -nc -s test (exit with C-x 5 0) $ emacsclient -nc -s test (exit with C-x 5 0) Cheers, Clément.