all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ndame <ndame@protonmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Suggestion in GNU Emacs FAQ For MS Windows freezes Emacs
Date: Wed, 15 Apr 2020 15:43:06 +0000	[thread overview]
Message-ID: <lEY4CIEO-xU2_pUz99V7QIjBECOFKqLxSiSXjiyE3vekQdzvqyBez6byel8_n2yIm7Il50VhmlUalGHgyOsauHAhFv9jvO5A5iWf_GwmXgw=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

The font section says:

To see a complete list of fonts, execute the following in the *scratch* buffer by pressing C-x C-e at the end of the line:

    (insert (prin1-to-string (x-list-fonts "*")))

https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Font-names.html#Font-names

I have 3375 fonts installed and the above  expression created a very long line which
was too much for my Emacs 26.2 and I had to wait some time until it became
responsive again.

I suggest replacing the expression with this, which does not create a long line
and clearer too:

  (dolist (font (x-list-fonts "*"))
    (insert font "\n"))

[-- Attachment #2: Type: text/html, Size: 2929 bytes --]

             reply	other threads:[~2020-04-15 15:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 15:43 ndame [this message]
2020-04-15 17:28 ` Suggestion in GNU Emacs FAQ For MS Windows freezes Emacs 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='lEY4CIEO-xU2_pUz99V7QIjBECOFKqLxSiSXjiyE3vekQdzvqyBez6byel8_n2yIm7Il50VhmlUalGHgyOsauHAhFv9jvO5A5iWf_GwmXgw=@protonmail.com' \
    --to=ndame@protonmail.com \
    --cc=emacs-devel@gnu.org \
    /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.