From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#54115: [External] : Re: bug#54115: 27.2; `face-remap-set-base' bug with only two args Date: Tue, 22 Feb 2022 22:31:10 +0000 Message-ID: References: <83ee3uu5fx.fsf@gnu.org> <83bkyyu2ym.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26940"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "54115@debbugs.gnu.org" <54115@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 22 23:32:53 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 1nMdiF-0006pl-ME for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 23:32:51 +0100 Original-Received: from localhost ([::1]:55366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMdiD-0000gD-IV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 17:32:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMdhS-0007db-3j for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 17:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMdhR-0000ih-Pn for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 17:32:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMdhR-0001yQ-Np for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 17:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2022 22:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54115 X-GNU-PR-Package: emacs Original-Received: via spool by 54115-submit@debbugs.gnu.org id=B54115.16455690797527 (code B ref 54115); Tue, 22 Feb 2022 22:32:01 +0000 Original-Received: (at 54115) by debbugs.gnu.org; 22 Feb 2022 22:31:19 +0000 Original-Received: from localhost ([127.0.0.1]:42812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMdgl-0001xL-2Q for submit@debbugs.gnu.org; Tue, 22 Feb 2022 17:31:19 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:52018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMdgg-0001x8-Mv for 54115@debbugs.gnu.org; Tue, 22 Feb 2022 17:31:17 -0500 Original-Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21MJNpoX018412; Tue, 22 Feb 2022 22:31:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=VTp/mZelyuuC7G3iPsEC2xTRyf6jtqOTmJdz/KKaV9o=; b=zqi1qv/Ub7uFC2ug7sCsElbvHDMgVf5m+7FsURoBYwxYUplCJjNUVjLRcIGrjTyNiuuE otF4dcqdRUL21FjgJEx8qQcTbnDTUGw0g52tUweuiZ6u7X8rJzfAx2z0gV+96/5+NJ9F Z2gOcd3jvho7rx6NsV0AfocvHxxJ/Xf/ZODWyohBDMvQ8wviI/m2Vg4TTy7bpdh4QGCG beG8HsmehIT8lI01G5OPG51v93OLREu4ilXZxfTKaoeFVs+m4581MhtmrWmsWayheb8W NKEp9oXNUQ/8gEKiX88XlLk48I8zBWI6OA7GgopyWsKE/UDhdnlL7oAMmXJ3ONvN4XP9 hg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3ectsx2j6r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Feb 2022 22:31:13 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21MMUSje051875; Tue, 22 Feb 2022 22:31:12 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by aserp3020.oracle.com with ESMTP id 3eb481n9wp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Feb 2022 22:31:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZBRzTM6y9f2n1x016gI9IzfSf7MLNAvvyWRtaCquuGTBznKJUdjU6kC8njQUQd9nxvXO4xnS0GvEN+OAY2N+0QID2A5BN1f71PmzXv1cm4LvKzVDmiEcrAICUt8MFs2yyngwvMMd70bkGq8gustrmHXOb4HosTro5Ipw8Y2E+s5Y+1oa4IzjaYqL5tnfiz9+rTog9/CFWM/HT3vT+6iAq2gU6RHOD2K/Wjsg9lBgEQ31VbtpY0d9NidORGSqc/sHPpi598bwGZUg9Ukhvu2jymmnTknpiOIkFA/E6rRma9srZFGAWkjaMVhVgd8jhH7Z28GlzL3ZB9FsFngp4IpCDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VTp/mZelyuuC7G3iPsEC2xTRyf6jtqOTmJdz/KKaV9o=; b=Wx6H1QOYwAOPteysO802xk0JTWY/QrirWkC9kB4C3MUhjrEOkA64S1FwAb+hHKroYrYI+lx5LYHgdB/kli0YJJqeiFRhE4h4vTNmJzwD0buAxXFk7Q3qqtcRHHYCCRKh0havTkc3wUCsWQFzigh+17H316VkcSAn2QGu3bnAS7QMONLCyGTcYD05qP5zxDLmNK1QVKU+3qm6i8xK7j72xABEUs1Fu4aPyZwZadznohZt/Y0E5mezdBkjxXrsGDtsELLT3H0Gm3aWKSHkAEL9AsBz214bT+lhi/xv0aShyzTb+9HQ3IVADTMs41Se+mhpypHn3EH4301xNDv8ahFhew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VTp/mZelyuuC7G3iPsEC2xTRyf6jtqOTmJdz/KKaV9o=; b=eETM/SIsMZ8+SllNgjpHZI3j0GK+Jcb+8jnZz221fhvZAooCwQNrun/oVb2pomZIHJvGj6viOduG1/7/MRn/NrxINJDorWyGYCWamFdtF0gzcQBG5Vf0H7gih3f/8OMR/5ZmDB0b2cWH54sY+9fm5mw6A0cwjEXcwXJGt97ouOw= Original-Received: from CO6PR10MB5473.namprd10.prod.outlook.com (2603:10b6:5:355::21) by SA1PR10MB5710.namprd10.prod.outlook.com (2603:10b6:806:23f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Tue, 22 Feb 2022 22:31:11 +0000 Original-Received: from CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::6c6b:6134:db47:2d2f]) by CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::6c6b:6134:db47:2d2f%7]) with mapi id 15.20.5017.022; Tue, 22 Feb 2022 22:31:10 +0000 Thread-Topic: [External] : Re: bug#54115: 27.2; `face-remap-set-base' bug with only two args Thread-Index: AdgoFCV/oxM7+CibQ2mTdIh5FQbJvQADIac7AAXeamA= In-Reply-To: <83bkyyu2ym.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e1e97c92-f2d1-4537-e635-08d9f65306fa x-ms-traffictypediagnostic: SA1PR10MB5710:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FWqNRM1KgyqKQhrEJIDUO/oDbP7HU00rJ09Oa0689e7EC6Gpg5Brk12U9yaBJEYnWHXp89L7UP0L8MzZVAMLOSiK9S26Epl1pGy7atZqrRk3k9dUoWaVGkXpNE5JqnbXhkr3CZw/TkpIK4jz8cyCoL5S/SWEmGgk4TRflMQa5ndSrP5lniWyhmTbKGvBr5VvhXI8GHobgKWpd8cDW19j/ehYz+vhM7Bll9BUxkgdbhyEu/6lRxdOkDkRdblQeNB7+6oJRuLgo78N+z4JYOW4CWqF5WyhieBwoyvtKwj4Lc8tZHtRomMuxHzn7CBTtBFNsBGbwbBIdtowd1iZWmp0CP09HUMrIxuT7tuv6VdMks9RASQhAAMEEiVNIkAlnLQXs/RYftF5A4PmKMiQ3gWt2sbG4BwflqltFR/NAFrXsaMEmJufmrv4UVBNansEXWYxgmH/ELFcZUUUR2mEIRiQ/qz2EFtignK/RztTORmQFSzOHe+ZtuuMZoDWe0qpg1PBdJoWA+d8E+SXEvWcMHn8bcW6IWnHihiHxN1Iy24XnKU/V/MKUm9Olh5B/jOjHgo9aYSmwTdJl6PcAuoHyB2j9QMmIdL9AlnBWTD9V7GitGfZ6htm/pe8URo8SB6LuNHeIhEc8fVixAFrNf5f4/cay8KyAWGgsaLa83RR/pZ1gECEqa0AGr5XfQoxMIis9LIKSVB/XK347zCQ1W70SXdsp+j7OSefOULcGWAvJq2e//Q= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR10MB5473.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(316002)(71200400001)(5660300002)(55016003)(86362001)(6916009)(26005)(186003)(7696005)(64756008)(122000001)(76116006)(66946007)(66556008)(52536014)(8676002)(8936002)(66446008)(66476007)(2906002)(33656002)(38070700005)(4326008)(44832011)(9686003)(508600001)(38100700002)(6506007)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: RP9OKOEjLIfGOvQAvhNvZypNjx4qzDb+VRdU8q7YBeOKz5JEYO0DCCsZDCAy1DmqZxXeSzxLeeV2YAtiIEaT+KUdIwexL3N8lUG4IhdpV8TB7Qa/hlhDmWYLgu2qDq2ZTUteMVE5fstODfqKCdiN4bmEskZYr/kHbIefcbRJ+456SGohK09mMuaFJ5hUoyJhRIwcd+qQOp/3VCwMTSJGJNeTIWUUk8a8762zzqdOmZIumjbNmSubhRFNSZr0Z+YpOq6WFFUElcL6vCaBVuHDk620Vwn3Ip4hoOBJPJBm1WBowzEb8sHZ2T+vy4AC2IglxmVbf+CzLuvNrgO8zgVGL1kf8NhKNMMz/s/039tI35oEjeZ6ici7Rw4txDCbPSF5i0i7ZkpHKstyt8pQnjulRlw0uoI/QdnDrs1Gd1fTgTiCUimgBUky12vXmHLRzMRB1d5HYryhJm59Z53OcX+lRePw/tmCUXYEzUEPhJLaDva/jM4UDj102m5tUN9JZ5a2w5ZNCDktvBFrVpfjmSlKRuDgVWDnMSBCJlg0zfsMqgZEvmXnzOPfdwBBV9M/kqXgIhJFpDMZhVl0hntmzH4ew9Uzc6BZVT7jc48XuXrB3lJV/gElMVEeu+qI+JILwSk4jDtidt0NL56UEipGyrW4im+Y3H86jZgeNKIyiCSvJBKy0iBZuUAaGAna9bzfPgjE8kTmTdTMqSZscGJ3oFudwM48CLpCgiRMJUKQGty4sQOMFChUG+6wJw0uCi PpxhMh+QMNY3hN3LrT70jBdo5MDCMe+OQRyD/eauN038zPs+RkVN4+y8Q3HmnkcyAOlFUOFRpBOrTeQYumSIi+YBLgNiiuQEK7 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5473.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1e97c92-f2d1-4537-e635-08d9f65306fa X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2022 22:31:10.8835 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: k0DZHFuSW1+YFb5RvWxF/iauC25c27WTckWKETKR6rpIVdEHXH5NPxNniFwujeV7dDNvF7+bZTBlX0EfQCV6WQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB5710 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10266 signatures=677939 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202220138 X-Proofpoint-ORIG-GUID: 3ij5398Dn5H6ZQMdj4YLKk9IerlwzZQn X-Proofpoint-GUID: 3ij5398Dn5H6ZQMdj4YLKk9IerlwzZQn 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:227462 Archived-At: > > > How is this different from bug#46973? > > > > 1. I'd forgotten about that bug filing. Thx. > > 2. That's a doc bug. This is a behavior bug. >=20 > Then how is it different from bug#45264? >=20 > > So far, there's been no improvement of the doc > > or correction of the behavior. >=20 > So which is it -- a doc bug or a behavior bug? I won't argue. It seems to me that following the doc/description, the behavior observed is not what is described. Is there a doc bug, a behavior bug, or both? > > And please let us know how to pass a single > > face for SPECS. >=20 > You can't. A face spec doesn't allow single faces. See defface. For defface we say one thing about what a face spec is. But here we say something different. We say here: "SPECS, should form either a list of face names, or a property list of attribute/value pairs." (And note that that doesn't allow for a mix of the two: some face names and some attribute/value pairs.) Maybe there's some unspoken, special meaning of "forms" intended here, other than meaning only that SPECS, which is (by &rest) the list of evaluated args after the first, should _be_ a list of face names or a property list... IOW, AFAICT we say that elements of list SPECS can be face names. And in particular SPECS can be a list with just one element, which is a face name. Do you see the doc/behavior problem now? If this is a misunderstanding of what the doc _wants_ to say, then please correct it to say what's needed. If you need help with the wording, please speak up. Further adding to the confusion is the fact that when introducing "the following functions" (such as `face-remap-set-base') we talk about `face-remapping-alist' entries of the form: (FACE RELATIVE-SPEC-1 RELATIVE-SPEC-2 ... BASE-SPEC) and we say that each of those elements except FACE can be "either a face name, or a property list of attribute/value pairs". (The comma is better removed, BTW.) A careful reading reminds us that this is about the _alist_ entries, and not about the SPECS we see in the descriptions of those "following functions". Nevertheless, we've introduced things with "SPEC" in their name (RELATIVE-SPEC-N) which can be face names. So in some places (e.g. defface) we say that a face SPEC can't be a face name. In other places we say it can. And again, in this particular place we pretty clearly suggest that SPECS elements can be face names. Again, I don't claim to correctly understand what the behavior is or should be. I'm just reading the doc and then trying to use the function as it seems to say it can be used, and getting an error. Please clarify. If you do that here (bug thread) and you would like help rewording, to make the doc more clear, let me know. One way or another, I think you should be able to see what the misunderstanding is and clarify things. Thank you.