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#45264: 26.3; `face-remap-set-base' seems to be bugged Date: Sat, 19 Dec 2020 21:40:06 +0200 Message-ID: <835z4xtwix.fsf@gnu.org> References: <<>> <<<833602umgb.fsf@gnu.org>>> <<4efb5c63-6636-449f-8e2b-4b8533a9cc8c@default>> <<83a6u9tyh1.fsf@gnu.org>> <8397c6ee-966d-4d34-9a64-2dde3515cedd@default> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26220"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45264@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 19 20:41:50 2020 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 1kqi6w-0006iQ-8G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 20:41:50 +0100 Original-Received: from localhost ([::1]:44140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqi6v-00013I-A2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 14:41:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqi6A-00012N-5l for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 14:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqi69-0006yW-O1 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 14:41:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqi69-0003Be-KY for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 14:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Dec 2020 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45264 X-GNU-PR-Package: emacs Original-Received: via spool by 45264-submit@debbugs.gnu.org id=B45264.160840683812213 (code B ref 45264); Sat, 19 Dec 2020 19:41:01 +0000 Original-Received: (at 45264) by debbugs.gnu.org; 19 Dec 2020 19:40:38 +0000 Original-Received: from localhost ([127.0.0.1]:43211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqi5l-0003Av-QL for submit@debbugs.gnu.org; Sat, 19 Dec 2020 14:40:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqi5i-0003Ag-Hy for 45264@debbugs.gnu.org; Sat, 19 Dec 2020 14:40:36 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60485) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqi5c-0006fo-E6; Sat, 19 Dec 2020 14:40:28 -0500 Original-Received: from [176.228.60.248] (port=1722 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqi5b-0004cL-Kv; Sat, 19 Dec 2020 14:40:28 -0500 In-Reply-To: <8397c6ee-966d-4d34-9a64-2dde3515cedd@default> (message from Drew Adams on Sat, 19 Dec 2020 11:28:31 -0800 (PST)) 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:196421 Archived-At: > Date: Sat, 19 Dec 2020 11:28:31 -0800 (PST) > From: Drew Adams > Cc: 45264-done@debbugs.gnu.org > > > > The confusion is from the doc not saying explicitly > > > that each element of SPECS is a face spec, and NOT a > > > face. > > > > SPECS has no "elements". SPECS stands for arguments to the function > > beyond the 1st arg FACE. > > As with any &rest, you supply zero or more actual > args that correspond to SPECS. The function itself > receives a single list argument that corresponds to > SPECS. > > In the function body, variable SPECS is a list. > And as the doc says, "Each list element...". The doc string shouldn't explain how the function's body sees SPECS, it should explain how to provide those args. > Please check for the behavior bug I pointed to: If it doesn't work according to the doc string, then yes, it's a bug.