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#57499: Documentation bug in the docstring of set-face-attribute? Date: Fri, 02 Sep 2022 19:00:00 +0300 Message-ID: <834jxppy0v.fsf@gnu.org> References: <534c9018d2adffda3e53@heytings.org> <831qswu0p4.fsf@gnu.org> <534c9018d2f372cd7462@heytings.org> <83tu5ssi35.fsf@gnu.org> <534c9018d222586a161c@heytings.org> <83r10wsgu8.fsf@gnu.org> <534c9018d2952b7a6bd0@heytings.org> <83pmggs89x.fsf@gnu.org> <534c9018d2597d4fd752@heytings.org> <83fshcrzth.fsf@gnu.org> <534c9018d2c911550778@heytings.org> <83czcgry5f.fsf@gnu.org> <534c9018d2f901e88b93@heytings.org> <837d2nshh7.fsf@gnu.org> <834jxrscu7.fsf@gnu.org> <831qsvs51j.fsf@gnu.org> <83sflbqotm.fsf@gnu.org> <83r10vqh29.fsf@gnu.org> <83k06nq7es.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18110"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57499-done@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 02 18:03:35 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 1oU98o-0004Ve-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 18:03:34 +0200 Original-Received: from localhost ([::1]:46486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU98n-0001Hv-0e for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 12:03:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU96N-00082I-IM for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 12:01:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU96M-00012G-8E for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 12:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU96M-0000Tu-1D for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 12:01: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: Fri, 02 Sep 2022 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57499 X-GNU-PR-Package: emacs Original-Received: via spool by 57499-done@debbugs.gnu.org id=D57499.16621344411816 (code D ref 57499); Fri, 02 Sep 2022 16:01:02 +0000 Original-Received: (at 57499-done) by debbugs.gnu.org; 2 Sep 2022 16:00:41 +0000 Original-Received: from localhost ([127.0.0.1]:47512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU960-0000TD-Qh for submit@debbugs.gnu.org; Fri, 02 Sep 2022 12:00:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU95x-0000Sy-BT for 57499-done@debbugs.gnu.org; Fri, 02 Sep 2022 12:00:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU95q-0000yA-PY; Fri, 02 Sep 2022 12:00:32 -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=XsvR7frRKCxoZ83jLbinA7F/yHeUOcxs6r/wgIK5Y50=; b=P+10jpKZ6c3O Cf2RMCUvWiIju/tvHhes9ba7YtjncrP8K6t+BFjr1o+zPSgqUWRD475NDWhN8Po+9usG7lILQ/d29 cK4qGt0TGJ6Ymi1VHAdCB9FK7EoxOAuCQ19Y+CVGNBnhwUGRLf0rbMTRExrU8iIRspVGtA+bmCCvk 3Y+aeYhvVrChk/kC0ZOOhF1gbp/3PXJU49JVt8vziPJ7nQA4uOIyfD3EmFQajqT8CB8TWuUVpsb3t hL18ZvV1Imh3ZSS1x4Lg4gSMz9FxUHDpfNVRoHntF/LDuhblsXgiHieELN+OOczG5AxdEiWeAz7rY xaKE2Tsj7fYm99SPqrpCGw==; Original-Received: from [87.69.77.57] (port=1428 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 1oU95T-00053n-1f; Fri, 02 Sep 2022 12:00:29 -0400 In-Reply-To: (message from Gregory Heytings on Thu, 01 Sep 2022 19:35:35 +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:241351 Archived-At: > Date: Thu, 01 Sep 2022 19:35:35 +0000 > From: Gregory Heytings > cc: 57499-done@debbugs.gnu.org > > > It isn't deprecated, it's invalid. There's no need to have anything > > like this in NEWS, because all our documentation says the color > > attributes can have only string values (in addition to 'unspecified'). > > > > Okay (I thought you wanted to retain the "undocumented but not really > invalid" use of nil). > > > > > Warning: nil value for `%s' is invalid, use 'unspecified instead. > > > > I added the name of the face in the message, which is I think useful to > locate the cause of the warning. Thanks, SGTM. > Should this go to master or to emacs-28? To master, please.