unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67449: Manual: add how to change default global font size in .emacs
@ 2023-11-26  2:18 Dan Jacobson
  2023-11-26  5:50 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Dan Jacobson @ 2023-11-26  2:18 UTC (permalink / raw)
  To: 67449

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.





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-12-02  7:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-26  2:18 bug#67449: Manual: add how to change default global font size in .emacs Dan Jacobson
2023-11-26  5:50 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).