From: Dan Jacobson <jidanni@jidanni.org>
To: Eli Zaretskii <eliz@gnu.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 11:10:09 +0800 [thread overview]
Message-ID: <87jzq11cha.7.fsf@jidanni.org> (raw)
In-Reply-To: <63f64522726258ee8dbde487a579325c@jidanni.org>
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.
> 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.
> • Click on ‘Set Default Font’ in the ‘Options’ menu. This makes the
> selected font the default on all existing graphical frames. To
> save this for future sessions, click on ‘Save Options’ in the
> ‘Options’ menu.
We don't want to click on anything. Nor do we want to choose a font. We
just want to change the default size for emacs of fonts.
>
> • 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".
>
> 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.
Anyway maybe there is a glimmer of hope with some line like
-*-*-*-14-*-*-*- or something, but it so 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.
next prev parent reply other threads:[~2023-11-29 3:10 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 [this message]
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=87jzq11cha.7.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=67449@debbugs.gnu.org \
--cc=eliz@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.