From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59347: 29.0.50; `:family` face setting ignored Date: Fri, 18 Nov 2022 10:25:34 -0500 Message-ID: References: <83bkp4bfqf.fsf@gnu.org> <83wn7s9txp.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28022"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59347@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 16:26:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ow3GB-00079N-IQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 16:26:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow3Fk-00081y-PM; Fri, 18 Nov 2022 10:26:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow3Fi-0007y8-GM for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 10:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ow3Fi-0005vj-7f for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 10:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow3Fi-00034O-3T for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 10:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59347 X-GNU-PR-Package: emacs Original-Received: via spool by 59347-submit@debbugs.gnu.org id=B59347.166878514511776 (code B ref 59347); Fri, 18 Nov 2022 15:26:02 +0000 Original-Received: (at 59347) by debbugs.gnu.org; 18 Nov 2022 15:25:45 +0000 Original-Received: from localhost ([127.0.0.1]:37985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow3FQ-00033s-V4 for submit@debbugs.gnu.org; Fri, 18 Nov 2022 10:25:45 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow3FO-00033f-Kf for 59347@debbugs.gnu.org; Fri, 18 Nov 2022 10:25:43 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D6F141000EF; Fri, 18 Nov 2022 10:25:36 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4B9D71000C3; Fri, 18 Nov 2022 10:25:35 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1668785135; bh=M++jnfjveGZ9cjTx/spR7xVkDXePYVVzE3dXCfMTMik=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OkOz5Rqtd/LbSME+kdbahfXLafR8/XhSx9I4Ikna7FbLJ+SijdINrNpCdru5U92eM 75asmWQ2AfgTT9FF/IAah4Il+ysjE4gf8j+5lRvx6mZyfr9+4x+KrXvMIkaNQ/S96o 7cmfvoNmWCTGzyZfssrt+LYP4mzPOjAtZM4uhxRt9b+MfJ0YXu+0GaZshonFnYYhnS GbdTsCLJLzEn2ZxO4C8b5+XPJ9mK3izXuAqV450HbsTFXJ9JxXlOv07zM09agd+GG6 s27xYZ5BGxO1Hvj0XLTBuMX4MX8/Ct/wXhOEETREZy3c7+cm874ADX/dvl48JT5B1w E99TAbTNaczbA== Original-Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 10D991203CD; Fri, 18 Nov 2022 10:25:34 -0500 (EST) In-Reply-To: <83wn7s9txp.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Nov 2022 17:13:54 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248253 Archived-At: >> So let me return the question: what part of the above code makes you >> think it's correct for Emacs to use a different font than the DejaVu Sans? > The part where you requested a misc-fixed font. I can't see how a "misc-fixed" default fault would prevent the use of DejaVu Sans font for particular parts of the text. This has worked for the last 10 years or so, AFAIK. >> > Like, for example, that DejaVu Sans doesn't have a variant with the >> > size that matches the default face's font? >> DejaVu is a scalable font, so I can't see how it could not have a size >> that matches. > Of course, it can. > And if it isn't because of size, it can be because of some other font > attribute, like weight. I can't see which such attribute in my example would explain the behavior I see. > Bottom line: you cannot expect Emacs to select a font from a family > you request, not with a 100% reliability anyway. Emacs can decide > not to. I sense a bit of defensiveness in your responses. I'm really trying to fix an actual misbehavior in my config (one which at first sight looks to me like a plain bug, or at least a plain regression). What should I change in my recipe in order to keep the same default font but get the DejaVu Sans that used to get? Stefan