From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#15427: 24.3.50; `customize-face' in Customize, show `Background' attribute using background Date: Wed, 14 Aug 2019 21:44:44 -0700 (PDT) Message-ID: References: <87k1bf3xsi.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="97246"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 15427@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 15 06:45:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hy7dP-000PC8-BG for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 06:45:11 +0200 Original-Received: from localhost ([::1]:38376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hy7dO-0003lv-2G for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 00:45:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38302) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hy7dH-0003lm-NH for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 00:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hy7dG-0001Mo-Lt for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 00:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hy7dG-0001Mh-IK for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 00:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hy7dG-00019i-Ea for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 00:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Aug 2019 04:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15427 X-GNU-PR-Package: emacs Original-Received: via spool by 15427-submit@debbugs.gnu.org id=B15427.15658442954414 (code B ref 15427); Thu, 15 Aug 2019 04:45:02 +0000 Original-Received: (at 15427) by debbugs.gnu.org; 15 Aug 2019 04:44:55 +0000 Original-Received: from localhost ([127.0.0.1]:50351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy7d8-000197-VJ for submit@debbugs.gnu.org; Thu, 15 Aug 2019 00:44:55 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:49422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy7d7-00018v-Fr for 15427@debbugs.gnu.org; Thu, 15 Aug 2019 00:44:53 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7F4iKuh037976; Thu, 15 Aug 2019 04:44:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=n0tmBbUUoSygXgbBIdY6lOcNvC5KMmG9/9xGmh7XpEQ=; b=kyErQcQjJ1Pp1/1Iza7ZIUbCoJXrXkp6cSU+2MpBUCsieD8km4tZVHJp26MKFfrfIaig ADZLx6GCfDVk8oqajTFMMZIXOopHV5aRuq6Kgz/W89AQjy6E59aHN1N5rSG/5Ihn18E9 mvO+ovH3e54kNq25FA7SAGz4Tke+carUgUVfFl89BB9tZ5UWrqqlijAF/WMRzfnBvboU KkFkD1xG6RUS05qFetq/htk+gurcHFMANb3ZgsWAc6Bt/7w7lXK6MCWWlZ54iyVXCmQI RRUyqM/pw2Zv+dDcRWriK3tGJJM9cqoz2ILNkyp1OTCJ4rqHt2ZiUG1X59UVn4HuT+xz Iw== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2u9nvpgsyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Aug 2019 04:44:47 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7F4hCBh022898; Thu, 15 Aug 2019 04:44:46 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2ucgf0kn80-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Aug 2019 04:44:46 +0000 Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x7F4ijlt007849; Thu, 15 Aug 2019 04:44:45 GMT In-Reply-To: <87k1bf3xsi.fsf@mouse.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9349 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=933 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908150049 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9349 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=983 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908150049 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165043 Archived-At: > > emacs -Q > > M-x customize-face lazy-highlight > > > > Attribute `Background' has its own `sample', which shows the color. > > But it shows the color as a foreground (text). Show it as the > > background, instead. > > > > This is independent of the overall `sample' for the face as a whole. > > It's just more helpful to show the background color choice as a > > background. >=20 > There's a whole bunch of things that can have a colour when customising > a face -- like stipple background/foreground, overline, etc. I don't > know whether it makes sense to special-case just the (main) background > colour... but perhaps that does make sense, because it's a pretty > common thing to customise. And showing the colour as a background > colour would give a more correct impressions. >=20 > But might be confusing if that one thing behaved differently than the > rest. >=20 > Anybody have an opinion here? It's _not_ about one thing behaving differently. We show an overline, underline, foreground, etc. attribute using the foreground, because they are, well, in the foreground. Attribute background is not. Attribute background should, well, show the color sample as background, not as foreground. (I would think that this is obviously TRT to do.)