From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#51595: 26.3; Face attribute value `unspecified' in `defface' breaks Customize UI Date: Wed, 3 Nov 2021 15:13:56 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38860"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51595@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 03 23:17:37 2021 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 1miOZd-0009wf-5t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 23:17:37 +0100 Original-Received: from localhost ([::1]:59404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miOZc-0002nY-8f for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 18:17:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miOX8-0000aV-Th for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 18:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miOX8-00018C-HQ for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 18:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miOX8-0001PV-De for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 18:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Nov 2021 22:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51595 X-GNU-PR-Package: emacs Original-Received: via spool by 51595-submit@debbugs.gnu.org id=B51595.16359776555299 (code B ref 51595); Wed, 03 Nov 2021 22:15:02 +0000 Original-Received: (at 51595) by debbugs.gnu.org; 3 Nov 2021 22:14:15 +0000 Original-Received: from localhost ([127.0.0.1]:41445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miOWB-0001N8-Vr for submit@debbugs.gnu.org; Wed, 03 Nov 2021 18:14:15 -0400 Original-Received: from mail-pg1-f178.google.com ([209.85.215.178]:33515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miOWA-0001MQ-71 for 51595@debbugs.gnu.org; Wed, 03 Nov 2021 18:14:02 -0400 Original-Received: by mail-pg1-f178.google.com with SMTP id r28so3637911pga.0 for <51595@debbugs.gnu.org>; Wed, 03 Nov 2021 15:14:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=KQaFMr/d9FFMSErHjy4Xatn23J1mcnLSev3Ppprl3FI=; b=J97iYvyfaYdz18PeWeR85qRTv8+rk+GBuPVXWsi1n23C9Pi5O/utj8LXyI+UdciTeN VR5imnhjRvVhZjJQFqVos9pXzmXzzstjwYUZPpvYR7nlIAMCPyo5TlXcaYBGyDe/6dc5 uq5U0xK8oQZ7fETekRK1uxia+9AGBOCG571yO7IoQ4nZJA9c9tsmUQQ86hAwCU469Vqa yf7JD3Xl7plLrjvhk/nufJ+XLDyKRHtj4EiUAgucOPJduqXYPQFsIf+WV3fjv4oyMprV gR+6bJiYz2JbpqzAMN9uReISXHQ9oX2HNok/Uj5LSqmilHep6n+2cVlstKMElB33+PgE ssBQ== X-Gm-Message-State: AOAM530nTdLfpk8jSPEcVc5bfIpJmLEXZi/yTKpNNL7hsG/yYzECYAWM QNL7bGhqkhu3zIaKAtko4AnS7uPZWEXbzH3PeCM= X-Google-Smtp-Source: ABdhPJwoU1bdm1KE/s7ak2yeJL2w09Yf2LGMKdrpJRA4YLL2LE6NaZ/Am8XWS4Vkdvy2DStUBRQAo9RbcvUMOAI7qCU= X-Received: by 2002:a05:6a00:244d:b0:44d:c279:5155 with SMTP id d13-20020a056a00244d00b0044dc2795155mr47182266pfj.0.1635977636469; Wed, 03 Nov 2021 15:13:56 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 3 Nov 2021 15:13:56 -0700 In-Reply-To: (Drew Adams's message of "Wed, 3 Nov 2021 21:09:41 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:218899 Archived-At: tags 51595 + confirmed found 51595 29.0.50 thanks Drew Adams writes: > emacs -Q > > (defface foo '((t :background "LightBlue")) "DOC ..." :group 'faces) > (defface bar '((t :foreground unspecified :background "LightBlue")) > "DOC..." :group 'faces) > > `M-x customize-face foo' shows the UI for the attributes of the face. > > `M-x customize-face bar' shows only the Lisp value of the face spec. A > user has no way to get from there to showing all of the attributes. > There's no way to edit the face. > > The doc (Elisp manual) draws no such distinction - speaks of no such > limitation. It just lists `unspecified' as one of the possible face > attributes: > > "Apart from the values given below, each face attribute can have the > value 'unspecified'." (That's in (info "(elisp) Face Attributes").) > This looks like a lacuna in the UI. You can specify `unspecified' in a > `defface', and the face is perfectly usable and well-defined, but users > can't edit it - can't manipulate its attributes. I can reproduce this on current master.