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: Sun, 26 Nov 2023 10:18:16 +0800 Message-ID: <63f64522726258ee8dbde487a579325c@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10071"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.3 To: 67449@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 26 03:19:25 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 1r74k0-0002RH-O1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Nov 2023 03:19:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r74jb-0005Xo-3b; Sat, 25 Nov 2023 21:18:59 -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 1r74jZ-0005XH-EP for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:18:57 -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 1r74jZ-0000Vo-2n for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:18:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r74je-0006VT-ET for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Nov 2023 02:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67449 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.170096511624973 (code B ref -1); Sun, 26 Nov 2023 02:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Nov 2023 02:18:36 +0000 Original-Received: from localhost ([127.0.0.1]:40529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r74jD-0006Uj-Jm for submit@debbugs.gnu.org; Sat, 25 Nov 2023 21:18:35 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:37420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r74jB-0006UT-O4 for submit@debbugs.gnu.org; Sat, 25 Nov 2023 21:18:34 -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 1r74iz-0005Rq-IN for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:18:22 -0500 Original-Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r74ix-0000Qf-VR for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:18:21 -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 3D140501540 for ; Sun, 26 Nov 2023 02:18:17 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id CACFA501403 for ; Sun, 26 Nov 2023 02:18:16 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1700965096; a=rsa-sha256; cv=none; b=rBLSmufHZ0myJQMYMb2MQqOZ6idWcoUCkzu6+f86lk4bRRz9AGL+0Ig1SQwq1GUo8zwyNW oQTwsZ2voJnVDAE1monERmVdD/0DMGym4kOJwNs12D47Hy0kDq4BFx0Ge9/ULRcxFOzfYT 2jB8gG3THijPClb1l9e6sYIWnR0wcUh3vaEEK/cEMDZzMEUWfLFc4EXUXHAnxHUaQZJxuZ 2cETlkDl0AhUfshNVXf8LP6UhAL7xno/udSNHxkyJ83mh4AhFE6JLfxTFwe5GvlG10sy68 ZSmdmEC9MmXe0z/bRObmPimOq36j88gkdPz32O6ChpIfbwhEJt19uCi1Jr368Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1700965096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=3GhfZaUrxBVsh/21Alc4W1nh+rxPdfxoWe3VcDTYapM=; b=7Z8LqEcM5g7Xh0rJABKqBiPMItlO33fpAT9ZVu0NU7Ok5dVyDLw++BW/uXveyyCTFoWgt1 zbVO6DS4rP/OqJQcEeTjltphyD+xjgeVSo5FTueRmgy0EURGfdnJAsBl0p0Eb0zqMv3TrN opsO1ezNBVoG4+/pnzHLCO9Frb0xh53je1vN4X98NZp0C9c8FAsDwMYWsID0P5G3ipIzJ5 7BumgHn/uKWzn/UBFJCukLk2wBQ/hY/wdHJJF+wPylrifVnC+BJtPUY96uDoKeXxKgcVq4 mWWMyZ1g4TuwZuDx9kUw+tex4G2u4SUazU5zFhYTMM+C0CUudPK4QBrpbl6pKA== ARC-Authentication-Results: i=1; rspamd-696ff67dc8-g8jxn; 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-Chemical-Invention: 11bf1cfe38814109_1700965096937_1666678842 X-MC-Loop-Signature: 1700965096937:2611512239 X-MC-Ingress-Time: 1700965096936 Original-Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.104.134.238 (trex/6.9.2); Sun, 26 Nov 2023 02:18:16 +0000 Original-Received: from webmail.dreamhost.com (ip-66-33-200-4.dreamhost.com [66.33.200.4]) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPA id 4SdC7D4PsXzDj for ; Sat, 25 Nov 2023 18:18:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1700965096; bh=3GhfZaUrxBVsh/21Alc4W1nh+rxPdfxoWe3VcDTYapM=; h=Date:From:To:Subject:Content-Type:Content-Transfer-Encoding; b=p2yLLgF/BJ1OStxlcccRl+mUuPX3zcFQmoQmpoZXeFUiDwCxEWq7poTqRS089nmAw LZNuT/P30qGn557fwvnrc0SxOxMh2Tv8oHs+Dc2iQQrPEPUkHamjwIrJ1hE9YlHkWy 0mXiPam8HigU1pU7IC6sF9BO/9n9Hus4R+HF5MKmo63KjALYNqgY6k6ajJ3OnGL8Nv LxWkVFscvtw5YHhFqbetODPJjUGd4T1P/y0UMpXpexuvvs61g8zwzk9jCR9RS/Mewp lO9YI1cS+D1DmQ5AAi4pUtMUP4Yq8IP8VfyGlvD9eU+BLQLeu0ICd4WG+80a2x83da 9hEKFFfhhmX1A== X-Sender: jidanni@jidanni.org Received-SPF: pass client-ip=23.83.209.93; envelope-from=jidanni@jidanni.org; helo=insect.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:275031 Archived-At: In (info "(emacs) Fonts") we learn > By default, Emacs displays text on graphical displays using a 10-point > monospace font, and the font size can be changed interactively (*note > Text Scale::). That is great. But what is 10-point is not the right default size for you. Well, to make a new defaut, just put (global-text-scale-adjust INCREMENT) in your .emacs. As simple as that. But the manual never gets around to mentioning that. So how shall we fix that problem? Well first there on In (info "(emacs) Fonts") please add: > besides interactively, the default can also be incremented in your > .emacs file: via (global-text-scale-adjust INCREMENT). OK, also in (info "(emacs) Text Scale") we see > to change the sizes of the fonts globally, type ‘C-x > C-M-+’, ‘C-x C-M-=’, ‘C-x C-M--’ or ‘C-x C-M-0’, or scroll the mouse > wheel with both the ‘Ctrl’ and ‘Meta’ modifiers pressed. That is also great, but you also need to mention how to change it permanently in .emacs: via (global-text-scale-adjust INCREMENT). In fact, that would make this index entry * global-text-scale-adjust: Text Scale. (line 35) make sense. As currently all it leads to are the keystrokes. (Note: in all of the above I intentionally do not mention "Easy customization". That is not what I am trying to document.) P.S., emacs -Q --eval '(global-text-scale-adjust 0)' cause the initial text to disappear.