From: Eli Zaretskii <eliz@gnu.org>
To: Dan Jacobson <jidanni@jidanni.org>
Cc: 67449@debbugs.gnu.org
Subject: bug#67449: Manual: add how to change default global font size in .emacs
Date: Wed, 29 Nov 2023 14:47:16 +0200 [thread overview]
Message-ID: <83plzs7mln.fsf@gnu.org> (raw)
In-Reply-To: <87jzq11cha.7.fsf@jidanni.org> (message from Dan Jacobson on Wed, 29 Nov 2023 11:10:09 +0800)
> From: Dan Jacobson <jidanni@jidanni.org>
> Cc: 67449@debbugs.gnu.org
> Date: Wed, 29 Nov 2023 11:10:09 +0800
>
> 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.
Monospace is the default, so it doesn't matter whether "we" care or
not.
> > 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.
So just specify the same font with the different size. Case closed.
> > • 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".
So just specify the same font with the different size. Case closed.
> > 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.
So just specify the same font with the different size. Case closed.
> Anyway maybe there is a glimmer of hope with some line like
> -*-*-*-14-*-*-*- or something, but it so frustrating.
A two-liner in the init file or a X resource setting cannot be
anywhere near 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.
Or you can do the above, which is easy and a no-brainer, really. Case
closed. And this bug is also closed. Please accept the decision and
stop pushing.
next prev parent reply other threads:[~2023-11-29 12:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=83plzs7mln.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=67449@debbugs.gnu.org \
--cc=jidanni@jidanni.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.