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: Thu, 15 Aug 2019 17:06:15 -0700 (PDT) Message-ID: <78b6df86-853e-4e54-8e8f-38dfde0f6392@default> References: <87k1bf3xsi.fsf@mouse.gnus.org> <875zmymfjj.fsf@mail.linkov.net> <87sgq2t2y9.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="109927"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 15427@debbugs.gnu.org To: Lars Ingebrigtsen , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 16 02:07:11 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 1hyPlu-000STS-MV for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2019 02:07:10 +0200 Original-Received: from localhost ([::1]:47944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyPlt-0008A3-1l for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 20:07:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47511) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyPln-00089x-NF for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 20:07:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyPlm-0007E0-Pm for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 20:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyPlm-0007Dl-LI for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 20:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyPlm-0002tE-DJ for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 20:07: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: Fri, 16 Aug 2019 00:07: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.156591398711060 (code B ref 15427); Fri, 16 Aug 2019 00:07:02 +0000 Original-Received: (at 15427) by debbugs.gnu.org; 16 Aug 2019 00:06:27 +0000 Original-Received: from localhost ([127.0.0.1]:52707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyPlC-0002sK-QR for submit@debbugs.gnu.org; Thu, 15 Aug 2019 20:06:27 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:41932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyPlB-0002s5-9X for 15427@debbugs.gnu.org; Thu, 15 Aug 2019 20:06:25 -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 x7G04VAW005956; Fri, 16 Aug 2019 00:06:18 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=KT0swinoZchP6dItGPek23F+HYjzShad3XYY5FbKCms=; b=iS5CcR8EtqSTYwT2cb0WlQLNlzuhumkq2BPoDt/ONVadlmNNIny/VPSRiqUCQByB9DuA l5p4VY87MnFq459kVcehVOqv8XkNRm+8thdQU76/npDJLKKwAItxX3LJ5paU7AiEs+xb 7J2npNPO9OO8C8Wovoa7kUch8M1J2Nk2BF1baBavUA0vHVzv3fSkxq8ryjEMy1y+nYSJ ybhhcHQzD2ZSUB5sxySe8oHy3GyNIX2DSluWAWNi1EvRqmy0EUikaC9KkERJpKkZnP9S LqT0xp61dt/6CJmLhL4DdPrVmvVdVTnpp5UOtfhkDOxBekOWvcYzmm7jkeBYXKolqBoe IA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2u9nvpnre5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 16 Aug 2019 00:06:18 +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 x7FNwkWE059509; Fri, 16 Aug 2019 00:06:18 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2udgqfh9m3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 16 Aug 2019 00:06:17 +0000 Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x7G06GFd030828; Fri, 16 Aug 2019 00:06:16 GMT In-Reply-To: <87sgq2t2y9.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=9350 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=815 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908150231 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9350 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=885 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908150232 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:165163 Archived-At: FWIW, I agree about the widget and custom code. And it's doc is not super helpful. (defun widget-color-sample-face-get (widget) (let* ((value (condition-case nil =09=09 (widget-value widget) =09=09 (error (widget-get widget :value))))) (if (color-defined-p value) =09(list (cons 'background-color value)) 'default))) But I think, as said in the enhancement request, that it's good to show the effect of the color BOTH as a foreground and as a background.