From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: larsi@gnus.org, 16815@debbugs.gnu.org
Subject: bug#16815: 24.3.50; Provide completion for `describe-font' (enhancement request)
Date: Fri, 29 Apr 2016 22:23:11 +0300 [thread overview]
Message-ID: <831t5ow76o.fsf@gnu.org> (raw)
In-Reply-To: <640c1da6-43a2-4c50-b50f-675f0b316b8b@default> (message from Drew Adams on Fri, 29 Apr 2016 11:39:59 -0700 (PDT))
> Date: Fri, 29 Apr 2016 11:39:59 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 16815@debbugs.gnu.org
>
> This is what I use, FWIW:
>
> (let ((fonts (make-hash-table :test #'equal))
> (fontset-lst (fontset-list)))
> (setq fontset-lst (delete "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"
> fontset-lst))
> (dolist (ft (append fontset-lst (x-list-fonts "*")) fonts)
> (puthash ft t fonts)))
IMO, this is madness: you are bloating the Emacs session with hundreds
of fonts, most of which Emacs will never need to use, or even know
about. We certainly shouldn't do anything like that in Emacs.
The doc string of describe-font clearly says that the font must be one
which Emacs already loaded, so completing on all the _installed_ fonts
is definitely not TRT.
next prev parent reply other threads:[~2016-04-29 19:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 21:03 bug#16815: 24.3.50; Provide completion for `describe-font' (enhancement request) Drew Adams
2016-04-29 17:35 ` Lars Ingebrigtsen
2016-04-29 18:39 ` Drew Adams
2016-04-29 19:23 ` Eli Zaretskii [this message]
2019-11-02 16:23 ` Lars Ingebrigtsen
2019-11-02 17:25 ` Eli Zaretskii
2019-11-03 15:33 ` Lars Ingebrigtsen
[not found] ` <<640c1da6-43a2-4c50-b50f-675f0b316b8b@default>
[not found] ` <<831t5ow76o.fsf@gnu.org>
2016-04-29 19:33 ` Drew Adams
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=831t5ow76o.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=16815@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=larsi@gnus.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.