[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emac
From: |
Dr. Werner Fink |
Subject: |
bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored |
Date: |
Tue, 20 Dec 2016 17:41:39 +0100 |
User-agent: |
Mutt/1.6.2 (2016-07-01) |
On Tue, Dec 20, 2016 at 06:15:57PM +0200, Eli Zaretskii wrote:
> > Date: Tue, 20 Dec 2016 12:18:58 +0100
> > From: "Dr. Werner Fink" <werner@suse.de>
> > Cc: martin rudalics <rudalics@gmx.at>, 25228@debbugs.gnu.org
> >
> > > Can you describe how that mechanism is triggered by the offending
> > > change?
> >
> > Just play around with eval-region/expression ... that is that I can switch
> > with
> >
> > (font-setting-change-default-font ":0" t)
> >
> > or
> >
> > (font-setting-change-default-font ":0" nil)
> >
> > to the system default font settings and then with
> >
> > (custom-set-faces '(default ((t (:family "B&H LucidaTypewriter"
> > :foundry "B&H" :slant normal :weight normal :height 110 :width
> > normal)))))
>
> Thanks. However, I don't have easy access to systems where this
> problem happens, so I must examine the source code instead. That is
> why I asked to describe which code triggers this and how it started
> affecting us after commit e65c307.
The only guess I have is that the correction had now enabled the :user-spec
key/attribute. For a workaround I've change some lines of code in
lisp/dynamic-setting.el ... compare with the attached patch.
With this patch both the custom font if enabled in ~/.emacs as well as
the system font works here for GNU Emacs with GTK as well as with X11.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
emacs-25.1-custom-fonts.patch
Description: Text Data
signature.asc
Description: PGP signature
- bug#25228: [emacs-bug] bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, (continued)
- bug#25228: [emacs-bug] bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Eli Zaretskii, 2016/12/21
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, martin rudalics, 2016/12/21
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Dr. Werner Fink, 2016/12/21
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Eli Zaretskii, 2016/12/21
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, martin rudalics, 2016/12/22
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Eli Zaretskii, 2016/12/22
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, martin rudalics, 2016/12/22
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Dr. Werner Fink, 2016/12/23
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Dr. Werner Fink, 2016/12/20
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Eli Zaretskii, 2016/12/20
- bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored,
Dr. Werner Fink <=
- bug#25228: [emacs-bug] bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Dr. Werner Fink, 2016/12/20
- bug#25228: [emacs-bug] bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored, Eli Zaretskii, 2016/12/20