all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Felix E. Klee" <felix.klee@inka.de>
Cc: 27350@debbugs.gnu.org
Subject: bug#27350: #27350 25.2; Make `inhibit-compacting-font-caches' customizable
Date: Fri, 16 Jun 2017 16:47:43 +0300	[thread overview]
Message-ID: <83a85811ts.fsf@gnu.org> (raw)
In-Reply-To: <CA+m_8J0=SR2dJbRAuLyaBm8JX1AqYmv_2Dr=a3wbso4ambyA7g@mail.gmail.com> (felix.klee@inka.de)

> From: "Felix E. Klee" <felix.klee@inka.de>
> 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 <eliz@gnu.org> 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.





  reply	other threads:[~2017-06-16 13:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-13 14:33 bug#27350: 25.2; Make `inhibit-compacting-font-caches' customizable Drew Adams
2017-06-13 15:02 ` Eli Zaretskii
2017-06-13 17:02   ` Drew Adams
2017-06-13 19:41     ` Eli Zaretskii
2017-06-15 11:53 ` bug#27350: #27350 " Felix E. Klee
2017-06-15 14:38   ` Eli Zaretskii
2017-06-15 15:46     ` Felix E. Klee
2017-06-15 16:01       ` Eli Zaretskii
2017-06-15 16:23         ` Felix E. Klee
2017-06-15 18:23           ` Eli Zaretskii
2017-06-16 10:20             ` Felix E. Klee
2017-06-16 13:00               ` Eli Zaretskii
2017-06-16 13:24                 ` Felix E. Klee
2017-06-16 13:47                   ` Eli Zaretskii [this message]
2019-09-13 12:45 ` Stefan Kangas
2019-09-13 13:47   ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a85811ts.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27350@debbugs.gnu.org \
    --cc=felix.klee@inka.de \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.