GNU bug report logs - #24482
25.1; font setting in ".emacs" is not respected

Previous Next

Package: emacs;

Reported by: me <at> beroal.in.ua

Date: Tue, 20 Sep 2016 16:46:01 UTC

Severity: normal

Tags: patch

Merged with 25228, 26340, 40419, 40461

Found in versions 25.1, 26.0.50, 26.3

Full log


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

From: npostavs <at> users.sourceforge.net
To: me <at> beroal.in.ua
Cc: 24482 <at> debbugs.gnu.org
Subject: Re: bug#24482: 25.1; font setting in ".emacs" is not respected
Date: Sun, 16 Jul 2017 21:51:02 -0400
merge 24482 25228
quit

me <at> beroal.in.ua writes:

> I change the default font via "Easy Customization" and save it. The
> contents of the file
> ".emacs" is below.
> {{{
> (custom-set-variables
>  ;; custom-set-variables was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  )
> (custom-set-faces
>  ;; custom-set-faces was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(default ((t (:family "Nimbus Roman" :foundry "UKWN" :slant normal
> :weight normal :height 201 :width normal)))))
> }}}
>
> After I restart Emacs, the font shown is not the font I chose. Actually,
> I see how Emacs changes the font I chose to another font promptly.
>
> This bug appeared after upgrading from 24.5 to 25.1.

Possible workarounds are

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

or

    (advice-add 'dynamic-setting-handle-config-changed-event :override #'ignore)




This bug report was last modified 158 days ago.

Previous Next


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