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 15:44:10 +0300 Message-ID: <83351k5aw5.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31724"; 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 14:44:12 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 1qM6XL-000857-7B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 14:44:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qM6XD-00041M-9X; Wed, 19 Jul 2023 08:44:03 -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 1qM6XC-00040I-Kf for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 08:44:02 -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 1qM6XC-0004Yn-CK for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 08:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qM6XB-0007O9-RB for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 08:44:01 -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 12:44:01 +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.168977063728384 (code B ref 64725); Wed, 19 Jul 2023 12:44:01 +0000 Original-Received: (at 64725) by debbugs.gnu.org; 19 Jul 2023 12:43:57 +0000 Original-Received: from localhost ([127.0.0.1]:55170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM6X6-0007Nk-Oe for submit@debbugs.gnu.org; Wed, 19 Jul 2023 08:43:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM6X4-0007NW-Js for 64725@debbugs.gnu.org; Wed, 19 Jul 2023 08:43:55 -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 1qM6Wx-0003wG-NT; Wed, 19 Jul 2023 08:43:49 -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=DN4Gu1hMyzG16lpFnzbfXYxsfGBR3dimVyuzeiqv3JU=; b=YDhvO7/1wFy1 ycSZYSFXSemD31SFjQZ8wp9g7KIO6/+ICIAEuv3DCZBRY0ZK2AOAnazFrp9YPyOmXfLl+mTi+Mc57 eTHR76YQDLqfPXSRT7dOreSNLkjCpWFhdUfzEVylfnKpVVpKnOAmgDe47W9H1SBNWZIZiqbD+IDZy gcNe9FLoNZ0Q0rtMjCGNWAsMa2/9ssZYGG0r+hW5jPJpeTEkenUmHFkIHUQu9HqlGx2mDFK+Y+5Ez UyJ4UAiDQLKw+Qj5HmIl8u98scZ29PTYNAokBv8LUevoqd+/D9b6mSATgcuLkaepiAm24oMA5seij 4V+vl7bpC/KW7eiYI5av6g==; 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 1qM6Wt-0006AY-Hj; Wed, 19 Jul 2023 08:43:45 -0400 In-Reply-To: (message from Helmut Eller on Wed, 19 Jul 2023 09:09:11 +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:265529 Archived-At: > From: Helmut Eller > Date: Wed, 19 Jul 2023 09:09:11 +0200 > > When I try to set the foreground color of a face, e.g. with: > > M-x set-face-foreground RET font-lock-string-face RET > > and then press TAB to see the available colors, then Emacs displays the > list of colors as background with text in the default foreground. > > 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.