From unknown Fri Aug 15 02:05:14 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#27726 <27726@debbugs.gnu.org> To: bug#27726 <27726@debbugs.gnu.org> Subject: Status: 26.0.50; plist functions give confusing errors on invalid plists Reply-To: bug#27726 <27726@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:05:14 +0000 retitle 27726 26.0.50; plist functions give confusing errors on invalid pli= sts reassign 27726 emacs submitter 27726 Lars Ingebrigtsen severity 27726 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 16 15:50:55 2017 Received: (at submit) by debbugs.gnu.org; 16 Jul 2017 19:50:55 +0000 Received: from localhost ([127.0.0.1]:42715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWpZ8-0006W3-SW for submit@debbugs.gnu.org; Sun, 16 Jul 2017 15:50:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWpZ6-0006Vr-Gg for submit@debbugs.gnu.org; Sun, 16 Jul 2017 15:50:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWpZ0-0007ob-7K for submit@debbugs.gnu.org; Sun, 16 Jul 2017 15:50:47 -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.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dWpYz-0007oQ-VT for submit@debbugs.gnu.org; Sun, 16 Jul 2017 15:50:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWpYy-0007qa-Ms for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 15:50:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWpYv-0007iY-E1 for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 15:50:44 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:50861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWpYu-0007bH-NY for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 15:50:40 -0400 Received: from cm-84.209.243.26.getinternet.no ([84.209.243.26] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dWpYi-0005HC-BT for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 21:50:30 +0200 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 26.0.50; plist functions give confusing errors on invalid plists Date: Sun, 16 Jul 2017 21:50:27 +0200 Message-ID: <87y3rorwjg.fsf@mouse> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-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: -5.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 (-----) (plist-put '(:foo 1 :bar) :zot 2) Debugger entered--Lisp error: (wrong-type-argument listp (:foo 1 :bar)) plist-put((:foo 1 :bar) :zot 2) eval((plist-put '(:foo 1 :bar) :zot 2) nil) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) The error seems to say that '(:foo 1 :bar) isn't a list. But the problem is that it's not a valid plist, since it has an odd number of elements. So I think there should be a different error being signalled here. (And there isn't really a backwards compatibility issue here of introducing a new error symbol: Emacs 26.1 started signalling errors for these lists; previously it was fine having odd plists.) In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-07-16 built on mouse Repository revision: 45892db6f53cccc045da9c7215b467617c067f04 Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Ubuntu 17.04 -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 16 20:10:34 2017 Received: (at control) by debbugs.gnu.org; 17 Jul 2017 00:10:34 +0000 Received: from localhost ([127.0.0.1]:42868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWtcQ-00010m-K8 for submit@debbugs.gnu.org; Sun, 16 Jul 2017 20:10:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWtcP-00010Z-5P for control@debbugs.gnu.org; Sun, 16 Jul 2017 20:10:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWtcJ-0005VD-Eg for control@debbugs.gnu.org; Sun, 16 Jul 2017 20:10:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWtcJ-0005V8-BG for control@debbugs.gnu.org; Sun, 16 Jul 2017 20:10:27 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dWtcJ-0001f1-38 for control@debbugs.gnu.org; Sun, 16 Jul 2017 20:10:27 -0400 Subject: control message for bug 24655 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sun, 16 Jul 2017 20:10:27 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) block 24655 by 27726 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 08:45:45 2017 Received: (at 27726) by debbugs.gnu.org; 2 Sep 2017 12:45:45 +0000 Received: from localhost ([127.0.0.1]:41743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do7ny-0007FA-2D for submit@debbugs.gnu.org; Sat, 02 Sep 2017 08:45:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do7nt-00073i-6h for 27726@debbugs.gnu.org; Sat, 02 Sep 2017 08:45:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do7nj-0004NJ-NF for 27726@debbugs.gnu.org; Sat, 02 Sep 2017 08:45:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do7nS-0004Fz-JA; Sat, 02 Sep 2017 08:45:10 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2065 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1do7nS-0002wR-5i; Sat, 02 Sep 2017 08:45:10 -0400 Date: Sat, 02 Sep 2017 15:45:00 +0300 Message-Id: <83r2vpz2ur.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87y3rorwjg.fsf@mouse> (message from Lars Ingebrigtsen on Sun, 16 Jul 2017 21:50:27 +0200) Subject: Re: 26.0.50; plist functions give confusing errors on invalid plists References: <87y3rorwjg.fsf@mouse> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27726 Cc: 27726@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unblock 24655 by 27726 thanks > From: Lars Ingebrigtsen > Date: Sun, 16 Jul 2017 21:50:27 +0200 > > > (plist-put '(:foo 1 :bar) :zot 2) > > Debugger entered--Lisp error: (wrong-type-argument listp (:foo 1 :bar)) > plist-put((:foo 1 :bar) :zot 2) > eval((plist-put '(:foo 1 :bar) :zot 2) nil) > elisp--eval-last-sexp(nil) > eval-last-sexp(nil) > funcall-interactively(eval-last-sexp nil) > call-interactively(eval-last-sexp nil nil) > command-execute(eval-last-sexp) > > The error seems to say that '(:foo 1 :bar) isn't a list. But the > problem is that it's not a valid plist, since it has an odd number of > elements. > > So I think there should be a different error being signalled here. (And > there isn't really a backwards compatibility issue here of introducing a > new error symbol: Emacs 26.1 started signalling errors for these lists; > previously it was fine having odd plists.) Would someone please look into this bug? In any case, I don't see why this should block Emacs 26.1, so I'm unblocking it. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 15:11:14 2017 Received: (at 27726-done) by debbugs.gnu.org; 2 Sep 2017 19:11:14 +0000 Received: from localhost ([127.0.0.1]:43897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1doDp0-0005yw-KX for submit@debbugs.gnu.org; Sat, 02 Sep 2017 15:11:14 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:33836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1doDou-0005yO-2w for 27726-done@debbugs.gnu.org; Sat, 02 Sep 2017 15:11:07 -0400 Received: by mail-oi0-f47.google.com with SMTP id w10so22233980oie.1 for <27726-done@debbugs.gnu.org>; Sat, 02 Sep 2017 12:11:04 -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=J46ECpAbYBTT7O2ZSRfMW38XYkZUrMl7coHrug+hn/I=; b=nayCIfgYGjaKoTJL2gVTKaNueuFVfciz9Mn6fJYlM7NrOWEjX8EtxYi3PXiQ/JRsug ojRzWC7l+6ZjAdoNk1iP5C8fppDNxG+rVxhBLCPTutAlLT+cRkiyaGZHgjDevw6WQ877 zAo+8I1CPH16HcLwSi742T0QQJHVju46R06MCLwK+wMPWbJeFgQaKT7r0Ih5EH98hR6A 40Nz2l7NJa3Nx+jRbUKpFR2U/LZ8xqzX9DKnNJVNCcw7i9ktOgoXXcoxnfTFTDqb/8G/ Hjw1WyIa02dWmSBtRr3wPXsH1RsnntqM8Ny+GdHVY/274CWRopSDULXgO3P/hrPo5nUQ XmuQ== 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=J46ECpAbYBTT7O2ZSRfMW38XYkZUrMl7coHrug+hn/I=; b=dD4B+ll29TNjHz6MjLAc1mU/70bVo0rrYcLAiwXAnGkMXno0i5GBi/QW0AQ9i1ccGd lXQ9mFYuZs99gcWZrDxrY/2Ys2PN6c40q7ydabUIOT0a8YZ6zm492FHm8QEpiJDg88/W Cv4HFwM8gkoReDh6GsKSbB7nodiMK6Fj3UQ3Fo0Z9crTmiouXD22reluTTSxVziNEkzZ Of13wWhG4czqGO335lpej9MqSqqJWasewSglmNeo3+Qk410jjIS/W30myNDOtc0nfnqM QdbwM4A7IvOBkB9uNwIrPYjLVxeam7hvnISphyz9DLAPsA2Fhz45BR4S+9nXVZq8BVpY +1NQ== X-Gm-Message-State: AHPjjUi+wVh/rJ3tB5rWdlZf6BOeAu4hIjXgFhnnshgWXZXf0VLGGAe0 md7tdZQgWZeqyETRn5WGQiIrCTsfq+X2 X-Google-Smtp-Source: ADKCNb6mbLWQDClFy/P0h8JbD0Azcwsz+ge0RWjt+Erbt8rAPFx1RNo1tbAlZAwfeFCZtiHQSdzP9+9o76r2szDSMKQ= X-Received: by 10.202.74.197 with SMTP id x188mr4796023oia.296.1504379458336; Sat, 02 Sep 2017 12:10:58 -0700 (PDT) MIME-Version: 1.0 References: <87y3rorwjg.fsf@mouse> <83r2vpz2ur.fsf@gnu.org> In-Reply-To: <83r2vpz2ur.fsf@gnu.org> From: Philipp Stephani Date: Sat, 02 Sep 2017 19:10:47 +0000 Message-ID: Subject: Re: bug#27726: 26.0.50; plist functions give confusing errors on invalid plists To: Eli Zaretskii , Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="001a11c1773e38be37055839a3df" X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 27726-done Cc: 27726-done@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: -2.0 (--) --001a11c1773e38be37055839a3df Content-Type: text/plain; charset="UTF-8" Eli Zaretskii schrieb am Sa., 2. Sep. 2017 um 14:46 Uhr: > unblock 24655 by 27726 > thanks > > > From: Lars Ingebrigtsen > > Date: Sun, 16 Jul 2017 21:50:27 +0200 > > > > > > (plist-put '(:foo 1 :bar) :zot 2) > > > > Debugger entered--Lisp error: (wrong-type-argument listp (:foo 1 :bar)) > > plist-put((:foo 1 :bar) :zot 2) > > eval((plist-put '(:foo 1 :bar) :zot 2) nil) > > elisp--eval-last-sexp(nil) > > eval-last-sexp(nil) > > funcall-interactively(eval-last-sexp nil) > > call-interactively(eval-last-sexp nil nil) > > command-execute(eval-last-sexp) > > > > The error seems to say that '(:foo 1 :bar) isn't a list. But the > > problem is that it's not a valid plist, since it has an odd number of > > elements. > > > > So I think there should be a different error being signalled here. (And > > there isn't really a backwards compatibility issue here of introducing a > > new error symbol: Emacs 26.1 started signalling errors for these lists; > > previously it was fine having odd plists.) > > Would someone please look into this bug? > I've installed commit 71766a45f1 to improve the message. --001a11c1773e38be37055839a3df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Eli Za= retskii <eliz@gnu.org> schrieb am= Sa., 2. Sep. 2017 um 14:46=C2=A0Uhr:
unblock 24655 by 27726
thanks

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 16 Jul 2017 21:50:27 +0200
>
>
> (plist-put '(:foo 1 :bar) :zot 2)
>
> Debugger entered--Lisp error: (wrong-type-argument listp (:foo 1 :bar)= )
>=C2=A0 =C2=A0plist-put((:foo 1 :bar) :zot 2)
>=C2=A0 =C2=A0eval((plist-put '(:foo 1 :bar) :zot 2) nil)
>=C2=A0 =C2=A0elisp--eval-last-sexp(nil)
>=C2=A0 =C2=A0eval-last-sexp(nil)
>=C2=A0 =C2=A0funcall-interactively(eval-last-sexp nil)
>=C2=A0 =C2=A0call-interactively(eval-last-sexp nil nil)
>=C2=A0 =C2=A0command-execute(eval-last-sexp)
>
> The error seems to say that '(:foo 1 :bar) isn't a list.=C2=A0= But the
> problem is that it's not a valid plist, since it has an odd number= of
> elements.
>
> So I think there should be a different error being signalled here.=C2= =A0 (And
> there isn't really a backwards compatibility issue here of introdu= cing a
> new error symbol: Emacs 26.1 started signalling errors for these lists= ;
> previously it was fine having odd plists.)

Would someone please look into this bug?

I've installed commit =C2=A071766a45f1 to improve the message.
<= /div>
--001a11c1773e38be37055839a3df-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 15:24:44 2017 Received: (at 27726) by debbugs.gnu.org; 2 Sep 2017 19:24:44 +0000 Received: from localhost ([127.0.0.1]:43924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1doE28-0006J9-Md for submit@debbugs.gnu.org; Sat, 02 Sep 2017 15:24:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1doE27-0006Ix-SP for 27726@debbugs.gnu.org; Sat, 02 Sep 2017 15:24:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doE1y-0002QN-4M for 27726@debbugs.gnu.org; Sat, 02 Sep 2017 15:24:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doE1y-0002QI-0Q; Sat, 02 Sep 2017 15:24:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2687 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1doE1t-0003lX-S4; Sat, 02 Sep 2017 15:24:33 -0400 Date: Sat, 02 Sep 2017 22:23:58 +0300 Message-Id: <83inh0ykdt.fsf@gnu.org> From: Eli Zaretskii To: Philipp Stephani In-reply-to: (message from Philipp Stephani on Sat, 02 Sep 2017 19:10:47 +0000) Subject: Re: bug#27726: 26.0.50; plist functions give confusing errors on invalid plists References: <87y3rorwjg.fsf@mouse> <83r2vpz2ur.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27726 Cc: larsi@gnus.org, 27726@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Philipp Stephani > Date: Sat, 02 Sep 2017 19:10:47 +0000 > Cc: 27726-done@debbugs.gnu.org > > I've installed commit 71766a45f1 to improve the message. Thanks. From unknown Fri Aug 15 02:05:14 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, 01 Oct 2017 11:24:05 +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