[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40419: 26.3; Custom font face not respected even after saving option
From: |
Noam Postavsky |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Samuel Falvo II <sam.falvo@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?