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: Samuel Falvo II <sam.falvo <at> gmail.com>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 40419 <at> debbugs.gnu.org
Subject: bug#40419: 26.3; Custom font face not respected even after saving options to .emacs
Date: Sun, 5 Apr 2020 09:28:16 -0700
[Message part 1 (text/plain, inline)]
I'll apply that change and see what happens.

Unfortunately, while it was a repeatable issue when I filed the bug, it
strangely started respecting my preferences as of mid-day yesterday.  Could
be a race condition of some kind?  I'll add the (define-key) and hopefully
it'll more consistently maintain preferences.

Thanks for looking into things.  It's appreciated!


On Sat, Apr 4, 2020 at 5:19 PM Noam Postavsky <npostavs <at> gmail.com> wrote:

> 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?
>
>
>

-- 
Samuel A. Falvo II
[Message part 2 (text/html, inline)]

This bug report was last modified 160 days ago.

Previous Next


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