GNU bug report logs - #22343
25.0.50; Incorrect rounding (?) when loading the Emacs.background attribute from Xresources

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Sun, 10 Jan 2016 21:21:01 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
Cc: 22343 <at> debbugs.gnu.org
Subject: bug#22343: 25.0.50; Incorrect rounding (?) when loading the Emacs.background attribute from Xresources
Date: Thu, 02 Dec 2021 10:03:15 +0100
Clément Pit--Claudel <clement.pitclaudel <at> live.com> writes:

> This is a cute bug. Run the following two commands (in bash):
>
> # Set Emacs.background in Xresources
> $ xrdb <(echo "Emacs.background: #2e3436")
> # Run Emacs with same background on default face
> $ emacs -q --eval "(set-face-attribute 'default nil :background \"#2e3436\")"
>
> On my machine, the two colors are not rendered the same. I've attached
> a screenshot. What essentially happens is that anywhere where text is
> drawn the background is indeed #2e3436, but on the rest of the frame
> it's #2d3335.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I'm unable to reproduce this in Emacs 28 on Debian/bookworm.  Are you
still seeing this issue in more recent versions of Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 249 days ago.

Previous Next


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