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

Previous Next

Package: emacs;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 26 Nov 2023 02:19:02 UTC

Severity: normal

Tags: notabug, wontfix

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #42 received at 67449 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dan Jacobson <jidanni <at> jidanni.org>
Cc: 67449 <at> debbugs.gnu.org, kevin.legouguec <at> gmail.com
Subject: Re: bug#67449: Manual: add how to change default global font size in
 .emacs
Date: Sat, 02 Dec 2023 09:42:25 +0200
> Date: Sat, 02 Dec 2023 11:16:14 +0800
> From: Dan Jacobson <jidanni <at> jidanni.org>
> Cc: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>,
>  67449 <at> debbugs.gnu.org
> 
> So the default size "10" must be buried in the C source code, and if
> the user wants to change *it* they must recompile emacs.
> Too bad.

It isn't too bad, since the default size can be customized, as
explained by that section of the manual.

> $ emacs -Q -eval "(set-face-attribute 'default nil :height (* 18 6))"
> tests great! (Except I found I needed to multiply any value I wanted by
> six, in order to get that value. At least on a Chromebook.)

The section "Frame Parameters" explains how to do this for the init
file.  (The section "Fonts", which started this discussion, has a
hyper-link to "Frame Parameters".)




This bug report was last modified 1 year and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.