From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#21028: Performance regression in revision af1a69f4d17a482c359d98c00ef86fac835b5fac (Apr 2014). Date: Thu, 22 Dec 2016 11:49:09 -0500 Message-ID: <27853273-e6d8-077e-b9e0-b2bec2fe1fae@gmail.com> References: <559F9FAF.8090708@live.com> <56D7DCC6.9060003@live.com> <56D7E2F6.2020008@live.com> <56D7E8D6.6080508@live.com> <831t7r1f41.fsf@gnu.org> <5ce0aa39-8a49-5cfd-2eac-343fae4505a1@live.com> <83fur3ysvk.fsf@gnu.org> <83dde388-a342-ed1e-1242-7953d9a0f525@gmail.com> <83lgx9ua9x.fsf@gnu.org> <389383ed-ce95-a558-e441-ba7cfa58d58e@gmail.com> <83bmy5u6qo.fsf@gnu.org> <2fd3e21c-37b9-d559-6306-4e8adebad3d5@gmail.com> <831sz0sfug.fsf@gnu.org> <83oa095eaw.fsf@gnu.org> <83lgvd581m.fsf@gnu.org> <83a8br6hq0.fsf@gnu.org> <672a0c69-4352-735f-cba4-025e642626ea@gmail.com> <83vauf50wb.fsf@gnu.org> <7408d59c-92ba-b879-5ac1-3cd5eee9b4db@gmail.com> <83tw9z4zzp.fsf@gnu.org> <2cad0da9-c931-b547-07bb-efec2f2bcf1f@gmail.com> <83h95w0w3p.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jIPEII1Cgp7nSetSF13B66AklOIotEO4A" X-Trace: blaine.gmane.org 1482425422 19382 195.159.176.226 (22 Dec 2016 16:50:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 16:50:22 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 Cc: 21028@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 22 17:50:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK6ZF-0003X6-IR for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Dec 2016 17:50:09 +0100 Original-Received: from localhost ([::1]:35124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK6ZK-0004Wk-7d for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Dec 2016 11:50:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK6ZB-0004Uq-Gh for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 11:50:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK6Z8-00070Q-Be for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 11:50:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cK6Z8-00070M-8Y for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 11:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cK6Z7-0000xO-T6 for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 11:50:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Dec 2016 16:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21028 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21028-submit@debbugs.gnu.org id=B21028.14824253753635 (code B ref 21028); Thu, 22 Dec 2016 16:50:01 +0000 Original-Received: (at 21028) by debbugs.gnu.org; 22 Dec 2016 16:49:35 +0000 Original-Received: from localhost ([127.0.0.1]:51755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK6Yg-0000wZ-Ke for submit@debbugs.gnu.org; Thu, 22 Dec 2016 11:49:34 -0500 Original-Received: from mout.kundenserver.de ([212.227.17.13]:57839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK6Ye-0000wI-Ul for 21028@debbugs.gnu.org; Thu, 22 Dec 2016 11:49:33 -0500 Original-Received: from [128.30.10.135] ([128.30.10.135]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.184]) with ESMTPSA (Nemesis) id 0M9Gfu-1cQCAi07Go-00Chdb; Thu, 22 Dec 2016 17:49:26 +0100 In-Reply-To: <83h95w0w3p.fsf@gnu.org> X-Provags-ID: V03:K0:5s0xL7AUN3RYw3HwQkDqe5cxiEorjAQewVlbNBpOL8dWpPGFJsQ PransDQIQxo7ZsnCB/T8C2BNIybWBwQM959nfex/HUTj21JusEvImxZ7Lt2fEnQ3Gh6e0d7 JyvQ4jdqap8upuQaFiefTPV/U1q8r2F7rWdPJfuAKoDUeU9ZhNuGttqbZBGs1+I/jkoMFs7 licYgIg3AylJWteGMVrpQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:hIuWdyx9pK4=:FDPlAzOVETg0zviF0lU6+S SermpcQXqBsSJt9H3uGRo5ROqlaYRyyYzqDLc0Ukm8L6T3ZKwVpqgyr7rXstLSDkMO/NAjYuf fKBNhovN6yzRxvmvMYe0OJ5j05koiAOUO5WPm8LDpHXsCWfhZD4tb6RQ3pjNbIQ0ZI5FTzRU8 pKdLGO3mmzLVMJYtXujxZkssDrozSoE9PC2WLfSOODIo/fZwefSIvtTXIyUEGN6IqGBjS2lef +d9W4P467gSYPmAic0ngOr+lMdL2onFXrpVTA5wFwtcTgJmoRaS95Hdznk0AYULMXcs/uFojL IFi4d43Jv1KyXvZGOpcqwxt+b2n5XmFWPmSgVAtAEBmWQHrngciB5Yc+AbPix6jNeGbINiCwP gCWsDY1m30cJN9uaMlLTTca/8J5bxOI2Q7KgYz4mS6px2Y6Y6/B+g9YieBCUhEe5Qfe4THMIp pJ1bcjO1t7f3AKO9s49NGSM+zhZO+Q/QPGVBrzTBx88/rti9Y6KMZw3hUV5o0/rHQ4oyLwHaR cNFp7mD9OKiPX2gQuDN2ii3CFHcjkt2K5vmjUYSRYc5dWwbCQtGr0bT7wcd1WE0I3HomzDqUA 25GzFsj6Tq1cIucYR2MQ/ukw8DWfxT8iGobo0mRgDfd40bjMW/mYYagYX0uawauNcQCGNfssf AqTpkPPy7tJTEm+khGkVHYwwWVnbQBVKqnVApWIM6C/hb7skRUvylqfoF6xfGrOikWBE= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127328 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jIPEII1Cgp7nSetSF13B66AklOIotEO4A Content-Type: multipart/mixed; boundary="u7mr8uUtbKWQbvQBpRHGGnovN8bxe3sNS"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: Eli Zaretskii Cc: 21028@debbugs.gnu.org Message-ID: <27853273-e6d8-077e-b9e0-b2bec2fe1fae@gmail.com> Subject: Re: bug#21028: Performance regression in revision af1a69f4d17a482c359d98c00ef86fac835b5fac (Apr 2014). References: <559F9FAF.8090708@live.com> <559FF8F6.2060209@live.com> <55A652E4.5000606@yandex.ru> <56D7D5D3.4030103@live.com> <56D7DCC6.9060003@live.com> <56D7E2F6.2020008@live.com> <56D7E8D6.6080508@live.com> <831t7r1f41.fsf@gnu.org> <5ce0aa39-8a49-5cfd-2eac-343fae4505a1@live.com> <83fur3ysvk.fsf@gnu.org> <83dde388-a342-ed1e-1242-7953d9a0f525@gmail.com> <83lgx9ua9x.fsf@gnu.org> <389383ed-ce95-a558-e441-ba7cfa58d58e@gmail.com> <83bmy5u6qo.fsf@gnu.org> <2fd3e21c-37b9-d559-6306-4e8adebad3d5@gmail.com> <831sz0sfug.fsf@gnu.org> <83oa095eaw.fsf@gnu.org> <83lgvd581m.fsf@gnu.org> <83a8br6hq0.fsf@gnu.org> <672a0c69-4352-735f-cba4-025e642626ea@gmail.com> <83vauf50wb.fsf@gnu.org> <7408d59c-92ba-b879-5ac1-3cd5eee9b4db@gmail.com> <83tw9z4zzp.fsf@gnu.org> <2cad0da9-c931-b547-07bb-efec2f2bcf1f@gmail.com> <83h95w0w3p.fsf@gnu.org> In-Reply-To: <83h95w0w3p.fsf@gnu.org> --u7mr8uUtbKWQbvQBpRHGGnovN8bxe3sNS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-12-22 11:25, Eli Zaretskii wrote: > I indeed see slow redisplay with your test files (but only after > changing 'append' to 'prepend', because otherwise Emacs selects a > different font for the arrows). I see, thanks; prepend is clearly not what I want, since I trying to set = these fonts as a fallback. > But when I looked at the display > closely, I found that the arrows are not displayed using Segoe UI > Emoji font, they are displayed by some other font. In fact, the only > characters in that test which use the Segoe UI Emoji font are blanks! > Did you try using "C-u C-x =3D" to see which characters are displayed > using the Emoji font in your case? I did; append works fine here. Everything is displayed with XITS Math, as= expected. prepend uses Segoe or XITS for all text, which I don't want. = It's good for testing, though, since I guess that otherwise your Emacs p= icks other fonts that are available on your machine. > I think that's because Segoe UI Emoji doesn't have glyphs for the > arrows, at least on my system. So I modified your 21028.fixed.el > recipe as follows: Thanks, but I'm not sure I see why you're suggesting this :/ If you see t= he slowdown, then it seems that managed to reproduce the problem, right? = Is there anything preventing us from applying the fix that you described= last month? The example only shows arrows because I tried to make it minimal; my bug = report is about the fact that, when I set up Emacs to display characters = the way I want them, it gets slow. I readily admit that changing the fon= t set-up may make the problem go away, but it's not a satisfactory soluti= on (I still get support requests from users of my packages about degraded= performance due to prettify-symbols-mode, and it's hard to tell them to = use different fonts). Recall that the original bug report didn't even use symbols: I first foun= d out about this when trying to edit text written in Chinese. I ran into= the problem regularly in various settings since then, until I reverted t= he faulty commit (and later reapplied the safe part of it that you isolat= ed). Since then I've never run into this issue. I've also confirmed on = other users' laptops that reverting the faulty commit fixes the issue. The fixes that you suggested to my minimal example do work around the iss= ue in that case (another work around for me is to just remove the Segoe U= I line), but these fixes are not applicable to my full font configuration= =2E I can post my full configuration if you want to suggest improvements= that would work around the issue in my specific case (alternatively, it'= s available here: https://github.com/cpitclaudel/.emacs.d/blob/master/ini= t/fonts.el), but this seems like a waste of your time: there's no doubt t= hat others will run into the same issues (indeed, they already do), and f= ixing their configurations one by one isn't practical (assuming we even h= ear about them). Cheers, Cl=C3=A9ment. --u7mr8uUtbKWQbvQBpRHGGnovN8bxe3sNS-- --jIPEII1Cgp7nSetSF13B66AklOIotEO4A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYXAQLAAoJEPqg+cTm90wjtJ0P/RPDkP3cZ6fj1EtgkCK8k3vO K2CRyYKeO46s8Jbe9ZV2Gf380E4Sds+4g9e9AWN/H59qZgYLD4tButh/oYoX6+d8 SZ2JdIRkxFqa0mj7JK9li0iR8RL0JJP05NBpHfqUNybX9FnDWEXaNAm3GPsnM9yw 0zVaKIAzx6/Sj60DVT/QWrTLqUdgQGCwfot65VV0f4HdLsOhSu6pbGHTKsgGXxaj UcZoX+5Ug2jQENLE+PefMifXboO3Q38XeGkVooaYfTfQvtp4DbUZTcVgTMuzaC9e xBpow0EaLuskOvh69n0k5FkpbRasRicWdPj5roFWFvOtBoEzaHw8sFTPaNqnlIdz DUEeapbd8+sgjTX/rmwqS/MV8TJKHtJLQEARuBw2Nai3GA54at5x+k/OTLcLV/c2 7bzbsejavveiWvE7adRYmlpC+P5Ub3MOYoS1L+iodNw5bsYHFe8RfJun8CuKOYfK sAaKLbjIkK5B759fdEG8Hc0vcC7MwVnbdEJZX3WqpfgopeMOr1Pz63PkJkleIFmV njk9jOW0pTZxgetXNZ5q33f0WmM6/HlclvS3G95aSYfHGw+QwifiWk6Gu2OTf9nu gOFJvCsjz6KBfkK2vnlQOhMOtjCya8EGEHprDSicTfa+oEYPxPW5397GTVAV5J4C DdTYGYo5AsUttUTTTydE =HpA7 -----END PGP SIGNATURE----- --jIPEII1Cgp7nSetSF13B66AklOIotEO4A--