From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#30539: 26.0; `char-displayable-p' is much slower in Emacs 25 and 26 Date: Thu, 22 Feb 2018 22:32:10 -0500 Message-ID: <87tvu84c05.fsf@gmail.com> References: <8c79c39f-7abb-4591-a676-17fb46af5a8f@default> <923b8123-937d-4ffb-9988-5359fdcbb6bc@default> <87woz44grg.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519356843 3839 195.159.176.226 (23 Feb 2018 03:34:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Feb 2018 03:34:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 30539@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 23 04:33:59 2018 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 1ep47S-0000R9-E6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Feb 2018 04:33:58 +0100 Original-Received: from localhost ([::1]:42278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ep49S-0005wf-WA for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Feb 2018 22:36:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ep48f-0005pd-7w for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 22:35:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ep46Z-0003nh-5J for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 22:35:13 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ep46Y-0003ls-PL for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 22:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ep46Y-0001Jj-85 for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 22:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Feb 2018 03:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30539 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30539-submit@debbugs.gnu.org id=B30539.15193567405012 (code B ref 30539); Fri, 23 Feb 2018 03:33:02 +0000 Original-Received: (at 30539) by debbugs.gnu.org; 23 Feb 2018 03:32:20 +0000 Original-Received: from localhost ([127.0.0.1]:56988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ep45r-0001Im-OC for submit@debbugs.gnu.org; Thu, 22 Feb 2018 22:32:19 -0500 Original-Received: from mail-io0-f179.google.com ([209.85.223.179]:41545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ep45q-0001IZ-Ko for 30539@debbugs.gnu.org; Thu, 22 Feb 2018 22:32:18 -0500 Original-Received: by mail-io0-f179.google.com with SMTP id q24so1043615ioh.8 for <30539@debbugs.gnu.org>; Thu, 22 Feb 2018 19:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HoSW50RaLkL/EFiurHsBvm/Tv55bjoxCvHy8F+z6wgU=; b=QC83o9qwVNWPg6d+g5gEYfBoQrfM9Z6IOMLmCEvRQgM6iwHS55TilsI+d+z0Ojr3NN UG1enf1tcAO/IGpV42Ktu/+GfGQFa8zuBXhOpILA9Pp9Tca/UaIG4RrXXboXDvdFLCW5 3V4yro/Tvd80OKPryQ9yAVTvYte4sAPz+BWY6UU2oTE2Yf+xXuknOgEb4EPoubg5C6bW NYxdQ/toSxK539V6O53z8vYEqcEyBDEuRF77Arfk5GRMOkJ/Dkcf8nZ2hTg3NzI05Hg3 CHs20Z1zVoGKWN6W3vyKui/jWkZr3t7wC7PRKCmpYAGkucxnjcPQRIZs37qtJFhazIRu jLiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HoSW50RaLkL/EFiurHsBvm/Tv55bjoxCvHy8F+z6wgU=; b=Ww97yhpBeNJoKbvnIyInXVkHD3s//ydkoCPlMApJqWCjowAOtZi6ROOQeTr9YB+bmo ZlATSsM5VMztlO69t94igxxons1CxLs9+DlKcsWDF6JChqnubu93AMW1t2WsVNt8khMw phDIlpfNZwOLCdhli43NhVNBfUuLkkWg8g0TtPowyc3rN8+OAj3LPnfhLJ1mX6q3mz9L ffH/h6NbaDsIlDaHWhbkVKWhcEyQhhoPThBOOyeXPunESmcFINMMkWmydZor8bwo7hj9 weoGvxYyfGfSsHv4c7qskIpFAJguebm3/NmScFL+dc4Fz1yFh80JKrMF23ysCzBFRy3u 7KTg== X-Gm-Message-State: APf1xPDXmiVy1gTMfUidBt5cGPiDwv73sAJ5KqxwPSaHXtPbo2GXwelw 005staNNv2FuKEJKBrl7flAj7Q== X-Google-Smtp-Source: AG47ELvWPrHNA3MDpmm/bDR9zS+30xXnh22Uv51dLGgp7RV2a+YCug78zxmfpx/IZaRBv9GIPoTHGA== X-Received: by 10.107.164.134 with SMTP id d6mr259212ioj.176.1519356732903; Thu, 22 Feb 2018 19:32:12 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id i197sm927699ioe.54.2018.02.22.19.32.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2018 19:32:11 -0800 (PST) In-Reply-To: (Drew Adams's message of "Thu, 22 Feb 2018 18:43:21 -0800 (PST)") 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:143612 Archived-At: Drew Adams writes: > I couldn't try your code with Emacs 24.5 because `pcase-dolist' pcase-dolist is not autoloaded in 24.5, but is available after loading pcase.el. > and `inhibit-compacting-font-caches' are both undefined. Of course setting inhibit-compacting-font-caches has no effect in 24.5, I meant that remark just for 25+. > But everything else you say checks out, including the effect > of (setq inhibit-compacting-font-caches t). > > Is this a bug that is likely to get fixed? Unfortunately, no, I don't think so (at least not soon). My understanding is that this inhibit-compacting-font-caches variable is due to several mysterious font bugs with different users needing different settings to work around them, and there isn't anyone who has a good idea of how to sort it out. > Another question is whether this bug should/will affect all > users or only some? If the latter then I can let users > decide whether to test `char-displayable-p' (I have an > option for that anyway) or whether to bind > `inhibit-compacting-font-caches to `t'. If only some users > are affected by the bug, do we know why? Does it have to > do with the fonts they have installed, for example? Well, as I mentioned, I don't see it on my GNU/Linux box, so it's not universal. I would guess the fonts installed is the main factor.