From unknown Sat Jun 14 03:48:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31441 <31441@debbugs.gnu.org> To: bug#31441 <31441@debbugs.gnu.org> Subject: Status: 26; doc of functions `(lax-)plist-get' Reply-To: bug#31441 <31441@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:48:19 +0000 retitle 31441 26; doc of functions `(lax-)plist-get' reassign 31441 emacs submitter 31441 Drew Adams severity 31441 minor tag 31441 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 13 14:52:17 2018 Received: (at submit) by debbugs.gnu.org; 13 May 2018 18:52:17 +0000 Received: from localhost ([127.0.0.1]:32774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fHw6T-0001LD-4k for submit@debbugs.gnu.org; Sun, 13 May 2018 14:52:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fHw6P-0001Kz-UN for submit@debbugs.gnu.org; Sun, 13 May 2018 14:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHw6K-0003uj-1J for submit@debbugs.gnu.org; Sun, 13 May 2018 14:52:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fHw6J-0003ua-UN for submit@debbugs.gnu.org; Sun, 13 May 2018 14:52:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHw6I-0000Vl-MA for bug-gnu-emacs@gnu.org; Sun, 13 May 2018 14:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHw6D-0003tr-QU for bug-gnu-emacs@gnu.org; Sun, 13 May 2018 14:52:06 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:46910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fHw6D-0003tb-F0 for bug-gnu-emacs@gnu.org; Sun, 13 May 2018 14:52:01 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4DImENe156673 for ; Sun, 13 May 2018 18:51:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=JPDAdaQ4G2deX04NLkGWakHrwpn+Eme2ZNtzg895W2A=; b=EsiDRdjXhTHNyI/qrbqv/NElYQzbXZOkZ+CGCsTu5eUoqD+3H1hTLI5O3nu6DX5CGoL9 Ie7ZneUJlnvYT9fHrBDH5A/KE6VXdEyYto3i58NvIXWDl27mLkixlWPmJCF5DLmmYL7t 6O+OdyF8lnlwFQt2sBCsM1qSBZC1YXDFdfutlvoY9ZXuuwaYsXcrFi5E+2EXBJwbVLBI r4EFPcOGkFeim8tdT0UZNAPTBUMrTzppjgWIM6kUW4ZfpktFVX/XtPh7Xvkg6znhanB6 77XAppbKJTH/MGZjLAms9H30w70a/Mzs7UMvH3ngwt0dwIFn+aGjmK+qOn5E9xzGWtWa MA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2120.oracle.com with ESMTP id 2hx29vsmj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 13 May 2018 18:51:58 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w4DIpupZ021165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 13 May 2018 18:51:57 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w4DIpuZ4023398 for ; Sun, 13 May 2018 18:51:56 GMT MIME-Version: 1.0 Message-ID: <34003574-4449-428e-8ccd-7aa94d329ba5@default> Date: Sun, 13 May 2018 11:51:54 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26; doc of functions `(lax-)plist-get' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4690.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8892 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=588 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805130195 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) The doc in (elisp) `Plist Access' is mostly OK, but it could be improved. The doc strings of these two functions are not OK. The doc strings need to point out, as does the manual, that `plist-get' uses `eq' and `lax-plist-get' uses `equal'. In addition, the doc string of `lax-plist-get' should, like the manual, say that it is in all other respects just like `plist-get' (providing a link to that function's description). In addition the manual description of `plist-get' could be improved by mentioning these two things, which are mentioned by its doc string: 1. It uses `eq'. (If one reads further then this becomes apparent when reading about `lax-plist-get'. 2. "This function never signals an error. This function does not change global state, including the match data." If that is worth saying in the doc string (dunno) then it is worth saying in the manual, especially as the description of `lax-plist-get' says that it is like `plist-get' except for using `equal'. In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-04-10 Repository revision: c267421647510319d2a70554e42f0d1c394dba0a Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 10:43:43 2019 Received: (at 31441) by debbugs.gnu.org; 13 Jul 2019 14:43:43 +0000 Received: from localhost ([127.0.0.1]:43044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmJFX-0000ny-Io for submit@debbugs.gnu.org; Sat, 13 Jul 2019 10:43:43 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmJFW-0000nq-1v for 31441@debbugs.gnu.org; Sat, 13 Jul 2019 10:43:42 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmJFR-0001Va-Lb; Sat, 13 Jul 2019 16:43:40 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#31441: 26; doc of functions `(lax-)plist-get' References: <34003574-4449-428e-8ccd-7aa94d329ba5@default> Date: Sat, 13 Jul 2019 16:43:37 +0200 In-Reply-To: <34003574-4449-428e-8ccd-7aa94d329ba5@default> (Drew Adams's message of "Sun, 13 May 2018 11:51:54 -0700 (PDT)") Message-ID: <87pnmeuh9i.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > The doc in (elisp) `Plist Access' is mostly OK, but it could > be improved. The doc strings of these two functions are not OK. > > The doc strings need to point out, as does the manual, that `plist- [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31441 Cc: 31441@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > The doc in (elisp) `Plist Access' is mostly OK, but it could > be improved. The doc strings of these two functions are not OK. > > The doc strings need to point out, as does the manual, that `plist-get' > uses `eq' and `lax-plist-get' uses `equal'. In addition, the doc string > of `lax-plist-get' should, like the manual, say that it is in all other > respects just like `plist-get' (providing a link to that function's > description). I've now done these things, except that (weirdly enough) lax-plist-get is not like plist-get in all other respects -- plist-get will never signal an error, while lax-plist-get may signal an error if PLIST isn't a valid plist. *sigh* > In addition the manual description of `plist-get' could be improved by > mentioning these two things, which are mentioned by its doc string: > > 1. It uses `eq'. (If one reads further then this becomes apparent when > reading about `lax-plist-get'. The manual says (right above plist-get): They all compare property names using @code{eq}. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 10:43:49 2019 Received: (at control) by debbugs.gnu.org; 13 Jul 2019 14:43:49 +0000 Received: from localhost ([127.0.0.1]:43047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmJFc-0000oF-Ss for submit@debbugs.gnu.org; Sat, 13 Jul 2019 10:43:49 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmJFb-0000o8-J8 for control@debbugs.gnu.org; Sat, 13 Jul 2019 10:43:48 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmJFZ-0001Vh-0R for control@debbugs.gnu.org; Sat, 13 Jul 2019 16:43:46 +0200 Date: Sat, 13 Jul 2019 16:43:44 +0200 Message-Id: <87o91yuh9b.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31441 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 31441 fixed close 31441 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 31441 fixed close 31441 27.1 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 13:31:44 2019 Received: (at 31441) by debbugs.gnu.org; 13 Jul 2019 17:31:44 +0000 Received: from localhost ([127.0.0.1]:43307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmLs8-0005Zu-HP for submit@debbugs.gnu.org; Sat, 13 Jul 2019 13:31:44 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:43878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmLs7-0005Zh-I6 for 31441@debbugs.gnu.org; Sat, 13 Jul 2019 13:31:43 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6DHTe0p190750; Sat, 13 Jul 2019 17:31:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=1IBCrwuE+sOcAEdc2vpeIF/qN7lBA3AnLDbsN0K/UK8=; b=4niAeESTM1wJ5PeFQICq2tU0K1XQJyTwasTKXVSwV1WbR+HtbJO4Ffsmg51pnc+9OtD+ YjSenlieKcYd3wHWBhNoj1BTVQrgNBXeMwba6StGj5MNJwz2KoD4O6z7ePED3nvKx2Xr TZvBupcUI3jby0K9kbYr7K4nvrEgJLpcLVeSlLhiZ4mlwOLCTW6G2oceiXg+fatJZJXs ZqSjr77Udy/7C9Qyoc+8GoqzvEuQv5IkWnqoe0hg1q3G5XDEM93l/BX4szOTIFX0RHhk lqOWMbulT6h6KRk1NKBvGZRnH1i27NH1AIos0qKnHc6LeKdpyKNuvhHFlRz23WVmyeu7 kA== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2tq6qt9dgu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 13 Jul 2019 17:31:36 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6DHRuho103592; Sat, 13 Jul 2019 17:31:36 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2tq5bb7v48-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 13 Jul 2019 17:31:35 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x6DHVX4n018302; Sat, 13 Jul 2019 17:31:34 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 13 Jul 2019 10:31:32 -0700 (PDT) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#31441: 26; doc of functions `(lax-)plist-get' References: <34003574-4449-428e-8ccd-7aa94d329ba5@default> <87pnmeuh9i.fsf@mouse.gnus.org> In-Reply-To: <87pnmeuh9i.fsf@mouse.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4861.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9317 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=886 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907130213 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9317 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=942 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907130213 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 31441 Cc: 31441@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > In addition the manual description of `plist-get' could be improved by > > mentioning these two things, which are mentioned by its doc string: > > > > 1. It uses `eq'. (If one reads further then this becomes apparent when > > reading about `lax-plist-get'. >=20 > The manual says (right above plist-get): >=20 > They all compare property names using @code{eq}. ... which is belied further down by the description of `lax-plist-get'. That's the point. The intro says that they all use `eq' - which is wrong. The entry for `plist-get' says nothing about comparison. The entry for `lax...' says it uses `equal'. Parallel construction calls for each to say what it uses, and remove the statement saying that they all use `eq'. This is about making the doc clearer. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 14:32:07 2019 Received: (at 31441) by debbugs.gnu.org; 13 Jul 2019 18:32:07 +0000 Received: from localhost ([127.0.0.1]:43374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmMoZ-000796-DI for submit@debbugs.gnu.org; Sat, 13 Jul 2019 14:32:07 -0400 Received: from mail-ot1-f45.google.com ([209.85.210.45]:41215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmMoX-00078a-CT for 31441@debbugs.gnu.org; Sat, 13 Jul 2019 14:32:05 -0400 Received: by mail-ot1-f45.google.com with SMTP id o101so12724684ota.8 for <31441@debbugs.gnu.org>; Sat, 13 Jul 2019 11:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+psswqHiXUXSuWAthlCD7D2WGMLAc9IruUrBu3JVPok=; b=swiCVZcqvepSwTfs8HgL36iy+Ei15SVUH0iJIeBBohm0PE/O70DEFrtmX7ZnBIOhKT e6yAw3gGQZhxnKwIR5SnKwNkFHyCLNp627DiEuJcymbrFNp5ht7S8Dq0wvp2j7NBzyme SZt03IoZYl+OWthFmqjuhnvP4f86Re76uUZLhXJYXwROju9t9ByNU1P+p74WYmwnwugT m/Xn0QHav0NbP4hab0UJJVJr+NhjI6sAIntnMHwM6ox7hLvAI0VwXVrGqPHQSw4Mk5Ht 0HlwO0+JZwT6fzjyk7tugO5goQEs9Gxch6pnvHXPMLeGdN1JLlZZmdHgq1M05ILOYEQZ eJKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+psswqHiXUXSuWAthlCD7D2WGMLAc9IruUrBu3JVPok=; b=lJ83k4q5bWcbzkrfDtHmRsAjd6ea4S3i1egprckWtM0fHAVetkDFlgSLbYhi8aoCDd 5iHf0+0auF0PCGSGx4rxkxwhAlAty1Pll+rjFn1XPR5VB/m4vq+9L/GHBAdzD6H3tWwX QGO1Yyo6eIfu3A6dBceXg3c5kJkpRqB4pBzR3dkyUiOHIDJwrq1DpqPZ9+iQPBiTY6H0 96Oxz2IOUFhwlwbf5VXTk/aEODniOQorFlH3r4znZhAjTRTCufgESGnZy05yXca17pkk 9M6L/fzqsbXq8yyfmE7uWi4qA1YVeDvwzsAmzIpwJORGJeW2QdfcRP4irUuRXU3WWV61 p+Uw== X-Gm-Message-State: APjAAAXW7KWDfpWGyBl7aRILLprVMrtSDG/cCxf1lEsT+/5mX6gPRKZl lX16iqOYSgIbkqF0tbl+wepQitY2V7o4tzC4NP0= X-Google-Smtp-Source: APXvYqyYNU482mSiarfRiAuoKpq8XkZIUntbP1yenX7QpsnKUqrwbM8U1dGEEuL/SMoiJU8Kuj+Ot4saktyPkyqpo8Y= X-Received: by 2002:a9d:554b:: with SMTP id h11mr5787684oti.154.1563042719520; Sat, 13 Jul 2019 11:31:59 -0700 (PDT) MIME-Version: 1.0 References: <34003574-4449-428e-8ccd-7aa94d329ba5@default> <87pnmeuh9i.fsf@mouse.gnus.org> In-Reply-To: <87pnmeuh9i.fsf@mouse.gnus.org> From: Pip Cet Date: Sat, 13 Jul 2019 18:31:23 +0000 Message-ID: Subject: Re: bug#31441: 26; doc of functions `(lax-)plist-get' To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31441 Cc: 31441@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, Jul 13, 2019 at 2:44 PM Lars Ingebrigtsen wrote: > I've now done these things, except that (weirdly enough) lax-plist-get > is not like plist-get in all other respects -- plist-get will never > signal an error, while lax-plist-get may signal an error if PLIST isn't > a valid plist. *sigh* How is that weird? `plist-get' might, once in a while, be useful to call on potentially malicious data. Fequal isn't, so `lax-plist-get' cannot be, either. (Fequal can signal, and it's easy to construct objects which will lock up Emacs for many minutes when compared with Fequal. I think the latter issue should be fixed, FWIW). From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 15:14:49 2019 Received: (at 31441) by debbugs.gnu.org; 13 Jul 2019 19:14:49 +0000 Received: from localhost ([127.0.0.1]:43393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmNTt-0008CW-6I for submit@debbugs.gnu.org; Sat, 13 Jul 2019 15:14:49 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmNTr-0008CO-5S for 31441@debbugs.gnu.org; Sat, 13 Jul 2019 15:14:47 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmNTm-0003N8-BO; Sat, 13 Jul 2019 21:14:46 +0200 From: Lars Ingebrigtsen To: Pip Cet Subject: Re: bug#31441: 26; doc of functions `(lax-)plist-get' References: <34003574-4449-428e-8ccd-7aa94d329ba5@default> <87pnmeuh9i.fsf@mouse.gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEXQw66LeWb07+RENy60 pI2qn3wzAAACTklEQVQ4jXWUAbLbIAxEMeEAVuEAlOYA0YcDIKP7n6m7OGmnf6Z4nMQ8JC1mldD+ M0LR3HvWNco34MMARFVbizGGaHOGCKCIUF3dRmy4xPKpOV8tiPSOW0VKkVWyZO3SI0DuvAC65TJW V1TMAFy6q8iaa+pDFYsIihYGabGHuuexU3fKlYmfS4svdTOopxjKlbmkr+EACdVF+w2QCmveEf+k umuIGzaf8ksXRTbuoxQCsUNU+iDof4GIF4Jc1AB0g7NkbAa5sHVh3k/EWRYSCaQagPY3mEh1yBJM n27CU8gbuCFCzbxYmZZZ51ZlPguefSLVPHAsn+LpDCE+Zpo+JSRFrdH7AAgWWg1nCsmTh45AeYMw W20Hv2dwD55W7y+AhmncAUu4qoaQP6DFWmvEVMR8rAnv9AcADBGfDRP1jIkJD4CLNWgVpAopRc6H hIP+2sVbc36lCeF73KA9Yyu7rF1chUp3javNJ+tfza4aXm3LIpi1JTzVr3bMSlkh5kFQuAlUuFra BWBcO6jKoapNinsiPeHTw26Da4fg4zm3tplscgsDr6qGC+/l53k9Tp8THmJEL3R/irX9LO3Xa520 4AZ9crsyHXfC4dERcQMNHuYDuXEm/eim+aQqWOxQ8VHEli20Fk59XHer5VOyZbWD9tK7oRABWzjS wNPbhnAlG4oRcDcOfggbDq1FJ76BlpSOkw4e9M6ie6iqszPvsd0mdwTmaXYMZmdj658IdgKMRubC gLsGCTVntIAYfc0lEvjBxsBccXH3z59M/zb0DX4D6sqViTRUdgIAAAAASUVORK5CYII= Date: Sat, 13 Jul 2019 21:14:42 +0200 In-Reply-To: (Pip Cet's message of "Sat, 13 Jul 2019 18:31:23 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pip Cet writes: > On Sat, Jul 13, 2019 at 2:44 PM Lars Ingebrigtsen wrote: >> I've now done these things, except that (weirdly enough) lax-plist-get >> is not like plist-get in all other respects -- [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31441 Cc: 31441@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pip Cet writes: > On Sat, Jul 13, 2019 at 2:44 PM Lars Ingebrigtsen wrote: >> I've now done these things, except that (weirdly enough) lax-plist-get >> is not like plist-get in all other respects -- plist-get will never >> signal an error, while lax-plist-get may signal an error if PLIST isn't >> a valid plist. *sigh* > > How is that weird? `plist-get' might, once in a while, be useful to > call on potentially malicious data. Fequal isn't, so `lax-plist-get' > cannot be, either. The *sigh* was in that lax-plist-get is strict in interpreting PLIST while plist-get is lax in interpreting PLIST. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 03:48:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 11 Aug 2019 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator