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#47425: 26.3; `plist-get', `plist-put' should accept a TEST function Date: Mon, 27 Jun 2022 14:39:35 +0000 Message-ID: References: <71C43639-B441-4BD1-93A0-C8DDE1389529@acm.org> <87edzawcv8.fsf@gnus.org> <6BBB5BB7-3552-4A98-AED5-96EF3B688B4E@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29773"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philipp Stephani , Lars Ingebrigtsen , Nicolas Petton , "47425@debbugs.gnu.org" <47425@debbugs.gnu.org> To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 27 16:41:41 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 1o5pvn-0007cv-VL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 16:41:40 +0200 Original-Received: from localhost ([::1]:36350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5pvm-000826-Sg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 10:41:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5puF-0006Ld-BO for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 10:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5puF-0003x5-1J for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 10:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5puE-0003Bj-VN for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 10:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jun 2022 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47425 X-GNU-PR-Package: emacs Original-Received: via spool by 47425-submit@debbugs.gnu.org id=B47425.165634078412196 (code B ref 47425); Mon, 27 Jun 2022 14:40:02 +0000 Original-Received: (at 47425) by debbugs.gnu.org; 27 Jun 2022 14:39:44 +0000 Original-Received: from localhost ([127.0.0.1]:52974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ptw-0003Ad-Fm for submit@debbugs.gnu.org; Mon, 27 Jun 2022 10:39:44 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:23298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5pts-0003AN-KW for 47425@debbugs.gnu.org; Mon, 27 Jun 2022 10:39:41 -0400 Original-Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25RDdEhV002135; Mon, 27 Jun 2022 14:39:38 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=Ayx6jpjpLwKaQKNbMb0BXVWbbx45yCUVnDbeabhzccM=; b=RzMsNLkmO4gsdQJc5TRLgBPdRn1O2B7OsJYn5Eq6c2Q+uIoiA7ue6lKfRS/I7rhXlt38 DQ7ri7iP75vqBEQIj7fR/zUK+vpDyHiSppnb7f8HkR8vfpRYyNO2VWuzpOwaTlHUX742 Ay4EsDViHBfwQxtgDVUaKrgZwMa3tc0Pbe+pkp7lbV9KzzSagfhYYRns7zV1MyhZVRCq okRCbIKfYO5c3mUuyBlfhWv9NXU3Ou1jhCj1VGdz1AB5BV784oHu9CxXHZhjvIre3gKn 8G/82pps4TMaAPTrE+7npY8Q769j5uKEfulvZISGEzqr9HcWQwYbkdsZQrI9n6c/HXJV pA== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3gws52bdtn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Jun 2022 14:39:38 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 25REULNU038721; Mon, 27 Jun 2022 14:39:38 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3gwrt1bww6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Jun 2022 14:39:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SZAuMeMf7UIOVQBAaG/IbyEb/64mE222AtPHDq2LXRufbBXKI9yf+hZS6XarQaKNV8ncMaF3roJ48nRx4Mu+QbEQQtNfODzAI6HgO0q5+vJHao9x3AGoaiMmKYFNGLYKGH+r/mjrO0wlFiDKL9hB4a0FxXzCxApmnMczUbfM8dIXmdFlbjq1gbU6Bkip43PaqKJWh+bPHkvti1O+MTsPeNVF14BEeqD2EqdzckjJPryds5OXV7A+hLAYBeLpoQEWD9uG9IGvKySbDLbeEqTa0er5fvIbWQ6Y/k/MNve7sjgMm9yDT/pCzB0fg/kecW+r9+IK5emtsPZW7LzIfVNUaw== 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=Ayx6jpjpLwKaQKNbMb0BXVWbbx45yCUVnDbeabhzccM=; b=EQabZll0gsv0WpekUjXQPrBP/IRQS5uAW91BUh3rlhIyDoxxiCDlYBfNCNPu5W2Hl3tCCWOyCYAuMdvmwGo/Tt/6CWK+UBjWblfJz+QDHVVf/jvzQxInD3ZHO+twRZAgQt8VvLuAS2gTTWj27uSSqe+DX2ulb7n/GMnCSqoIgniQZTadnOliF6sjTN9bNP0we35W89eW80g4hjQW8F45dMuXjMj9FY7eO1iVKcCAhwTuNQhY9uu4Cl8FHoOIezdOLnfqoN8b54kuRM4Rj7JbXPVbJxAVD/Oe2Juj6IlftV/vuutgmRREK1XCLcp/KUADrnRG9uUY8fw40jB3Eez2jA== 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=Ayx6jpjpLwKaQKNbMb0BXVWbbx45yCUVnDbeabhzccM=; b=PYf/n0ZCpkawu7PksZV54c6XArPPfp5Mts6SeeaTMf6ru0VIUYc9nKDzNp0KLIO3oBQB58gy2x9DrZelWy2cfeuqGUsOqIqJUt9vKwb7x33UjBLZR0S/N4/PcT+pfpkKL11Pl3n+9T8MKkBJuE5fyQqEM5fWckLazuBB4fNatik= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BN6PR10MB1364.namprd10.prod.outlook.com (2603:10b6:404:3c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.18; Mon, 27 Jun 2022 14:39:36 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::581b:ae2f:16b9:80fb]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::581b:ae2f:16b9:80fb%6]) with mapi id 15.20.5373.018; Mon, 27 Jun 2022 14:39:36 +0000 Thread-Topic: [External] : Re: bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function Thread-Index: AQHYijO41iA+JEWL2UaASfnLQYYZcA== In-Reply-To: <6BBB5BB7-3552-4A98-AED5-96EF3B688B4E@acm.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bf0973f5-18ba-4191-3f59-08da584adb85 x-ms-traffictypediagnostic: BN6PR10MB1364:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hklR3aYDG7uFNQ9l2IsAE/THGIwXxpxht0N5M2yF50LyItBMKqN/njTKS6RLqRqtJ2WApT1VqiYnE9Aiiv9rvvnTwSt3OTMibN2hGfViUsa5Smzx+eZB77bz0AOd9ic3F5Wn92blZ+/6giPaOpJMuVMS4IWhrxvqYDqOhiKmCGNnG+x9gJbFIVROf0+AmAY46hJ5u/qAdUBHU60YcOK99qpx4xusavy6flSm7S0GSVDjIfNXbf/5TBLNs9fVCMMg1jFJgTV4reqQwEO8MkE9fvq9opusEuZG2YwBcvI7cjU9oLtL8TrWwHnFwEX1s58HJHGOiImOG6E/qUET86UrYk1oDG7vFjxVQ9p2EbkKWI1ROvrmvz2yvYQebgED9jCrDJ52ynDQ9IYkk0Vvru0iDOVQbr4wv7y91OdNT3vBRDslY2eBQUZiGKro0Y0KZV5y9Lnsd2SG4uTh8XVZ1JuEnHlIdGjrd9DdPpvHE10XIfJLKqsE7nZMAiPtw4seQcovVdbxz3yY30X6/TMBPmk8oGdJkDmOCWWquoVKJG5ES+1BJnZ4zE5i7ziMMct3QH7lZb7AfEZUvXDjHAU9pKN0Aau42zHVo/Cgh6ODEtijbx71WUKC2soIAILHhSsPptXzMRKSGvVEgecvBkOV7a651cXWvTMO9Fpts0OQIS/vqz/rgd9jzxOtA1ohXnuuhGB+7IV+DshQPNYdi9zBAfLntZhZYZqzQhBq73A67OBczG4xoNfYCyMshovq1win1 1nKLjjYX7yCx7FqVqBSJQYWiWnyZDMX8wwpyUv9aA9KEJLkxnz4/92/Clm5PNjPaPPX 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:(13230016)(136003)(39860400002)(376002)(396003)(366004)(346002)(38070700005)(316002)(66446008)(44832011)(122000001)(7696005)(478600001)(66476007)(64756008)(54906003)(110136005)(5660300002)(52536014)(4744005)(2906002)(186003)(26005)(41300700001)(6506007)(86362001)(71200400001)(8676002)(76116006)(4326008)(8936002)(38100700002)(66946007)(55016003)(66556008)(33656002)(9686003)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: pqBDKoeCxSFcOdoAuEBAcb3FlA2q7/y3+m1Lo6vk9huqJCbgX7J1TkS/qqtq6jYzlr/z4emqY81YvVUmGruG5rdhveHzJ7HP4XBCtSTfq8sLN0vJmJf0pfpy3jiIKazobcPasaTvEnHFOs+EEmiv2gZf8uGmPtrOfvpeyMHO8JrDUaFYEKmqoCgyOFdXzkL6nWELn/xpgOubv6mGcsQl+gk/+5BCZFi2mbnJgDZDm3r+0sQUxyciutmuFFQMeAjMFkOHhaBuE7OeeAl/7gsfW0pYAUN6/+ejF7eFP5V+SNI5PkoXROuTT1tBgpyftEHFou+yWYUVzCR5XNCtmBrianLRTH+nptuCqJ0g4Z14vzS1CaqQotOb/DCud/S5aoOM+Y2iG3ISGZaz3/7x+65wvN4WDc5OsiUcTeepHeTRIfJs5sec5mw/T6ZmyjiUeEcImMaIGyPVrgYJMjHakXeXAlauWWSyomp4An6SVbOkRBG/ubFAubug3IrY0/M6fCvxbkneegOvfe4rrN8eGhKphum85pqGbd05EGSH8o70pZ6QdXxWQAnsNTYO57/5IP/m5KVQ4jCX3BF9CE92Zh2nT5MOlieEiuyFT08xE6PLdCbd4rXtaIpZwLFxDwykrxA72+lnvNsKrp0gbwGPpoMloYFDRrb7dOAq8ctTIOajxrRI8HLtOwNpg6RHbMCAN6w/0GONfvZlgVMXu9WHP8i0N5SXDnC6ZT8XT26TE6lPlswgRs5b6xtgzXmQNt tdARGlT9NIBl8ClWuNIWdZJBajCaIqoI/hKUcJW76ulk+kXe0PZFg0JoQ4ICpteJhQCY3mEk5ZFwo2iBmYY1DuPEWOxHpZEv/w 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: bf0973f5-18ba-4191-3f59-08da584adb85 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2022 14:39:35.9644 (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: valHlz1fnrKmoLgubDw8j7d/CTe4+9nJjwLHqRUG+QHWFBoFOLQbxz9rrQwTGWi0+iA/LCBx0auXZaETbNta9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR10MB1364 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.883 definitions=2022-06-27_06:2022-06-24, 2022-06-27 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 phishscore=0 malwarescore=0 mlxlogscore=328 spamscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206270064 X-Proofpoint-ORIG-GUID: qWvykwakQr3SKyhgDGBg9JmF3ImBYIHr X-Proofpoint-GUID: qWvykwakQr3SKyhgDGBg9JmF3ImBYIHr 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:235464 Archived-At: > > Then again, plists should never have existed, in my book. > > They're just strictly worse than alists as datastructures. >=20 > Indeed. For example, key-value pairs cannot be shared between=20 > different plists, and getting the nth key takes twice as long. > There should be no reason to promote or expand the use of plists. I happen to agree. Adding a TEST arg for plist functions isn't, IMO, promoting or expanding their use. It's just recognizing existing use.