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: Sat, 03 Sep 2022 09:00:41 +0300 Message-ID: <83r10tngja.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> <834jxppy0v.fsf@gnu.org> <2f302d1c39d400336ae6@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11571"; 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 Sat Sep 03 08:02:23 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 1oUMEY-0002nj-P5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 08:02:22 +0200 Original-Received: from localhost ([::1]:43716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUMEX-0003U8-RX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 02:02:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUMEF-0003T3-35 for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 02:02:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUMEE-0000LF-8H for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 02:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUMEE-0005mh-3v for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 02:02: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: Sat, 03 Sep 2022 06:02: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.166218488622182 (code D ref 57499); Sat, 03 Sep 2022 06:02:02 +0000 Original-Received: (at 57499-done) by debbugs.gnu.org; 3 Sep 2022 06:01:26 +0000 Original-Received: from localhost ([127.0.0.1]:40819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUMDe-0005li-Gh for submit@debbugs.gnu.org; Sat, 03 Sep 2022 02:01:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUMDU-0005kw-37 for 57499-done@debbugs.gnu.org; Sat, 03 Sep 2022 02:01:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUMDO-0008Us-Qn; Sat, 03 Sep 2022 02:01:10 -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=UfR5x+uItSAJH3Q3K7u+ihsl818rkVK3NzeGmI37po0=; b=hREX2utn4dTB vanoBeLENaBZ23oO2iNmjmMMRU3NQbKdMK3LvMTgRTZHq80P+GAiymToKKe43viV6mM4STbAyYRTu XOWYNXsI2ap1HYDc+ZooCvv0lPpC+2XEznwqRLGa7TlXLS5honB9bkeq/KG+zLdyydMCH9Iq5iIyq 9GmZxrSJ/r1qETgc7kknd9KYSMt/J3HknSchIt0Yod+VqGuc3lgn3SECWkexECps+QQaYZzFVEHV+ brTm45HdZxAfcJMvHL/UoDPJ+YcERupc5gF/P7FqjQvlt+euvbDZzlHdC1u6BySDRlybjKeCBVxFS UgJ5BCsijzs5IhTr7Rr3/w==; Original-Received: from [87.69.77.57] (port=4870 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 1oUMDL-0003mU-LG; Sat, 03 Sep 2022 02:01:09 -0400 In-Reply-To: <2f302d1c39d400336ae6@heytings.org> (message from Gregory Heytings on Fri, 02 Sep 2022 20:48:06 +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:241368 Archived-At: > Date: Fri, 02 Sep 2022 20:48:06 +0000 > From: Gregory Heytings > cc: 57499-done@debbugs.gnu.org > > A last suggestion: I think the docstring of set-face-attribute would be > even clearer with > > call this function with FRAME set to t or nil, and the ATTRIBUTE's value > set to `unspecified'. > > or with > > call this function with FRAME set to t (or nil), and the ATTRIBUTE's value > set to `unspecified'. That would miss the point which that part of the doc string is trying to make: that using 'unspecified' with FRAME = t does special things. Explaining that is the whole point of that part of the doc string. > Just as a reminder that nil "implies" t. Such a reminder isn't needed because just a few sentences above the doc string said that nil implies t as well.