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:40 +0000 Message-ID: References: <71C43639-B441-4BD1-93A0-C8DDE1389529@acm.org> <87edzawcv8.fsf@gnus.org> <874k06wa5z.fsf@gnus.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="25321"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Philipp Stephani , Nicolas Petton , "47425@debbugs.gnu.org" <47425@debbugs.gnu.org> To: Lars Ingebrigtsen , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 27 16:40:42 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 1o5pur-0006Ly-QH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 16:40:41 +0200 Original-Received: from localhost ([::1]:34150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5puq-0006Q6-Dd for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 10:40:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5puG-0006MG-6X for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 10:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5puF-000454-Ts 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 1o5puF-0003Bz-QY for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 10:40:03 -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:03 +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.165634078812212 (code B ref 47425); Mon, 27 Jun 2022 14:40:03 +0000 Original-Received: (at 47425) by debbugs.gnu.org; 27 Jun 2022 14:39:48 +0000 Original-Received: from localhost ([127.0.0.1]:52978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ptz-0003At-Pr for submit@debbugs.gnu.org; Mon, 27 Jun 2022 10:39:48 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:32706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ptx-0003Al-6Q for 47425@debbugs.gnu.org; Mon, 27 Jun 2022 10:39:45 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25RDd7hP031758; Mon, 27 Jun 2022 14:39:44 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=LmUf09MJtD2lEiR6OSHk28YMdMk0qJHtMzCJrTT60Oc=; b=OSGRgYltc41+yy1r82FJ+ZSHks6Gle+F//BywRaJc3PG7rlVeRJVK/zwnr4nC3f/2tYy SjK3klrmt+C/Ft1M898f+41d21d3L8WDw8mLnESLR8E7p6YIIAG89lk8bZrTl3ixM9Qy qEl4qNI80LqweIyil1wjhf288+hACay2PZ5Oo7CJ7L/OAuYYIMy731C5CrmSOzZTHqAU HGWUWjb2oaaPIGnpm620m7Y0sWVyStBWFYalbyD5Vh0GzrH2S8imRIjG1IvTtC8zerOU oBvOjwF5ClUdNmMiSlbx9VfXO/xImRqbUszEOGnFIVABgAkNkuUpm5nMNhQyjQ1Dxs9l 4A== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3gwrscbe25-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Jun 2022 14:39:43 +0000 Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 25REV00M036183; Mon, 27 Jun 2022 14:39:42 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3gwrt73mm5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Jun 2022 14:39:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VbCYshP4+QF46cLxFTerspfiFlGUPfK6JncRu/SNCrP4chVEGp93NszO3QHIEuNYfckJlxx1Dmo0piS8IY5qJXDQG+3pxveLyKLHBYGe60uSGnNnSU91ErwibANwffXJ7TC+Iw3GgOie7JQhO0cLlyyjxzjiogfBfgu4CUrECsGynyk8N6O1BpNcT/HqdbX2idAcOEGtNfJif5mg5uhCXtowFuBIUHIfL3CNR/fcmm1Za78T00WzM+OJQyvQqbciHjdtM8PlKg25yYhEJxDtcohHLP4CQxAU9oRQ6LK/0BnH0489OjOLtHXAp0oWZlq2PCFcCtoFUJlOF1GbXDziOA== 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=LmUf09MJtD2lEiR6OSHk28YMdMk0qJHtMzCJrTT60Oc=; b=OrUd4Tym2esU6lh9AGVEBvDccm7C+NV7sb3nwFsQYpAkJHdk2cD4uNMYm93XiLA19sXIODMZ8PKy3DKH6KrGe9pOSCzogOSlwqYFGm1zdlK2MjNpRsISIpcJPK7LL70G+wqZvc8cFWY7lAMhqMrfaV5QzglfP0j9j5+qLE7fJRV0eyPw1gDDE/40HJsTgyJ1l9+CySe4KsPQG94rtbfAPq0y0bfAFExEzh/lCCQ40xyuKjPJc+w32Ow7t/I+7Cj8SxoGWW6H4oY0SKsiRXZmFZ53fteYzd+nR6sYGKfvRmL6xPcCnrTCM/dslzdZoY+lkpG+LK24NRB/b/cNZhz9iQ== 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=LmUf09MJtD2lEiR6OSHk28YMdMk0qJHtMzCJrTT60Oc=; b=bF1kkqsBnbogZYZzgjC075uPYQnIyauCvomPpl7V6SDQNxVqgGB7+rqomOFDkaOLzg/Bjq3icGlub7jDuEKDXI80/OljkaKcv6koGJXrjOROCfoL32o9oYTCo7wdPyPxfZa9PVXjqfj4PuD0/yRvxaJP2vJwaT1aOmsBQACqius= 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:40 +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:40 +0000 Thread-Topic: [External] : Re: bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function Thread-Index: AQHYijO61iA+JEWL2UaASfnLQYYZcA== In-Reply-To: <874k06wa5z.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 84f7f1ac-a62d-4348-7cc7-08da584ade04 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: ZSsh/q25s3RYlQel1Y9qkFMDQ2PcPMFU41a+yXnTiykdRW8xvNrycJFERgld3YTPDnO1No8KiiZHff3s89hFEcGU0bdmPs16aJvG5490sPXUp624FjZ8daSsbXCu4jIImVB+mnIUsOWdAe4WM3FtiFkNLtNVsn7Iw1D1tv6/D1XxVsk6NGlDG+sMuVdDmYQrAgMbXth/I3/Swi6HuqE/DC0MrCGMljDv7nQeGmMM+6qwTAbiac2WgvsWrJW+q3DrcPWxqVkilrhlXPHWet/kRw64Z95pIDVw7cICNqIPH03/+HvVomY4H511FTasd+Ymkr89BAvCHFHdRrC9FO4u3l00h2XpsmxD5YiWIV6WVdEKcnsze0gPaZrF0Gl/pzEfGo6PjgUQDpPVulJY4OY5BjF60U3NZ5oXPjyOHDyeXpJ6DskZHdOJUYNKBs4AZOBNZle9Yvm0Uedbi00sXhfoJ+Iee2C73t1iHzy+CDAOKsBs5yb0+SGQgguawnJT2r0JCynRwt97x0F2UBYf3yeOolvuVx+9yjIUnu0BurHsKpxQwBxQRSD4x/wCwfx5s8JMFqz0O74Me7DkYC97qmzHYcpeb2+x2JDNa6G1Ih+prvigqyGPq2ZNo9aP+w8bUXjnxOUP2NDmv3gW1R8zg0O0AM6l7k+teCae1KuYEKmQiOO3FMADceL3gA8kUxM+coIcLjHMpW9eWQzrEiDFYMJ3YlepzIubSJYoAKSF+Zm4Aq1uL/w/ktIuMWd5jjFvn 5eSZEzEZhHEL6okED/XXnMeytS/cn3Ff5zkmOjYhbvw1f3mR3g9wzCmeYN8jXFdyY3L/f9UBU9cHzWk1389AiBlLA== 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: db0itF0O10/FdXwHGOyxTkA1eELG678NtyJwrFLwE8VR25FDH1vq+wArizgkBoNphCHj7kHU6PHmRomhk7WyoqXleB3xCE9lNi1JaalhsEKdRsp7kUUUp/1+56h7eW2/C8kt6srAIHZ65loVo1gB7qko4Fp8joWn3nBYbsGZPRBaqXcYQAByUOaamfz4KUqOemSWVlQe9gyZNU6tOwq87clf0x1BezzUswY3PMiFVPDMspu/pMVPxEoLmyBW807qoH2hyOCAV7xwz4/J5wtCIzu6gB5Af5E8uMdM0UUEbqVNb2l6D6UDcW8Bm4QQNXfgQWTvhKe8pxtwGbo4ODPjXDS1Lyn0PMAwi8T3nEAAECccL/+Gk3QOsK0L4yPeHiCOH3Bhn4OpVJ5lYrL8HAsiNsPfchDRTPC9LrgStvVLgjKVFKD9ycsEocsmmnWofoReA/rvSIbBK4HD5/av9Z4PPlflGgJLSj9XNQJ1ymlwJ8aIEKVegCX9ZT/jbQqof3JWzGwPaTJijiA/EpiiC+U0BZn0HgXkp338I01IxmxPMXWbtj0RktI/KextQd6xeXufSgeMcQSe45h21OV9YEMquEIydqXKrj2PjRI4Sb9IOEb5Gam8apVG2dI4wIF3J5ZIvX8F5nrowmCJJoab7tRrj5cZNk1FT9QDsjt0YpM/T2ETM2tPHAsoKNPucrdXyMZCkaR8nH/0iKkqD6RT9Y0/DZZ4SQdYZQfLDYtQjlwxBFJK9F3ILB4YcQDbg1 VRaCk8t4muD4lu50cwfBmyAPjEswZEsvQ/h+MuHVWKzd7jl58IABSL7RvA3CuWzc/ysbXz0VuixzfE9egmLR8JGwHXkbugF3em 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: 84f7f1ac-a62d-4348-7cc7-08da584ade04 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2022 14:39:40.1538 (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: 32wmAw48wxRLsRzAGltGFyjRiQe6oHdQ/yC9XyEYpsQRe6fmvQ+LSwywXBsB5SvLSmlwWlF7tP1uQaYY+8Jpdg== 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 mlxlogscore=429 suspectscore=0 mlxscore=0 phishscore=0 malwarescore=0 adultscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206270064 X-Proofpoint-ORIG-GUID: b8_vyhI-cIjrXSefs_Nf1HzU5HW2uyT4 X-Proofpoint-GUID: b8_vyhI-cIjrXSefs_Nf1HzU5HW2uyT4 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:235463 Archived-At: > > I'd be curious to hear of a use case where plists are better than > > alists while at the same time requiring a non-eq comparison. >=20 > They're equivalent in features, yes, but people prefer plists for > simple structures because they look nicer. I'd say they've proven > their popularity over half a century. Yes, it's about recognizing that reality. Unless you're going to somehow _prevent_ the use of plists with keys that are other than, e.g., symbols - in particular keys that are strings, adding a TEST arg makes sense, IMO.