From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27726: 26.0.50; plist functions give confusing errors on invalid plists Date: Sat, 02 Sep 2017 15:45:00 +0300 Message-ID: <83r2vpz2ur.fsf@gnu.org> References: <87y3rorwjg.fsf@mouse> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1504356403 8661 195.159.176.226 (2 Sep 2017 12:46:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 2 Sep 2017 12:46:43 +0000 (UTC) Cc: 27726@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 02 14:46:22 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do7oQ-0000ld-MY for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 14:46:10 +0200 Original-Received: from localhost ([::1]:44791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do7oX-0004Qf-Ej for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 08:46:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do7oM-0004GU-Jt for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:46:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do7oI-0004h1-0n for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1do7oH-0004ge-T3 for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1do7oH-0007Yt-Jg for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2017 12:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27726-submit@debbugs.gnu.org id=B27726.150435634528106 (code B ref 27726); Sat, 02 Sep 2017 12:46:01 +0000 Original-Received: (at 27726) by debbugs.gnu.org; 2 Sep 2017 12:45:45 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 In-reply-to: <87y3rorwjg.fsf@mouse> (message from Lars Ingebrigtsen on Sun, 16 Jul 2017 21:50:27 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:136471 Archived-At: 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.