From: Dan Jacobson <jidanni@jidanni.org>
To: 67449@debbugs.gnu.org
Subject: bug#67449: Manual: add how to change default global font size in .emacs
Date: Sun, 26 Nov 2023 10:18:16 +0800 [thread overview]
Message-ID: <63f64522726258ee8dbde487a579325c@jidanni.org> (raw)
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.
next reply other threads:[~2023-11-26 2:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-26 2:18 Dan Jacobson [this message]
2023-11-26 5:50 ` bug#67449: Manual: add how to change default global font size in .emacs Eli Zaretskii
2023-11-26 13:28 ` Dan Jacobson
2023-11-26 13:50 ` Eli Zaretskii
2023-11-26 20:55 ` Dan Jacobson
2023-11-27 3:27 ` Eli Zaretskii
2023-11-29 3:10 ` Dan Jacobson
2023-11-29 12:47 ` Eli Zaretskii
2023-11-30 7:23 ` Kévin Le Gouguec
2023-11-30 8:39 ` Eli Zaretskii
2023-12-02 3:16 ` Dan Jacobson
2023-12-02 7:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=63f64522726258ee8dbde487a579325c@jidanni.org \
--to=jidanni@jidanni.org \
--cc=67449@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.