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.help Subject: Re: set-default-font Date: Wed, 26 Aug 2020 08:42:09 +0300 Message-ID: <83d03e3qvi.fsf@gnu.org> References: <855b886e-8bb5-caad-ebc5-4f14b7da5765@mousecar.com> <83k0xm4m34.fsf@gnu.org> <83imd64luu.fsf@gnu.org> <69cb6867-47c2-fd29-756e-9511f59fd4f2@mousecar.com> <20200825204907.GF3788@scrozzle> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16669"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 07:42:55 2020 Return-path: Envelope-to: geh-help-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 1kAoD0-0004GH-Dr for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 07:42:54 +0200 Original-Received: from localhost ([::1]:60422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAoCz-00009R-Dy for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 01:42:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAoCW-00009I-NW for help-gnu-emacs@gnu.org; Wed, 26 Aug 2020 01:42:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54548) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAoCW-0004Fp-8Y for help-gnu-emacs@gnu.org; Wed, 26 Aug 2020 01:42:24 -0400 Original-Received: from [176.228.60.248] (port=2278 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kAoCU-0006XY-NU for help-gnu-emacs@gnu.org; Wed, 26 Aug 2020 01:42:24 -0400 In-Reply-To: <20200825204907.GF3788@scrozzle> (2QdxY4RzWzUUiLuE@potatochowder.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123769 Archived-At: > Date: Tue, 25 Aug 2020 15:49:07 -0500 > From: 2QdxY4RzWzUUiLuE@potatochowder.com > > Try something like this instead: > > (set-face-attribute 'default nil :font "DejaVu Sans Mono-12") If the OP wants only to change the size of the font, then it is wrong to specify the :font attribute. He should specify only :height, which will leave the rest of the font parameters to the default selection.