unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
Cc: 22343@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	[thread overview]
Message-ID: <87zgpj750s.fsf@gnus.org> (raw)
In-Reply-To: <5692CAF6.20304@live.com> ("Clément Pit--Claudel"'s message of "Sun, 10 Jan 2016 16:19:50 -0500")

Clément Pit--Claudel <clement.pitclaudel@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





  parent reply	other threads:[~2021-12-02  9:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-10 21:19 bug#22343: 25.0.50; Incorrect rounding (?) when loading the Emacs.background attribute from Xresources Clément Pit--Claudel
2016-01-11 18:56 ` Eli Zaretskii
2016-01-11 19:09   ` Clément Pit--Claudel
2016-01-11 19:14     ` Eli Zaretskii
2016-01-12  2:20       ` Clément Pit--Claudel
2016-01-12 16:46         ` Eli Zaretskii
2021-12-02  9:03 ` Lars Ingebrigtsen [this message]
2021-12-03  4:29   ` Clément Pit-Claudel
2021-12-03 16:27     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgpj750s.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=22343@debbugs.gnu.org \
    --cc=clement.pitclaudel@live.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).