From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#29165: 26.0.90; can't use some code byte-compiled under emacs 24 Date: Mon, 06 Nov 2017 19:10:30 +0100 Message-ID: <87efpb46sp.fsf@linux-m68k.org> References: <6eh8u7x5be.fsf@just-testing.permabit.com> <87375r7f0g.fsf@users.sourceforge.net> <9f1e7a1f-bfc0-43a4-9acb-cf69b85587be@default> <5C8038D7-FF85-4C42-A728-F3F85CDAC85C@permabit.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1509991871 1595 195.159.176.226 (6 Nov 2017 18:11:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 18:11:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: Philipp Stephani , 29165@debbugs.gnu.org, Noam Postavsky To: Ken Raeburn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 06 19:11:06 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 1eBlrV-00005T-As for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 19:11:05 +0100 Original-Received: from localhost ([::1]:49553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBlrc-0006ya-Kf for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 13:11:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBlrV-0006yV-19 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 13:11:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBlrS-0005gn-8I for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 13:11:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBlrS-0005gh-4c for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 13:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBlrR-0005Mh-W7 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 13:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Nov 2017 18:11:01 +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.150999183420582 (code B ref 29165); Mon, 06 Nov 2017 18:11:01 +0000 Original-Received: (at 29165) by debbugs.gnu.org; 6 Nov 2017 18:10:34 +0000 Original-Received: from localhost ([127.0.0.1]:54479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBlqz-0005Lu-WD for submit@debbugs.gnu.org; Mon, 06 Nov 2017 13:10:34 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:49816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBlqy-0005Lm-Us for 29165@debbugs.gnu.org; Mon, 06 Nov 2017 13:10:33 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3yW0wR60rWz1qsD2; Mon, 6 Nov 2017 19:10:31 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3yW0wR5Hg9z1s37T; Mon, 6 Nov 2017 19:10:31 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id e0DbzH1J8gkG; Mon, 6 Nov 2017 19:10:30 +0100 (CET) X-Auth-Info: jDs5VJEAaLJIBijpxL6kAQcSmlJHNoSsXpgnIZe4mhhgagMeO3BbRz6lE3JdzYe0 Original-Received: from localhost (ppp-188-174-158-58.dynamic.mnet-online.de [188.174.158.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 6 Nov 2017 19:10:30 +0100 (CET) Original-Received: by localhost (Postfix, from userid 1000) id 421B62C132C; Mon, 6 Nov 2017 19:10:30 +0100 (CET) X-Yow: .. ich bin in einem dusenjet ins jahr 53 vor chr... ich lande im antiken Rom... einige gladiatoren spielen scrabble... ich rieche PIZZA... In-Reply-To: <5C8038D7-FF85-4C42-A728-F3F85CDAC85C@permabit.com> (Ken Raeburn's message of "Mon, 6 Nov 2017 12:25:24 -0500") 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:139513 Archived-At: On Nov 06 2017, Ken Raeburn wrote: > On Nov 6, 2017, at 09:40, Drew Adams wrote: > >>>>> 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. >>> >>> 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. > > Is this CL in general or a particular CL implementation? The web page you sent the URL for earlier reads like a specification, and from its use of “*” looks to me like it allows the (admittedly useless) form of &optional with no variables. clisp accepts it. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."