From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#23597: 24.5; `cl-values-list' should not be an alias for `identity' Date: Sat, 21 May 2016 17:25:47 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463876847 948 80.91.229.3 (22 May 2016 00:27:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 May 2016 00:27:27 +0000 (UTC) To: 23597@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 22 02:27:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b4HEf-0003an-Ss for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 May 2016 02:27:14 +0200 Original-Received: from localhost ([::1]:41573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4HEe-0007IZ-UK for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 May 2016 20:27:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4HEY-0007GU-GV for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 20:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4HEU-0001ov-9K for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 20:27:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4HEU-0001or-5g for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 20:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b4HET-00063c-T7 for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 20:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2016 00:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146387676923218 (code B ref -1); Sun, 22 May 2016 00:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 May 2016 00:26:09 +0000 Original-Received: from localhost ([127.0.0.1]:60285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4HDc-00062Q-MU for submit@debbugs.gnu.org; Sat, 21 May 2016 20:26:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4HDa-000621-DC for submit@debbugs.gnu.org; Sat, 21 May 2016 20:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4HDU-0001f8-DE for submit@debbugs.gnu.org; Sat, 21 May 2016 20:26:01 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4HDU-0001d6-A7 for submit@debbugs.gnu.org; Sat, 21 May 2016 20:26:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4HDS-0006gz-0x for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 20:25:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4HDO-0001at-Qo for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 20:25:57 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:38631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4HDO-0001ZT-Hy for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 20:25:54 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u4M0Pnlh020683 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 May 2016 00:25:49 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u4M0Pn6Z010972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 May 2016 00:25:49 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u4M0PmuM031318 for ; Sun, 22 May 2016 00:25:49 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:118527 Archived-At: Emacs Lisp does not support multiple values for its Common Lisp emulation. OK, fine. But that is not a reason for this kind of definition. `cl-values-list' should at least raise an error if its arg is not a list. That too is part of the Common Lisp definition of `values-list': "Should signal type-error if its argument is not a proper list." (cl-values-list 5) should not return 5. It should raise a wrong-type arg error. A comment in cl-lib.el says this: ;; cl-multiple-value-bind and friends simply expect the target form to ;; return the values as a list. It is not enough that `cl-multiple-value-bind' and friends expect that. They are not the only context in which `cl-value-list' can be used. `cl-values-list' is a general function on a list, and it needs to check its argument to ensure that it is a list. In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32'