From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29165: 26.0.90; can't use some code byte-compiled under emacs 24 Date: Mon, 6 Nov 2017 06:40:58 -0800 (PST) Message-ID: References: <6eh8u7x5be.fsf@just-testing.permabit.com> <87375r7f0g.fsf@users.sourceforge.net> <9f1e7a1f-bfc0-43a4-9acb-cf69b85587be@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1509979342 28375 195.159.176.226 (6 Nov 2017 14:42:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 14:42:22 +0000 (UTC) Cc: Ken Raeburn , Philipp Stephani , 29165@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 06 15:42:17 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 1eBibR-00079v-9A for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 15:42:17 +0100 Original-Received: from localhost ([::1]:48520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBibY-0006je-KO for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 09:42:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBibI-0006bu-5U for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 09:42:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBibC-0000eh-N2 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 09:42:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBibC-0000ed-JU for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 09:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBibC-0008Nb-7T for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 09:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Nov 2017 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29165 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 29165-submit@debbugs.gnu.org id=B29165.150997926932143 (code B ref 29165); Mon, 06 Nov 2017 14:42:02 +0000 Original-Received: (at 29165) by debbugs.gnu.org; 6 Nov 2017 14:41:09 +0000 Original-Received: from localhost ([127.0.0.1]:53184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBiaL-0008MN-1U for submit@debbugs.gnu.org; Mon, 06 Nov 2017 09:41:09 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:29526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBiaJ-0008MB-Sk for 29165@debbugs.gnu.org; Mon, 06 Nov 2017 09:41:08 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA6Ef10b027374 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Nov 2017 14:41:01 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vA6Ef031009456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Nov 2017 14:41:01 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vA6Eexle000940; Mon, 6 Nov 2017 14:41:00 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4600.0 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:139504 Archived-At: > >> We should perhaps put something about throwing error on '&option &rest= ' > >> into NEWS though. > > > > I don't understand. In Common Lisp it is perfectly correct > > to use both &optional and &rest. >=20 > What's rejected is (&optional &rest other-vars), whereas (&optional > var1 &rest other-vars) is okay. Does CL accept the first form (and if > yes, what does it mean)? I couldn't tell from the page you linked to. CL accepts a single variable after &rest. And there must be a variable after &optional. (&optional foo &rest bar) is OK. (&optional &rest foo) is not OK. (&optional foo &rest bar toto titi) is not OK.