From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#67449: Manual: add how to change default global font size in .emacs Date: Wed, 29 Nov 2023 11:10:09 +0800 Message-ID: <87jzq11cha.7.fsf@jidanni.org> References: <63f64522726258ee8dbde487a579325c@jidanni.org> <83fs0tawqv.fsf@gnu.org> <83wmu4aajv.fsf@gnu.org> <83b92d9750b8259a21b54abf7391188c@jidanni.org> <83h6l7anau.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8368"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67449@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 29 04:11:28 2023 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 1r8Az0-00020R-It for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Nov 2023 04:11:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8Ayl-0004jC-1X; Tue, 28 Nov 2023 22:11:12 -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 1r8AyY-0004i4-Qm for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2023 22:11:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r8AyV-0001Q5-5u for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2023 22:10:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8Ayc-0006vH-5R for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2023 22:11:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <63f64522726258ee8dbde487a579325c@jidanni.org> Resent-From: Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Nov 2023 03:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67449 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug Original-Received: via spool by 67449-submit@debbugs.gnu.org id=B67449.170122742926569 (code B ref 67449); Wed, 29 Nov 2023 03:11:02 +0000 Original-Received: (at 67449) by debbugs.gnu.org; 29 Nov 2023 03:10:29 +0000 Original-Received: from localhost ([127.0.0.1]:48524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Ay4-0006uS-BO for submit@debbugs.gnu.org; Tue, 28 Nov 2023 22:10:28 -0500 Original-Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:53731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Axy-0006uG-KX for 67449@debbugs.gnu.org; Tue, 28 Nov 2023 22:10:26 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E9393C2162; Wed, 29 Nov 2023 03:10:13 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a204.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9D865C2173; Wed, 29 Nov 2023 03:10:13 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1701227413; a=rsa-sha256; cv=none; b=Id3DAtABu4biEXpk05+j0c98FJOeCblrfKaFSEI8ARHPfwvgRv0m9GXTLfZmpnt4O15Obs sXn0yljx1cJhdWZBe1MSEpucNIoYxv/b0VAx/WABE2KkiZpqIBq26m0rY2ubV89N4dhfbe bwajc2hifnMqXqybm/3oP4eJhvdwKpXKPvhxfQjz6pCCoTiuOI9nF+xmR2Fpx8MpWecPzo +kHldcLE2bCJs8b0SS0WFRItXSxL63Fijp2Rma7x9tCIkim7ucYCf2KIxWnsZ7bu4/A8AL isgoSkybEpmiMHCjOFcSoYof46EE5XSnqDvoIJ6YlrXejp4QU4cUo4i04iO2Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1701227413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references:dkim-signature; bh=hKr1FA5EoXtv68CC6VqKA1+OUhA1X6FtJcyJsYeH6jU=; b=CxL4CBUIhtgG7QIter8SUbXEt9VkSd+w6pcBso6jRP0ghcfOBGpbIDlY4wMlhHYE9jWk3x d44px3qbYTveRBkkMKopEtGyggdRfwg5+1ZmE23ZW9/OmwqGpvGOzmaFDcBJTvs5OBHped yqZNVsbIp5EMp7pPWzFTfnkuMKsf1r2NN2tPByzFT7shQhiXOvBCzukCLDwWQBbLB7/rT8 lBZ9I8SvmiXrqZUuXF52dJlYgcWpjOMo5CNGkVng5wsqx6hWvViXrBLcc5VFd8C/Gvnxwn 7coMY4F5IhnDqJobeYLEOp7DqYLMqT+E74XIqkyvV3g6TSa5zYp/uJFh+DEjNQ== ARC-Authentication-Results: i=1; rspamd-696ff67dc8-crd5t; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@jidanni.org X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Wide-Eyed-Bored: 79f49d9a57f33aa2_1701227413759_2154848755 X-MC-Loop-Signature: 1701227413759:2403012196 X-MC-Ingress-Time: 1701227413759 Original-Received: from pdx1-sub0-mail-a204.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.127.242.43 (trex/6.9.2); Wed, 29 Nov 2023 03:10:13 +0000 Original-Received: from jidanni.org (1-165-251-186.dynamic-ip.hinet.net [1.165.251.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a204.dreamhost.com (Postfix) with ESMTPSA id 4Sg47n26mVz4w; Tue, 28 Nov 2023 19:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1701227413; bh=hKr1FA5EoXtv68CC6VqKA1+OUhA1X6FtJcyJsYeH6jU=; h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding; b=TnTvpiJD4O3/XELLtFm4miwuoFD8ssOc9R2NKQ8Sx2PThQ46gbKKrBB8IEA1Eh3EF /yQ/Mx549/e5Rda8YdaI39kRtWMk/4bK4617phHcn7VJl0yG5B/0o9MmFvqwm/lgvx 9dWOjJ/KNQQVcYbMfOXioMsRlNSYxPuwnY+8J8ogNdqAJu4Ryf/vOPwTqbXfM8atg5 F49KpqtpaYJ/ein1mvAoAPXliN5aX4PF+nhiCY1qKscJxBMrqAwU4NBXa7qMHhzj8O rE3RUBCZl5DvY71yamo7Zy/zf6BHZcqhC4UqKBd2z1X7Jgdevvqc4g7BP4NTd/B5iB ePWi52bgzYzXw== 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:275190 Archived-At: In (info "(emacs) Fonts") > File: emacs.info, Node: Fonts, Next: Speedbar, Prev: Frame Commands, Up: Frames > > 22.8 Fonts > ========== > > By default, Emacs displays text on graphical displays using a 10-point 10 point. Let's say we want it to use 14 point default. > monospace font, We don't care about monospace or not. We just want to make 10 into 14. > and the font size can be changed interactively (*note > Text Scale::). We don't want to change it interactively. We just want to put a line in our .emacs file to change it. > There are several different ways to specify a different font: We don't want to specify a different font. We don't care about the font. We just want to make it use a different size as default. > • Click on ‘Set Default Font’ in the ‘Options’ menu. This makes the > selected font the default on all existing graphical frames. To > save this for future sessions, click on ‘Save Options’ in the > ‘Options’ menu. We don't want to click on anything. Nor do we want to choose a font. We just want to change the default size for emacs of fonts. > > • Add a line to your init file, modifying the variable > ‘default-frame-alist’ to specify the ‘font’ parameter (*note Frame > Parameters::), like this: > > (add-to-list 'default-frame-alist > '(font . "DejaVu Sans Mono-10")) Yes we want to add a line to our .emacs file. But we don't want to have to say some font name. We just want to tell emacs to use "default size 14, not 10". > > This makes the font the default on all graphical frames created > after restarting Emacs with that init file. > > • Add an ‘emacs.font’ X resource setting to your X resource file, > like this: > > emacs.font: DejaVu Sans Mono-12 Again we are forced to name a font. We don't want to name a font. We just want to tell emacs to do what it does, but at scale 14 not 10. Anyway maybe there is a glimmer of hope with some line like -*-*-*-14-*-*-*- or something, but it so frustrating. Whereas in other apps one can just choose a default font size, in emacs ... well you have to go down to the car dealership and learn about muffler types. You can't just tell the rental agency to deliver an economy sized car.