From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Klaus-Dieter Bauer Newsgroups: gmane.emacs.bugs Subject: bug#24918: 25.1; Fonts can make Emacs grind to a halt Date: Thu, 10 Nov 2016 23:05:17 +0100 Message-ID: References: <8360nvfedz.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11412d3c724cf10540f9934b X-Trace: blaine.gmane.org 1478815594 8877 195.159.176.226 (10 Nov 2016 22:06:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2016 22:06:34 +0000 (UTC) Cc: 24918@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 10 23:06:30 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 1c4xU5-00087m-3G for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Nov 2016 23:06:13 +0100 Original-Received: from localhost ([::1]:49560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4xU8-0002wz-86 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Nov 2016 17:06:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4xTw-0002u5-TT for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 17:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4xTu-0005Oq-8T for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 17:06:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4xTu-0005Oi-00 for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 17:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c4xTt-0001me-Ju for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 17:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Klaus-Dieter Bauer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Nov 2016 22:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24918-submit@debbugs.gnu.org id=B24918.14788155576846 (code B ref 24918); Thu, 10 Nov 2016 22:06:01 +0000 Original-Received: (at 24918) by debbugs.gnu.org; 10 Nov 2016 22:05:57 +0000 Original-Received: from localhost ([127.0.0.1]:52766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4xTo-0001mM-LH for submit@debbugs.gnu.org; Thu, 10 Nov 2016 17:05:56 -0500 Original-Received: from mail-lf0-f42.google.com ([209.85.215.42]:33150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4xTm-0001m8-AX for 24918@debbugs.gnu.org; Thu, 10 Nov 2016 17:05:54 -0500 Original-Received: by mail-lf0-f42.google.com with SMTP id c13so200696261lfg.0 for <24918@debbugs.gnu.org>; Thu, 10 Nov 2016 14:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lUyTeT9uQzC/kh1vgfrJI6u+9bEYemI2XydKvUTMv70=; b=DMzJlc9LkZAs0zbrLWmMIxJD8O45ZKEY2Jc97fDWHmWJyUobrT0JO+FV63k810FIr9 JRdMhMZGsBjx5Mm8uVRNSsup10be0H2dsCiC7Kzw2pcORhjdMR+EkNOA0Fue69l+Jxwg VuDU9UpaKf1rOS6TG1iYHH1+0jU0VMtRmbB8/XdZqFzT5seGr1dSWeWWRRLPxePJKmTz SfrUTYequCAyGv7w5UP1kXxmHwd4F2VjupFduPDFa3rG5MueS05hNCTdi5n5CMYIuDEi Ia24XeiO9KSxCz098bWgwFW3icqNQlg42nfRAS/wYUfs9dA8g3tc4QB7sTq1Vy1Fv5a+ ketA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lUyTeT9uQzC/kh1vgfrJI6u+9bEYemI2XydKvUTMv70=; b=ltmlahPc9j0J3Px3VGDdqQ9r1tonyqAfQBeg6c06tWzzky6gFs6ldT79lHKzK0Xyye rzybIy2PgKfeKRwUY4tiKwB3KD9ecUp7/IVsdRTaG0z0MZ5RsX+vg+VJV9eUemUqGXN+ suuCklGQ+35bYBuQ3chB9FUXQkeaFIvpaboQOzzLC2g5YehqYZI1fvJfRGp30v8gOG9t LQim1zV5txk4tRxhTbxREKiXzrogcMKpOutfD/ZyNi3OOj3UHnd1vKLVFSzsfbw1ciy2 VG+ckZlsZRhTiW1qeGLZMLJynQKF5HbYocIhUTAOYZl4vANwQnPGS91BaEH2m4YL7TzN fnlw== X-Gm-Message-State: ABUngvcRwQ8g4BwEH5QTY93LoURTJXoLTO/r8ctgM8wPOFCSUFxfvZFOAvHYSQn0sp+Q2V+YElVUPqf3mrTQVA== X-Received: by 10.25.208.14 with SMTP id h14mr4612419lfg.73.1478815548327; Thu, 10 Nov 2016 14:05:48 -0800 (PST) Original-Received: by 10.25.161.83 with HTTP; Thu, 10 Nov 2016 14:05:17 -0800 (PST) In-Reply-To: <8360nvfedz.fsf@gnu.org> 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:125593 Archived-At: --001a11412d3c724cf10540f9934b Content-Type: text/plain; charset=UTF-8 2016-11-10 18:12 GMT+01:00 Eli Zaretskii : > > From: Klaus-Dieter Bauer > > Date: Thu, 10 Nov 2016 16:53:55 +0100 > > > > When using Google's "Noto Mono" font, some buffers grind to a halt, with > > user input being registered with roughly a one-second delay. Trying to > > do more, will make Emacs entirely unresponsive to user-input leaving > > only killing the process through the task manager (Windows 10, > > tasgmgr.exe or 'taskkill /F /IM emacs.exe'). > > > > To avoid interaction with other customizations I tried it with > > https://ftp.gnu.org/gnu/emacs/windows/emacs-25.1-x86_64-w64-mingw32.zip > > starting emacs as 'runemacs -Q' and observed the same behavior. > > > > The issue is dodgy though. The only case where I could consistently > > reproduce it, was `package-list-packages' (using ELPA only). When saving > > the buffer contents as a text file and opening it, the issue did *not* > > occur. > > > > Outside of Emacs I haven't yet observed issues with the Noto fonts. > > > > The user-side fix (using another font) is easy, but the font being the > blame > > was rather unexpected. > > If you can build your own Emacs, please build the emacs-25 branch of > the Emacs Git repository, and see if setting the new variable > inhibit-compacting-font-caches to non-nil solves this. > > Thanks. I (accidentially) built 26.0.50.1 (x86_64-w64-mingw32) instead of the emacs-25 branch. Anyway, there it worked. Without `inhibit-compating-font-caches' it would show the same behaviour as before in `package-list-packages', setting the variable to t the problem vanished. --001a11412d3c724cf10540f9934b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

