[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `set-frame-font' doesn't support font aliases
From: |
Stefan Monnier |
Subject: |
Re: `set-frame-font' doesn't support font aliases |
Date: |
Tue, 03 Jun 2008 04:22:36 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> 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