From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64725: 30.0.50; set-face-foreground shows background colors Date: Wed, 19 Jul 2023 19:26:21 +0300 Message-ID: <83lefb50lu.fsf@gnu.org> References: <83351k5aw5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64725@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 19 18:26:22 2023 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 1qMA0L-00019K-Pv for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 18:26:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMA09-0001qq-6X; Wed, 19 Jul 2023 12:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMA02-0001qX-ED for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 12:26:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMA02-0002Xf-6N for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 12:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMA02-0001wO-1o for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 12:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2023 16:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64725 X-GNU-PR-Package: emacs Original-Received: via spool by 64725-submit@debbugs.gnu.org id=B64725.16897839597451 (code B ref 64725); Wed, 19 Jul 2023 16:26:02 +0000 Original-Received: (at 64725) by debbugs.gnu.org; 19 Jul 2023 16:25:59 +0000 Original-Received: from localhost ([127.0.0.1]:57045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM9zy-0001w7-L0 for submit@debbugs.gnu.org; Wed, 19 Jul 2023 12:25:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM9zw-0001vu-Up for 64725@debbugs.gnu.org; Wed, 19 Jul 2023 12:25:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qM9zr-0002WZ-On; Wed, 19 Jul 2023 12:25:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sEEfviGdfI4MK2MXNVnSS+NcvfH88dTV/aF0e+fw8pY=; b=WIQ5oBYMCBNK 9VFkkSwRg98NUPjRUxAAvcQwR6GMPsnaBZFvFzEbmNomra9G4Gy9LCI5bPdelltecDEoBiGN192TO 6luFliDk9rn5MJ1cyJ/8VQR9E5HU5B6pJw0es6RHtg7KkBxcODBiALt1PD2oFhLhsv/NaAPz2UnpV QTZ8ABaf8v5K+gptpfPPg4d1G2nk5u+NagOfYG2zl5GXSnFlWbTbJ/7xGkuONxq4nchY/Ms7aEiHl LFuIsDvPh57PPq2BttTwVqFYizEN/anzdnMmGgR0wERWpHCu5T+D+YgrYHkNSDooVtD0b+NElAhds EbiYc/lv/PZRLIltrQwJZw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qM9zq-0007m3-9Y; Wed, 19 Jul 2023 12:25:51 -0400 In-Reply-To: (message from Helmut Eller on Wed, 19 Jul 2023 17:45:17 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265551 Archived-At: > From: Helmut Eller > Cc: 64725@debbugs.gnu.org > Date: Wed, 19 Jul 2023 17:45:17 +0200 > > On Wed, Jul 19 2023, Eli Zaretskii wrote: > > >> It would be more useful to see the text with the candidate color as > >> foreground on the default background. > > > > Why not use the actual foreground of the face being customized? Then > > the user could see whether the background color being selected will > > have good contrast (or just look well) with the face's foreground. > > I don't understand what you mean with "actual foreground". > [...] > Even better then displaying the candidate color on the default > background would be to show the candidate color on the current > background color of the face. But I guess that's harder to implement. That's exactly what I meant: when you customize the foreground color of a face, show the candidates as text in that color on the background of the face's background color, and when you customize the background of a face, show the candidates as background with the text in the foreground color of the face. IOW, show the face with its both colors as it will look if this candidate is chosen.