2016-11-10 18:12 GMT+01:00 Eli Zaretsk= ii=C2=A0<eliz@gnu.org>:
> From: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>> Date: Thu, 10 Nov 2016 16:53:55 +0100
>
> When using Goo= gle's "Noto Mono" font, some buffers grind to a halt, with> user input being registered with roughly a one-second delay. Trying t= o
> do more, will make Emacs entirely unresponsive to user-input leav= ing
> only killing the process through the task manager (Windows 10,<= br>> tasgmgr.exe or 'taskkill /F /IM emacs.exe').
>
>= ; To avoid interaction with other customizations I tried it with
>=C2= =A0https://ftp.gnu.org/gnu/em= acs/windows/emacs-25.1-x86_64-w64-mingw32.zip
> startin= g emacs as 'runemacs -Q' and observed the same behavior.
>> The issue is dodgy though. The only case where I could consistently> reproduce it, was `package-list-packages' (using ELPA only). Whe= n saving
> the buffer contents as a text file and opening it, the iss= ue did *not*
> occur.
>
> Outside of Emacs I haven't = yet observed issues with the Noto fonts.
>
> The user-side fix = (using another font) is easy, but the font being the blame
> was rath= er unexpected.

If you can build your own Emacs, please build the ema= cs-25 branch of
the Emacs Git repository, and see if setting the new var= iable
inhibit-compacting-font-caches to non-nil solves this.

Than= ks.

I (accidentially) built 26.0.50.1 (x86= _64-w64-mingw32) instead of the emacs-25 branch.

Anyway,= there it worked. Without `inhibit-compating-font-caches' it would= show the same behaviour as before in `package-list-packages', setting = the variable to t the problem vanished.
--001a11412d3c724cf10540f9934b--