From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kenichi Handa <handa@m17n.org>
Cc: eduardoochs@gmail.com, emacs-devel@gnu.org
Subject: Re: `set-frame-font' doesn't support font aliases
Date: Tue, 03 Jun 2008 04:22:36 -0400 [thread overview]
Message-ID: <jwvr6bfq6a2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1K3RBm-0004dM-3U@etlken.m17n.org> (Kenichi Handa's message of "Tue, 03 Jun 2008 16:44:14 +0900")
>> Can you recover the Emacs-22 behavior by restricting the backends to
>> just `x'?
> No, because the font-name parser is independent of font
> backends; i.e. even if you use only x font-backend, you can
> specify a font name as, for instance,
> "fixed-12:foundry=misc".
Then we need to detect the ambiguity, and provide a way for the user to
resolve the ambiguity.
> Another idea is to do:
> (set-frame-font (font-spec :alias "fixed)).
> or
> (set-frame-font ":alias=fixed")
That seems clean from the user's POV. Tho maybe aliases should take
precedence, rather than the reverse.
Stefan
next prev parent reply other threads:[~2008-06-03 8:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-01 5:24 `set-frame-font' doesn't support font aliases Eduardo Ochs
2008-06-03 6:44 ` Kenichi Handa
2008-06-03 7:29 ` Stefan Monnier
2008-06-03 7:44 ` Kenichi Handa
2008-06-03 8:22 ` Stefan Monnier [this message]
2008-06-04 11:49 ` Kenichi Handa
2008-06-04 17:15 ` Stefan Monnier
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=jwvr6bfq6a2.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eduardoochs@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.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.