From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Moses Newsgroups: gmane.emacs.bugs Subject: bug#32159: 26.1; inhibit-compacting-font-caches does not fix all fonts lagging issue Date: Tue, 17 Jul 2018 10:13:05 +0800 Message-ID: References: <83muut9q8m.fsf@gnu.org> <45c210aa-5a57-45f7-9bd4-752876b233c2@default> <8336wj9s5d.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1531793530 4051 195.159.176.226 (17 Jul 2018 02:12:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2018 02:12:10 +0000 (UTC) Cc: 32159@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 17 04:12:06 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 1ffFTB-0000vM-JM for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jul 2018 04:12:05 +0200 Original-Received: from localhost ([::1]:56726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffFVG-0000Ru-CB for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 22:14:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffFV7-0000Rb-K3 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffFV4-0002d9-Cm for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffFV4-0002d3-8B for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ffFV3-0005A2-V6 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Moses Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Jul 2018 02:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32159-submit@debbugs.gnu.org id=B32159.153179362819812 (code B ref 32159); Tue, 17 Jul 2018 02:14:01 +0000 Original-Received: (at 32159) by debbugs.gnu.org; 17 Jul 2018 02:13:48 +0000 Original-Received: from localhost ([127.0.0.1]:44291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffFUp-00059U-Tj for submit@debbugs.gnu.org; Mon, 16 Jul 2018 22:13:48 -0400 Original-Received: from mail-wm0-f52.google.com ([74.125.82.52]:38808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffFUo-00059H-DL for 32159@debbugs.gnu.org; Mon, 16 Jul 2018 22:13:46 -0400 Original-Received: by mail-wm0-f52.google.com with SMTP id 69-v6so17572227wmf.3 for <32159@debbugs.gnu.org>; Mon, 16 Jul 2018 19:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vrJEmII/39ZnHoZQBQFlqGZpa506RtbQEGxkn0+nHTQ=; b=Jqu5OqeLL4Pg6CYCPdCw33/6mS7LVNxqiAWMhl81LzFJowG9r9CwJwjiAdwwzoxO9t Z3Vc94lGcKOvUtRJcwWQi7rr8sm2f8RwNnTjkZfeNCZSBbd1G+B3jjJ5X0g1W0btp7X2 8nnYgt8rqeMk4+Sw7DuFovPRMXh9wucUI0ibEjANcXWJdw28IyA+Mh2ItObCJgbkPLEN CjhDw5C3EGu5I2mts6VRG3xDmRqtro635oV5AUxYDrpahKbrIYKEAmzUnf0wiCUZVkS/ mME0ZcWnKqqpEPsLFr27qVkhycXeL1iDwjaKgYhNTfEhXQSfcaeIQp80Zh2AFI7b6BFS XOMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vrJEmII/39ZnHoZQBQFlqGZpa506RtbQEGxkn0+nHTQ=; b=Cad1WHuHt1EpDcJW/33tl3fE/NJFY3OVYjxsqQl9yPTZERDE2J5yybUHellKXvmt+b tMYcYx91hKzRjHtKfU9fKenT94R+E3cKB4ospbMFhjYgWzzXeQJZe1RNDATOKyHlK8mj 1LdFfxumZcD+nkQm3hyKAttxWM5W3zodaHYJgzsYv02pNtwzUl5h7cLx9sh3731jKuCr U+uI7C8kAY9OSngO46KIqDdyp0gsTRAkAomKuddKsO+nqj6t1V5SgA+p94LBYieUpkyX 8H3A9OYNFjyyxEVvI1N1UjLZVLjKAVZeo//dAi+rsbalPT1DYG7QAF8ehTU8sjfhyDQw 3hKw== X-Gm-Message-State: AOUpUlGTrtmgXi86B9qXeseyXJVbN1YlpEKF8Y3hv4bZkWPcjWwrSBP7 Qiiyxn5foIdniCtru3vBRdLkIBL2CfU09vnPQZQ= X-Google-Smtp-Source: AAOMgpdN/4iUr8hEAr/RIWvCKAq0vUYiBNizNE2G2vqVPbGACqzd8bNuuN9kNA85T+z80nR6W4Fo+Fr98Ad+E3j/hvQ= X-Received: by 2002:a1c:570a:: with SMTP id l10-v6mr33000wmb.56.1531793620623; Mon, 16 Jul 2018 19:13:40 -0700 (PDT) In-Reply-To: <8336wj9s5d.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:148595 Archived-At: On Mon, Jul 16, 2018 at 10:22 PM Eli Zaretskii wrote: > Fontset customization is not just for "hanging", it's for any > situation where Emacs chooses a font that you don't like for some > reason, and you want it to choose another one. It also helps to speed > up the search for fonts. For example, the following setup speeds up > the initial display of HELLO by a factor of 5, from about 20 sec to > just 4: > > (set-fontset-font "fontset-default" 'gujarati '("Shruti" . "iso10646-1")) > (set-fontset-font "fontset-default" 'devanagari '("Mangal" . "iso10646-1")) > (set-fontset-font "fontset-default" 'kannada '("Tunga" . "iso10646-1")) > (set-fontset-font "fontset-default" 'malayalam '("Kartika" . "iso10646-1")) > (set-fontset-font "fontset-default" 'oriya '("Kalinga" . "iso10646-1")) > (set-fontset-font "fontset-default" 'sinhala '("Iskoola Pota" . "iso10646-1")) > (set-fontset-font "fontset-default" 'tamil '("Latha" . "iso10646-1")) > (set-fontset-font "fontset-default" 'telugu '("Gautami" . "iso10646-1")) > (set-fontset-font "fontset-default" 'tibetan '("Microsoft Himalaya" . "iso10646-1")) > (set-fontset-font "fontset-default" 'burmese nil) > > The fonts mentioned above are those available OOTB on a Windows > machine I have here; yours may be different. I collected them using > "C-u C-x =" for characters whose presence makes display of HELLO > significantly slower. If you don't have a font available for some > script and/or don't want that script's characters displayed, you can > replace the last argument of 'set-fontset-font' with nil, like I did > for 'burmese'. (You can also use ranges of codepoints instead of > script symbols; see the doc string of 'set-fontset-font'.) > > The script of a character is also shown by "C-u C-x =". How to get the correct second argument (script name?) and also the "iso10646-1" (encoding name?)? I do not find it in C-u C-x = and the manual is not very clear about that. Anyway, why Emacs can not generate a "suggestion" of set-fontset-font in the first place and tell user to add it into .emacs? That would be very helpful.