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#57652: 29.0.50; Warning setting attribute of face =?UTF-8?Q?=E2=80=98term=E2=80=99?= Date: Thu, 08 Sep 2022 11:42:38 +0300 Message-ID: <83czc6fe9t.fsf@gnu.org> References: <5f92d116-3cfd-e4b4-0caf-b2337fa1bd7f@orange.fr> <878rmua277.fsf@yahoo.com> <319e3926-7c22-cabd-43dd-a02f3a01c734@orange.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 57652@debbugs.gnu.org, gregory@heytings.org To: David Ponce Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 08 10:43:12 2022 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 1oWD7v-00015z-H9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 10:43:11 +0200 Original-Received: from localhost ([::1]:37092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWD7u-0006GP-Dp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 04:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWD7m-0006GH-V2 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 04:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWD7m-0003EE-N3 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 04:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWD7m-0006kd-82 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 04:43: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: Thu, 08 Sep 2022 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57652 X-GNU-PR-Package: emacs Original-Received: via spool by 57652-submit@debbugs.gnu.org id=B57652.166262657925943 (code B ref 57652); Thu, 08 Sep 2022 08:43:02 +0000 Original-Received: (at 57652) by debbugs.gnu.org; 8 Sep 2022 08:42:59 +0000 Original-Received: from localhost ([127.0.0.1]:57199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWD7j-0006kM-En for submit@debbugs.gnu.org; Thu, 08 Sep 2022 04:42:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWD7h-0006k8-TK for 57652@debbugs.gnu.org; Thu, 08 Sep 2022 04:42:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWD7c-0003DV-Ku; Thu, 08 Sep 2022 04:42:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GQsHGO7BH0pi54bbb3FOUdGhUNfOV4Tc/GV1yTgwAQY=; b=VsEV3wdB0Xs/Hox98t/1 s97TjuIbEloB+gd604TiSp7r5AjtpyjS7kvlqjoxaEc7f58vDYlpJ6WfUybkZ0sxSEWez+00qX3j/ ofzQ56v7+TjjgesIJhsx6I6IUsn2SN9GYqaunYJXOZ8Y1TY5O76EtpKIzf+CF+8McfiesDm6Z0xcv aAd4qgbzZPsQaXIy+j3M+kLVzze/DaeS0H3k/7ob7C+QSgUZpHXPh7mOLmVItErpT2EDHcvVVg7MK fjp699ohMTWGOutLsHcrEWk2eLuwNMYm44DWLfnKvVzaeSGCOZ/Zc+Uso/RFNkq4nzdUo9DRHaZT9 /lIicz44MvE3Gg==; Original-Received: from [87.69.77.57] (port=1926 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 1oWD7c-0007nq-3a; Thu, 08 Sep 2022 04:42:52 -0400 In-Reply-To: <319e3926-7c22-cabd-43dd-a02f3a01c734@orange.fr> (message from David Ponce on Thu, 8 Sep 2022 10:22:31 +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" Xref: news.gmane.io gmane.emacs.bugs:241844 Archived-At: > Cc: 57652@debbugs.gnu.org, gregory@heytings.org > Date: Thu, 8 Sep 2022 10:22:31 +0200 > From: David Ponce > > "Apart from the values given below, each face attribute can have the > value ‘unspecified’. This special value means that the face doesn’t > specify that attribute directly. An ‘unspecified’ attribute tells Emacs > to refer instead to a parent face (see the description ‘:inherit’ > attribute below); or, failing that, to an underlying face (*note > Displaying Faces::). (However, ‘unspecified’ is not a valid value in > ‘defface’.)" > > So it seems that unspecified is not allowed in defface. Where does it say that unspecified is not allowed? (And this doc string is from set-face-attribute, not from defface.) > So, how to specify a missing attribute excepted by using nil in the > defface used in term.el? If you don't have anything to say about an attribute, just don't mention it in defface. That's what unspecified means, as the doc string says. So I'm unsure why you would need "to specify a missing attribute".