bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67449: Manual: add how to change default global font size in .emacs


From: Eli Zaretskii
Subject: bug#67449: Manual: add how to change default global font size in .emacs
Date: Sun, 26 Nov 2023 07:50:48 +0200

tags 67449 notabug wontfix
close 67449
thanks

> Date: Sun, 26 Nov 2023 10:18:16 +0800
> From: Dan Jacobson <jidanni@jidanni.org>
> 
> 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.

The text just below that explains how to do that in half a dozen
different ways.

> Well, to make a new defaut, just put
> (global-text-scale-adjust INCREMENT)
> in your .emacs. As simple as that.

No, that's not the right way, since it doesn't affect all the faces
used by Emacs.  You've misunderstood the intent and purpose of
global-text-scale-adjust and friends.

> 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).

Because doing that permanently makes no sense, and that's not what
global-text-scale-adjust is for.

This is not a bug, and there's nothing we should do here.

Closing.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]