GNU bug report logs - #25228
25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored

Previous Next

Package: emacs;

Reported by: werner <at> suse.de (Dr. Werner Fink)

Date: Mon, 19 Dec 2016 11:57:01 UTC

Severity: normal

Tags: patch

Merged with 24482, 26340, 40419, 40461

Found in versions 25.1, 26.0.50, 26.3

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: werner <at> suse.de, rostislav.svoboda <at> gmail.com, 25228 <at> debbugs.gnu.org
Subject: bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored
Date: Tue, 20 Dec 2016 19:18:03 +0100
> So all this disaster happens because 96.281588447653434 compares not
> equal to 96, is that right?

Here ;-)

That's why I wanted Werner to counter-check.  And there was the original
author of this issue - Rostislav Svoboda.  IIRC I tried to contact him
once but he did not respond, anyway let's try again.

> Would the problem be solved, both for you
> and for Werner, if we compare these values after rounding them to the
> nearest integer?  It looks to me that xsettings.c reads the new value
> as an integer to begin with, so it makes no sense to compare
> fractional values.  And AFAIK about DPI (which is very little, and
> nothing about Gsettings and Xft), the DPI values are always integers.

Nothing guarantees that such a silly discrepancy does not show up
somehwere else.  But I certainly won't mind using this as workaround for
Emacs 25.2.

martin




This bug report was last modified 104 days ago.

Previous Next


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