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#54156: [External] : bug#54156: 28.0.91; set-face-attribute with a nil FRAME doesn't change the default Date: Sat, 26 Feb 2022 22:47:41 +0000 Message-ID: References: <87ilt3456u.fsf@cassou.me> <87ee3rxhuj.fsf@gnus.org> <83ee3rqgia.fsf@gnu.org> <87y21zw2ll.fsf@gnus.org> <83bkyvqet5.fsf@gnu.org> <871qzrw0ni.fsf@gnus.org> <838rtzqdt4.fsf@gnu.org> <87bkytvfcz.fsf@gnus.org> <83h78lps6m.fsf@gnu.org> <83czj9povl.fsf@gnu.org> <838rtxple8.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="29085"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "damien@cassou.me" , "larsi@gnus.org" , "54156@debbugs.gnu.org" <54156@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 26 23:48:13 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 1nO5rI-0007Qv-8n for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Feb 2022 23:48:12 +0100 Original-Received: from localhost ([::1]:58950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nO5rG-0007dZ-IB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Feb 2022 17:48:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nO5r8-0007dQ-PM for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 17:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nO5r8-0006tH-Gk for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 17:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nO5r8-0003vb-8F for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 17:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Feb 2022 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54156 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 54156-submit@debbugs.gnu.org id=B54156.164591567615084 (code B ref 54156); Sat, 26 Feb 2022 22:48:02 +0000 Original-Received: (at 54156) by debbugs.gnu.org; 26 Feb 2022 22:47:56 +0000 Original-Received: from localhost ([127.0.0.1]:56426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nO5r1-0003vA-Dn for submit@debbugs.gnu.org; Sat, 26 Feb 2022 17:47:56 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:4494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nO5qv-0003ub-A6 for 54156@debbugs.gnu.org; Sat, 26 Feb 2022 17:47:54 -0500 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21QMi9JY015409; Sat, 26 Feb 2022 22:47:45 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=NkTmnM3ey6mqlsQd4z4IvQ7DIT1FhPnHbpXfMnnghys=; b=A3Ku+sFl+Bcv2tRKwCKXPPoy8PUz5oLRwkGJf9tu2cKrosOHlAZoDsFlHcF+zLtoM7Us y0UC965JwOqIFYZpa9h8a5IJKP/kM19bpo5vzfXXlk/wqYWo4i4aHVHjaX4CfXxHZhsX NGi4Djt7BjNHHzuZJRgHJx2bh/HCntSTRgLCuQH8KAGmpMxMyOY/88VU02J2lCUFk39x 8uKXYtgzY9ZxYBxGHraVr+pX+4uPgXpdibGVcjbdlz23AVjHte0L0SoViFBNeea8x6Nl thsu9aAQHFH7guztOVnaqALfknFoFr3WoaE9xQBPsNHQ5FIGo1qxGq5sMBq2oZbZ12Xr dw== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3efc3a98ub-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 26 Feb 2022 22:47:45 +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 21QMkwaG118099; Sat, 26 Feb 2022 22:47:44 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2170.outbound.protection.outlook.com [104.47.57.170]) by aserp3020.oracle.com with ESMTP id 3efc11p9wp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 26 Feb 2022 22:47:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C1SK5zLhgezUh22TCY3UJG1p2lHdI/hYz3KlQe+Z9jY66+QrdD2k1VOSMITjANMhuZa5NO759nc0B93athvSUG/SecMM+T29XM0QPqdNJOHujUHWWFt4CAorDF2Ox0zObA5BjPXB0hB7BJcOrPAjnhFH7/kFn3Pa6EYV3gLhtbbVeogRUyUo2yZ7n4Kntzqjm6Zq/hndSyuQnPbAGlCF/Yg6j2tZ41Z94lG5ZQY2mP4W9vTNd3Lts30jEq8vn3sZzsuFhilZKTvXMCufNFX5Pq5hABaP9wF8F2PsvykcP0RQaL3jT68mBRrk9S3+jx9p0XuWJdEauVjXI/wVbzSmyQ== 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=NkTmnM3ey6mqlsQd4z4IvQ7DIT1FhPnHbpXfMnnghys=; b=dgrI8Y27Z36z0ZuSwX5J6yyr6W7o7uJ+tI+M4u4ieunBJpWtq5104htYIBODBJqFtDDkxkwKlBwhrcqSsTELS6CQO4Vi8zP2M8MJCuYIPLpmb2SmNM2PYpmG+I0nt4DBmB2FYZTGiU2X+qErVe57T0JGrEdDyXfyTQfs7Ac+w92gMbtdQbeym5Ohq8G9GSlAjUna7+to9E2kIcJcsIXMKZmtf7v25bfPhiPZdUK5M3R4Cbb+mM7gDAd7ddn4YlenPCrBaBhAhHTiDgJWfWslMmRHuEWe4wZlUNBfgzRjtYQ/ZtldfrrWLFh6iKproxgx3qWButCCoEPByOWoNl7Weg== 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=NkTmnM3ey6mqlsQd4z4IvQ7DIT1FhPnHbpXfMnnghys=; b=eXRXVnZR1mUUsBVu+UAMHBuHljSAUYa40B1uGqrNCNA6xTUGnin745Dz2rehx6GzhUhtd+saX2bXk3O360orBoY2LHypIW/ztN5vKIFVgtZvUMXbBg32LthmpRCngZuUSQiM9y3kBNJLIwH7morltnhDDJI0x8f4DpfCm2AInQ0= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DM6PR10MB3225.namprd10.prod.outlook.com (2603:10b6:5:1a2::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.25; Sat, 26 Feb 2022 22:47:42 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::f811:66c9:41ab:df79]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::f811:66c9:41ab:df79%7]) with mapi id 15.20.5017.026; Sat, 26 Feb 2022 22:47:41 +0000 Thread-Topic: [External] : bug#54156: 28.0.91; set-face-attribute with a nil FRAME doesn't change the default Thread-Index: AQHYKzofeHBjFnXFmEm50fG+CVEF0KymbJjA In-Reply-To: <838rtxple8.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8eb3172d-a8c9-4dd0-3e05-08d9f979ff4e x-ms-traffictypediagnostic: DM6PR10MB3225: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: IhgGAOv7+aFq0u/2tkpUKhRUpjKcF2oim7dMPePvIv0LVcWu37AV47jwHP8QP+DkyTKYM4uEt/ZuAH/9NkuxqmZmvn06qkNLiZTOdJcw+mLnLYhOsNrLksfSN/V4MvkMDtnFMMUgRn+KjtU2q3y5S3RYrnykd4sGon4rtTZuk4iBf3EpXjNRPyqHgOgXQRELvlI8NUeUH5XRN+kA8zNRMeOZPqQavB2gvVoL/XL508/neDZzFuWWKfHPWQ+UPXEK+eWczqersMmblDTmVxrQgLsU0WiBlfRJPl9K13fQ1zr0fNOhbGIrL+gbPSInLYYy6DeCoaJrULHb2kGdyaBqYwz6UUxQRRUSPuEN43AtUJ4M5DG3OzipQ8lstqSBcfR9oLgbXNPELw36nglhM7JdLTNVsd0OnchS3IoteWkWCgiPYdZ6HQ1sDQsb5jEIciF4umTiV16wALzh+Ie7/H2KGlN2qvxjTw+54PqPIWJ3G7brkT8d+3TSdNIsZKRGqC6VwnukSXHgsZVCLCLybSre/kc10U1N9BDyxFtQJ4hHc/I1jmzbd/VjfGTLHIQqZXiEH6UzOM88/8UQ6NN83vvLmpa18P49C1f37RcxY3wslqAT+yGOC8L/RZfMHAzcCRh+6S0+hbyD+0efp7Jis+THDwnHEG5ytAA8j5LupMldtHLtiV6Z9SJ4Psv+WvNLLlwcuYBF/F3Bg7zVT2Sg9uvBgg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(2906002)(38100700002)(44832011)(8936002)(52536014)(5660300002)(122000001)(86362001)(7696005)(6506007)(4326008)(26005)(33656002)(8676002)(83380400001)(55016003)(38070700005)(66556008)(66446008)(316002)(54906003)(6916009)(186003)(66946007)(64756008)(66476007)(9686003)(508600001)(76116006)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: F0YJyknYZshpEd+b06u32VVpqCjWStvPlqQ/xJz65vXkNl3uq5shz/hRAU3BhdO0pkOYrc9JJNaiRZuUDP38gN9wrnZhtuSnf5XMbECiqq6t68DcqQSBhepIn02XTYfBi13izk2fdYA/LEc0Z8/brbpm/iDORBe+m5boxgHB1TU84XxmE0bmSw4NMZgXm8kfimqtc53aE1adNUVgqB5FS+mk73ItMHzeesPV+h9pY3w8EuGDYlJPZ7a+sGByz/HEvU0m4h74aQLnVsoCStVLB4kWsMo65saBd61uvOgOSdC07ahk9XLBG/8iLtHiBGxxHKDUgir/U2LWHMgw314srA2BzIRQtl8irQt4lIdNMkLJ/CQZ+jOtXWNnMRjBa27JVFmKh4Yg08d7Zax2c/IQnaR154EsqSjuCBcAGc6r5VkohOI/p9jiDb4lrLD4xKFp6wMrcoS9UGSeM1sqbJEyvcumMb+RLuYWAB9Cf5VNaQBUwn2ZeHJI79P5B5/ORg7l/3TLY9k8MOJ12auXcy1NI6V5x6FTvtnOFRj6M+g3MiSUXrosda8fEug+klYlhsw0OKkOO7Ofdl6ujtTrtwN0UL3gq0NUFyk/1kF9NpPcm58KBNyfsFeJQKe0eoOmNnmjyEagmZKQj4MGIl4CopOFOtHxQQPtXOnVjPOZ9Nb2ykLVNOog8eGgdH5JX9QsbBt7wSM5rxA/QDeW7cZY2JZcPfeYU7RymFN3N48ox4xhshuDccW4zJvqexyseq Vxq3ZBMVOgxfFscBLJXZh/T20Lelm1DuS8aO6hFwbdbLN3g6G6pbY9rsXbfmA9TxacQcZliwpwz3nt+U1beXE5en9jG/lWlShS X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8eb3172d-a8c9-4dd0-3e05-08d9f979ff4e X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2022 22:47:41.8688 (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: vh6+U5lBX/5T7FDbfbcK+/XwOTA71vSj9dWXW6VEYOsVmPoVIwpgm5z4fJ/2iWA4qMIeERReiUT3mgktr2MJDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB3225 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10270 signatures=684655 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=757 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202260161 X-Proofpoint-GUID: AEOlRAm7bhjxfJFJf551Pgmbz15LSqMg X-Proofpoint-ORIG-GUID: AEOlRAm7bhjxfJFJf551Pgmbz15LSqMg 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:227691 Archived-At: > > But is what I said correct, that just using nil > > as the frame makes both the existing frames and > > future ones use `unspecified' as the face value? >=20 > If you use 'unspecified', yes. Yes, what I said was that it seems using `unspecified' for the face attribute value and nil for the frame is all that's needed. > > And using _only_ `t' doesn't set the attribute > > to `unspecified' for the existing frames, right? >=20 > I didn't say to use only t. I didn't say you did say to use only t. You said to use both (separately). My question was why to bother _also_ using `t'. IIUC, `t' alone doesn't help with existing frames (I asked for confirmation). And nil alone helps with both existing and future, AFAICT. I was asking for confirmation that what I reported is correct - there's no need to also use `t'. > > > We generally don't advertise compatibility shims for obsolete > > > features, because we want people to stop using them. > > > > Is it declared to be obsolete? We generally do > > let users know when something they use is obsolete, > > e.g. with a warning. Do we do that for this case? >=20 > It's considered unsupported. We just silently support=20 > it for compatibility with old versions. We could still do that but also warn that it's obsolete. It could help to show a warning that lets you know that (based on your using nil here) you likely want to use `unspecified' instead. Isn't that what we usually do?