From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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 Message-ID: <87zgpj750s.fsf@gnus.org> References: <5692CAF6.20304@live.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16185"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 22343@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 02 10:04:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msi0p-000439-8l for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 10:04:19 +0100 Original-Received: from localhost ([::1]:60692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msi0o-0001Nh-0I for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 04:04:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msi0Z-0001Mz-B2 for bug-gnu-emacs@gnu.org; Thu, 02 Dec 2021 04:04:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34978) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msi0Y-0001wD-IR for bug-gnu-emacs@gnu.org; Thu, 02 Dec 2021 04:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msi0Y-0006Sq-CW for bug-gnu-emacs@gnu.org; Thu, 02 Dec 2021 04:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Dec 2021 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22343 X-GNU-PR-Package: emacs Original-Received: via spool by 22343-submit@debbugs.gnu.org id=B22343.163843580824794 (code B ref 22343); Thu, 02 Dec 2021 09:04:02 +0000 Original-Received: (at 22343) by debbugs.gnu.org; 2 Dec 2021 09:03:28 +0000 Original-Received: from localhost ([127.0.0.1]:46521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msi00-0006Rq-0N for submit@debbugs.gnu.org; Thu, 02 Dec 2021 04:03:28 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:36020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mshzx-0006Rc-GC for 22343@debbugs.gnu.org; Thu, 02 Dec 2021 04:03:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=cxnZ4g7E5wCPHPTvsYABn8aZWjSM6bRBfDMT1PNUdc0=; b=JXgvz/2UPPqn/cluyMadQGkT7D B/ZeABPCHELtprcnUujFXK3uNFpQQkT1qcsV2h+LjVZ3PjQoJOBvw7UzKlLCIe80rUz4TD6wfxJsC zRmu09LsQmmzuq+BhYjDmYLxf/5FAGzjvecYZ1E8SoLjmptKY5C3VOdTq3zRXF+JSOxg=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mshzo-0007bV-Fy; Thu, 02 Dec 2021 10:03:19 +0100 X-Now-Playing: Mega Bog's _Dolphine_: "Shadows Break" In-Reply-To: <5692CAF6.20304@live.com> ("=?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel"'s message of "Sun, 10 Jan 2016 16:19:50 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221264 Archived-At: Cl=C3=A9ment Pit--Claudel 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? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no