From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58912: 29.0.50; set-face-attribute call in init.el has no lasting effect Date: Mon, 31 Oct 2022 15:32:43 +0200 Message-ID: <83sfj4dsp0.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30034"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58912@debbugs.gnu.org To: Dmitry Gutov , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 31 14:34:25 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 1opUvn-0007fY-Ul for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Oct 2022 14:34:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opUvU-0006cb-5v; Mon, 31 Oct 2022 09:34:04 -0400 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 1opUvS-0006aS-HJ for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 09:34:02 -0400 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 1opUvR-0002Nl-VD for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 09:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opUvR-0008Ga-Qe for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 09:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Oct 2022 13:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58912 X-GNU-PR-Package: emacs Original-Received: via spool by 58912-submit@debbugs.gnu.org id=B58912.166722318631707 (code B ref 58912); Mon, 31 Oct 2022 13:34:01 +0000 Original-Received: (at 58912) by debbugs.gnu.org; 31 Oct 2022 13:33:06 +0000 Original-Received: from localhost ([127.0.0.1]:39798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opUuY-0008FL-83 for submit@debbugs.gnu.org; Mon, 31 Oct 2022 09:33:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opUuW-0008F2-UL for 58912@debbugs.gnu.org; Mon, 31 Oct 2022 09:33:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opUuQ-00023M-PZ; Mon, 31 Oct 2022 09:32:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ct493x9JZ7SNq7mHB9MDlAAsb3HtKn3Sf2OAGnCmVSQ=; b=Br6g0zxCUspU 06F1Jhf3fGaJGha5cTwXZ79TvS1zqR5g+wu3Ry1NM8DxqLy+c3R20LvR8uq/sCSRFU+Xn7JrPRbyY RTDgp9OM+ikzCuajX03LR6t422HssvUgQJ57AR5UkWefaJSms3Lb1IuWrLw1bE9uHXUDxbwsN7a67 K+7dekUAKNVoTNDeNWqPQNkUlh9xQHpNZHsmLFsC4WmzWSY+pRaoFjSxmIYvZ7HqX7CzRlIbJkwTp RaK3yhx37uS8tRyTnHVUVb+tD1r721FN7OUnsbY9no4OkbwnuGkOj1dAQZu6GTkoAJFGt/ilMZp9Q llq5QedmPZ/v1/LpG5tN6A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opUuQ-0000Eq-93; Mon, 31 Oct 2022 09:32:58 -0400 In-Reply-To: (message from Dmitry Gutov on Mon, 31 Oct 2022 02:44:24 +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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246685 Archived-At: > Date: Mon, 31 Oct 2022 02:44:24 +0200 > From: Dmitry Gutov > > 1. Have a line in init.el like > > (set-face-attribute 'default nil :height 110 :weight 'semi-light :family > "Cascadia Mono") > > 2. Start Emacs. See the graphical frame get resized briefly during > startup, but then go back to the default monospaced system font (Ubuntu > Mono in my case), with the default font size. I cannot reproduce this. The settings in the init file, both the font family and its size, get reflected in the default face's font for me. But I'm not on an X/GTK-based system, so I suspect something like xsettings or gsettings or somesuch are responsible for the resetting of the default face's font. Perhaps Po Lu could help.