Subject: Re: bug#59347: 29.0.50; `:family` face setting ignored

From: Eli Zaretskii <[email-masked]>
Date: Fri, 18 Nov 2022 14:37:44 +0200

> Date: Thu, 17 Nov 2022 23:57:31 -0500
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> When I do:
> 
>     src/emacs -Q --eval \
>         '(progn
>            (custom-set-faces `(variable-pitch
>                                ((t (:family "DejaVu Sans")))))
>            (add-to-list `default-frame-alist
>                         `(font . "-misc-fixed-*-r-semicondensed-*-13-*-*-*-*-*-*-*"))
>            (font-lock-mode -1)
>            (insert (propertize "hello" `face `variable-pitch)))'
> 
> I get "hello" shown in the same font as with the default face
> (i.e. "misc-fixed") instead using DejaVu Sans.

All those backquotes, are they really backquotes when you type this?
Or should they be escaped apostrophes?

More to the point, why do you think this is a bug in Emacs?  What
happened here is that you requested a face to use some font family,
and Emacs for whatever reasons decided not to use that family.  Why is
that a bug? why are you sure Emacs didn't do that for valid reasons?
Like, for example, that DejaVu Sans doesn't have a variant with the
size that matches the default face's font?