From: Drew Adams <drew.adams@oracle.com>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 30539@debbugs.gnu.org
Subject: bug#30539: 26.0; `char-displayable-p' is much slower in Emacs 25 and 26
Date: Thu, 22 Feb 2018 20:07:09 -0800 (PST) [thread overview]
Message-ID: <d4cfae2a-b941-4385-afd9-a823cca10c08@default> (raw)
In-Reply-To: <87tvu84c05.fsf@gmail.com>
> > 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.
I googled a bit for that variable, and there are a bunch of
Emacs bugs and other posts about it. Seems like (to be
confirmed) it is a problem only for MS Windows (?), and
maybe only for TrueType fonts (?).
And it seems like lots of folks run into it (though others
do not), so that lots of people (particularly with CJK
fonts?) are just systematically setting the variable to t.
I do wonder what the best approach is for my library. If
I knew that the problem didn't exist for non-Windows that
would let me at least remove non-Windows from cases where
I try to do something. I'll probably make the code, when
on Windows, by default use a non-nil value of the var by
default (e.g. as an option default value). But it would be
good to know more about the cases where the problem can arise.
next prev parent reply other threads:[~2018-02-23 4:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 22:07 bug#30539: 26.0; `char-displayable-p' is much slower in Emacs 25 and 26 Drew Adams
2018-02-20 18:08 ` Drew Adams
2018-02-22 14:50 ` Drew Adams
2018-02-23 1:49 ` Noam Postavsky
2018-02-23 2:43 ` Drew Adams
2018-02-23 3:32 ` Noam Postavsky
2018-02-23 4:07 ` Drew Adams [this message]
2018-02-23 7:14 ` Eli Zaretskii
2020-06-27 21:34 ` Drew Adams
2020-11-18 15:35 ` Stefan Kangas
2020-11-18 17:21 ` Eli Zaretskii
2020-11-18 18:30 ` Stefan Kangas
2018-02-28 19:21 ` Charles A. Roelli
[not found] <<8c79c39f-7abb-4591-a676-17fb46af5a8f@default>
[not found] ` <<ec3497d7-9a7d-4be8-8712-19bb6bdd96e8@default>
[not found] ` <<m2d10oj4xj.fsf@aurox.ch>
2018-02-28 19:53 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4cfae2a-b941-4385-afd9-a823cca10c08@default \
--to=drew.adams@oracle.com \
--cc=30539@debbugs.gnu.org \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).