From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#31441: 26; doc of functions `(lax-)plist-get' Date: Sat, 13 Jul 2019 18:31:23 +0000 Message-ID: References: <34003574-4449-428e-8ccd-7aa94d329ba5@default> <87pnmeuh9i.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="255659"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 31441@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 20:33:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmMpY-0014Ke-2C for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 20:33:08 +0200 Original-Received: from localhost ([::1]:57664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmMpW-0003DU-D4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 14:33:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56461) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmMpT-0003C9-IJ for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 14:33:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmMpS-0006Po-Jj for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 14:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmMpS-0006Pi-Gd for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 14:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmMpS-0007AP-CF for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jul 2019 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 31441-submit@debbugs.gnu.org id=B31441.156304272727476 (code B ref 31441); Sat, 13 Jul 2019 18:33:02 +0000 Original-Received: (at 31441) by debbugs.gnu.org; 13 Jul 2019 18:32:07 +0000 Original-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 Original-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 Original-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) In-Reply-To: <87pnmeuh9i.fsf@mouse.gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162933 Archived-At: 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).