unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Ivan Zakharyaschev <imz@altlinux.org>
Cc: 19568@debbugs.gnu.org
Subject: bug#19568: 24.3; not documented: Which system settings affect the choice of the default font by an uncustomized Emacs 24?
Date: Mon, 23 Nov 2020 09:24:56 -0500	[thread overview]
Message-ID: <CADwFkmnre9tb-oL5g9zrG0H5=_63HBVUi06FcO7ykz10Cpv-rA@mail.gmail.com> (raw)
In-Reply-To: <CABU_JXwS4Z-ojXY2v2hcNsrQazXMUfW8u0PHUxVxO6RPrskiVQ@mail.gmail.com> (Ivan Zakharyaschev's message of "Sun, 11 Jan 2015 14:55:38 +0400")

Ivan Zakharyaschev <imz@altlinux.org> writes:

> My situation and the issue are like the ones in
> <http://lists.gnu.org/archive/html/help-gnu-emacs/2012-06/msg00183.html>
> (Florian Lindner):
>
>> after the recent upgrade to emacs 24.x (...) my font size
>> is too large (one times C-x C-minus corrects it temporarily for the
>> buffer). The menu font size is fine, the rest (buffer, mode line,
>> minibuffer is too large). I've read about the various ways to set the
>> font size.
>>
>> **Is there a specific reason why the font size has increased after the
>> update? And thus a global way to correct it?**
>
> So, even having read about all the ways to set a font in Emacs, I
> haven't found an answer which would explain the difference in font
> size between an uncustomized Emacs 23.x and Emacs 24.y.
>
> Probably, it's as in the follow-up answer (Tassilo Horn):
>
>> Emacs 24 adds support for gconf and gsettings, so it'll pick whatever
>> monospace font and sizes you have set as the default in your system
>> settings
>
> I'd like to know the place these settings are stored, and to tweak
> them (so that not only Emacs, but perhaps other similarly behaving
> programs would get my font settings).
>
> I'm especially interested in making the default font size smaller again.
>
> Unforunately, [in the Emacs
> manual](http://www.gnu.org/software/emacs/manual/html_node/emacs/Fonts.html)
> it is not documented which system settings affect the choice of the
> default font by an uncustomized Emacs 24.
>
> I believe this is an important information for an Emacs user and
> should be present in the manual.

It seems like Emacs picks up these gconf settings:

#define GCONF_TOOL_BAR_STYLE "/desktop/gnome/interface/toolbar_style"
#define GCONF_MONO_FONT  "/desktop/gnome/interface/monospace_font_name"
#define GCONF_FONT_NAME  "/desktop/gnome/interface/font_name"

Perhaps we should mention these in the manual?  Or is this something
that should be documented by gconf itself?  How does one even configure
this stuff in Gnome?  (I don't use it myself.)





  reply	other threads:[~2020-11-23 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11 10:55 bug#19568: 24.3; not documented: Which system settings affect the choice of the default font by an uncustomized Emacs 24? Ivan Zakharyaschev
2020-11-23 14:24 ` Stefan Kangas [this message]
2021-05-28  1:37   ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmnre9tb-oL5g9zrG0H5=_63HBVUi06FcO7ykz10Cpv-rA@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=19568@debbugs.gnu.org \
    --cc=imz@altlinux.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 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).