From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27350: #27350 25.2; Make `inhibit-compacting-font-caches' customizable Date: Fri, 16 Jun 2017 16:47:43 +0300 Message-ID: <83a85811ts.fsf@gnu.org> References: <548efd73-7fb5-45ef-979d-59623d31df3b@default> <83fuf12u4q.fsf@gnu.org> <838tkt2qat.fsf@gnu.org> <837f0d2jq7.fsf@gnu.org> <83k24c13zo.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1497620961 24589 195.159.176.226 (16 Jun 2017 13:49:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2017 13:49:21 +0000 (UTC) Cc: 27350@debbugs.gnu.org To: "Felix E. Klee" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 16 15:49:11 2017 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 1dLrcd-0005qt-As for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jun 2017 15:49:11 +0200 Original-Received: from localhost ([::1]:58991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLrci-0004EQ-FX for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jun 2017 09:49:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLrcZ-0004EI-Sv for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 09:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLrcU-00013V-2m for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 09:49:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLrcT-00013I-V0 for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 09:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLrcT-0007tk-PV for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 09:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Jun 2017 13:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27350 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 27350-submit@debbugs.gnu.org id=B27350.149762090330309 (code B ref 27350); Fri, 16 Jun 2017 13:49:01 +0000 Original-Received: (at 27350) by debbugs.gnu.org; 16 Jun 2017 13:48:23 +0000 Original-Received: from localhost ([127.0.0.1]:50501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLrbr-0007sm-IE for submit@debbugs.gnu.org; Fri, 16 Jun 2017 09:48:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLrbq-0007sa-3u for 27350@debbugs.gnu.org; Fri, 16 Jun 2017 09:48:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLrbg-0000Tj-V6 for 27350@debbugs.gnu.org; Fri, 16 Jun 2017 09:48:16 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLrbg-0000Tc-SA; Fri, 16 Jun 2017 09:48:12 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4775 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dLrbf-0004iH-Db; Fri, 16 Jun 2017 09:48:12 -0400 In-reply-to: (felix.klee@inka.de) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:133643 Archived-At: > From: "Felix E. Klee" > Date: Fri, 16 Jun 2017 15:24:58 +0200 > Cc: 27350@debbugs.gnu.org > > On Fri, Jun 16, 2017 at 3:00 PM, Eli Zaretskii wrote: > >> Caching is fine with me. > > > > Patches are welcome. (I know almost nothing about fonts.) > > ‘inhibit-compacting-font-caches’ does the trick, at least for me. When I > open ‘unicode.txt’, then the memory footprint of EMACS increases by > about 13 MB. That is less than 2 ‰ of my system memory, negligible. That variable inhibits compacting the frames' font caches globally. That is, they will never be compacted. So measuring the increase of the memory footprint for a small number of fonts is not the worst use case. An average system nowadays has many hundreds of fonts installed. Anyway, if that variable does the trick for you, and you are happy with it, by all means keep using it. That's why I added it. I just hoped we will be able to find a better solution, but I guess not yet. Thanks.