GNU bug report logs - #40419
26.3; Custom font face not respected even after saving options to .emacs

Previous Next

Package: emacs;

Reported by: Samuel Falvo II <sam.falvo <at> gmail.com>

Date: Fri, 3 Apr 2020 21:41:01 UTC

Severity: normal

Tags: patch

Merged with 24482, 25228, 26340, 40461

Found in versions 25.1, 26.0.50, 26.3

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 40419 <at> debbugs.gnu.org, Samuel Falvo II <sam.falvo <at> gmail.com>
Subject: bug#40419: 26.3; Custom font face not respected even after saving options to .emacs
Date: Sat, 04 Apr 2020 20:19:36 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Samuel Falvo II <sam.falvo <at> gmail.com>
>> Date: Fri, 3 Apr 2020 13:12:46 -0700
>> 
>> 1.  Launch Emacs under Pop_OS! 64-bit Linux.
>> 2.  M-x menu-set-font
>> 3.  Select your favorite font of choice (in my case, Pet Me 2Y Medium).
>> 4.  Select Options >> Save Options
>> 5.  C-x C-f ~/.emacs  and make sure the file both exists and contains
>> the preferred font setting.
>> 6.  C-x C-c to exit out of Emacs.
>> 7.  Re-launch Emacs.
>> 8.  Observe **brief** moment in minibuffer when preferred font is in effect, but then
>> reverts back to system default.
>
> This probably means something else resets the font after startup.  Do
> you have anything else in your ~/.emacs, besides the font setting
> saved by the above recipe? could those additional customizations be
> the culprit?  Or maybe you have some system resources that require
> specific fonts to be used by Emacs?
>
> FWIW, I cannot reproduce this, the saved font setting is used when I
> restart Emacs.

Maybe this is Bug#25228 "custom-set-faces from init file ~/.emacs
ignored"?  Does adding

    (define-key special-event-map [config-changed-event] 'ignore)

to .emacs help?






This bug report was last modified 159 days ago.

Previous Next


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