From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function Date: Mon, 27 Jun 2022 15:28:17 +0200 Message-ID: References: <71C43639-B441-4BD1-93A0-C8DDE1389529@acm.org> <87edzawcv8.fsf@gnus.org> <6BBB5BB7-3552-4A98-AED5-96EF3B688B4E@acm.org> <87zghyuvh9.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) 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="13579"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philipp Stephani , Nicolas Petton , Stefan Monnier , Drew Adams , 47425@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 27 15:29:15 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 1o5ong-0003Bj-4Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 15:29:12 +0200 Original-Received: from localhost ([::1]:43042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5onf-0001Ea-3W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 09:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5onW-0001EQ-PY for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 09:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5onW-0001D6-Hk for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 09:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5onW-0000j1-Fb for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 09:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jun 2022 13:29: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.16563365112750 (code B ref 47425); Mon, 27 Jun 2022 13:29:02 +0000 Original-Received: (at 47425) by debbugs.gnu.org; 27 Jun 2022 13:28:31 +0000 Original-Received: from localhost ([127.0.0.1]:50321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5on1-0000iI-GF for submit@debbugs.gnu.org; Mon, 27 Jun 2022 09:28:31 -0400 Original-Received: from mail1475c50.megamailservers.eu ([91.136.14.75]:58294 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5omx-0000i0-Gs for 47425@debbugs.gnu.org; Mon, 27 Jun 2022 09:28:30 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1656336500; bh=VdxgYB0ruzeiUcoZ2U3yzf2mXdlJLolP3LdVHbzd01s=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ZkSNvsbJ5hF94hvdNYImded0nUg+rCJp9eXvv81OLJXqdC1t5f6In8QamSyg2DFK5 rgGA8Ay72lUiLWZtZY8WeKI+5F6uRK9xNU2D1DgSQboWMz7d4e3IehIR7UL1xUV5On l0x+31+P8XY2MAEy+ugF840ze+3/kwnXKFSNBoqY= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 25RDSIb4038725; Mon, 27 Jun 2022 13:28:19 +0000 In-Reply-To: <87zghyuvh9.fsf@gnus.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Origin-Country: SE 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:235456 Archived-At: 27 juni 2022 kl. 14.44 skrev Lars Ingebrigtsen : > If you say "I want the nth", then, yes, it takes longer. But nobody > does that with a plist or an alist 'Nobody' is too strong (done it a few times) but yes, it's not a common = operation. But the point is that alists has several more advantages: counting = number of keys is twice as fast, iterating and/or transform the = collection easily done with mapcar, mapcan, dolist, mapc etc. Plists = have no real advantage from their structure.