* Suggestion in GNU Emacs FAQ For MS Windows freezes Emacs
@ 2020-04-15 15:43 ndame
2020-04-15 17:28 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: ndame @ 2020-04-15 15:43 UTC (permalink / raw)
To: Emacs developers
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Suggestion in GNU Emacs FAQ For MS Windows freezes Emacs
2020-04-15 15:43 Suggestion in GNU Emacs FAQ For MS Windows freezes Emacs ndame
@ 2020-04-15 17:28 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2020-04-15 17:28 UTC (permalink / raw)
To: ndame; +Cc: emacs-devel
> Date: Wed, 15 Apr 2020 15:43:06 +0000
> From: ndame <ndame@protonmail.com>
>
> 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"))
Thanks, fixed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-15 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-15 15:43 Suggestion in GNU Emacs FAQ For MS Windows freezes Emacs ndame
2020-04-15 17:28 ` Eli Zaretskii
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.