GNU bug report logs - #36320
25.1; Do not prioritize Xresources over customized font, especially not *Font

Previous Next

Package: emacs;

Reported by: hackerb9 <maildaemon <at> wongs.net>

Date: Fri, 21 Jun 2019 06:04:02 UTC

Severity: normal

Tags: wontfix

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: hackerb9 <maildaemon <at> wongs.net>
Cc: 36320 <at> debbugs.gnu.org
Subject: Re: bug#36320: 25.1; Do not prioritize Xresources over customized
 font, especially not *Font
Date: Thu, 26 Nov 2020 13:00:38 +0100
hackerb9 <maildaemon <at> wongs.net> writes:

> You can test it like so:
>
>     $ echo '*font:variable' | xrdb -merge
>     $ emacs
>
> You'll notice that it overrides a default font saved in your .emacs
> file. E.g., 
>
>     (custom-set-faces
>      '(default ((t (:family "Latin Modern Mono" :foundry "GNU" :slant normal :weight normal :height 120 :width normal)))))
>
> This is very confusing behavior. It makes more sense that anything set
> within a user's .emacs init file will override an Xresource preference —
> which could have even been set by the site's system administrator, not
> the user.

The X resources are set per display, so it's more likely that they are
correct than the .emacs settings (which make sense as a fallback).

If you're not working on different systems with a shared $HOME (over NFS
or something), then this probably doesn't make that much sense, but
that's the common architecture when this was made, and changing this now
would break many people's setups, probably.

So this can't be changed at this point, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 178 days ago.

Previous Next


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