From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#27325: Using '&rest' without a trailing parameter causes an error in emacs 26.0.50 Date: Sun, 11 Jun 2017 08:15:27 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113cdf42b5cbf20551aace07" X-Trace: blaine.gmane.org 1497168978 18206 195.159.176.226 (11 Jun 2017 08:16:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2017 08:16:18 +0000 (UTC) To: isaac lewis , 27325@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 11 10:16:09 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 1dJy2b-0004FW-74 for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jun 2017 10:16:09 +0200 Original-Received: from localhost ([::1]:33190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJy2g-0004yx-CV for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jun 2017 04:16:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJy2a-0004yg-1T for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2017 04:16:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJy2U-0008Pv-Vq for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2017 04:16:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJy2U-0008Pp-Ru for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2017 04:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJy2U-000527-Gl for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2017 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jun 2017 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27325 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27325-submit@debbugs.gnu.org id=B27325.149716894519322 (code B ref 27325); Sun, 11 Jun 2017 08:16:02 +0000 Original-Received: (at 27325) by debbugs.gnu.org; 11 Jun 2017 08:15:45 +0000 Original-Received: from localhost ([127.0.0.1]:39724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJy2D-00051Z-3f for submit@debbugs.gnu.org; Sun, 11 Jun 2017 04:15:45 -0400 Original-Received: from mail-oi0-f52.google.com ([209.85.218.52]:34490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJy2B-00051M-Hy for 27325@debbugs.gnu.org; Sun, 11 Jun 2017 04:15:43 -0400 Original-Received: by mail-oi0-f52.google.com with SMTP id s64so924240oif.1 for <27325@debbugs.gnu.org>; Sun, 11 Jun 2017 01:15:43 -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; bh=m1AJYW1grLYOc8/d7g4yJ3wPxfbLTuDTZg/am+4LDdU=; b=BZFCtrQ+btuVs1h8eYWr8xcNjJjp+eHyD3nH3/YV8fADqgycZuL+1sGdLE88IEp7Xx DUy15Imw26C0/eV5ajY/paFrg2VdoO8EW/xP/glFEEuQg0VgR1qoEjl6Vm5AIM/bM7Bm BN3FxwKAMzbP9xu2qFbb8GEBK/syNA2Zl8T994NTb6x4QUz51d+t8Iq8mdMzv6i1tOGG 7p8HjyN8nd06i2IiLnK/MmOOLFcpYolrP+Ay9nUJEbOLxDCqQi2j/PefMvEkZZgs9LUq VjHabqQk7SqBgrDW5TOY5mrTcvz4gB2x//dbodp+qeB7B7+TSijnkwvNy1ke2Qy/7kZX 7xlA== 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; bh=m1AJYW1grLYOc8/d7g4yJ3wPxfbLTuDTZg/am+4LDdU=; b=PYITBHjKz5+WtoSfEgGXopaqmhcXzGwR2anGLP9qcmg3xawDcdJmEpB1bzanM/ydEU saympfzvSgRx4zGPRNeFKSDpawYhwMapL413Lg0utkaK998NculSbl9Ae8dlWhsuE5ti sRV7Q/z+N3JizJm0iLUFdRLXztXGiAAVp96xPXabyNSjM99ouhtk4xVRkp1fysJ8xCGh d5/Q28vMoQVPA2Ie3OoGsrGj7CYuvDg5Ubji4tnVWh4GI+T0UosAp1S/4IBRkL2l3ovb dTxFLLH/sBaZJtj+ZUoDlq02jgeqT8rbVt8R5FbDlLaXGTyg7wSTTuXkfbr9X/NXGe1Y TIHQ== X-Gm-Message-State: AODbwcATKj1zClwOlvysxM4LodyRmVn8w/N/+pmZgS1qhwnUOYeFuzUJ JI/i8FT3YFM02ubByvjvFdgemLAdpQ== X-Received: by 10.202.61.84 with SMTP id k81mr21528251oia.25.1497168937862; Sun, 11 Jun 2017 01:15:37 -0700 (PDT) In-Reply-To: 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:133466 Archived-At: --001a113cdf42b5cbf20551aace07 Content-Type: text/plain; charset="UTF-8" isaac lewis schrieb am So., 11. Juni 2017 um 09:24 Uhr: > If my understanding is correct, the functions (lambda (&rest) t) > and (lambda () t) should behave similarly. > >From where did you get this understanding? The Elisp manual says about &rest: "To specify a list of zero or more extra arguments, include the keyword &rest before one final argument." and "The keyword &rest (which must be followed by a single argument name) indicates that any number of arguments can follow." i.e. the parameter after &rest isn't optional. --001a113cdf42b5cbf20551aace07 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


isaac = lewis <isaac.b.lewis@gmail.co= m> schrieb am So., 11. Juni 2017 um 09:24=C2=A0Uhr:
If my understanding is correct, the functions (lamb= da (&rest) t)
and (lambda () t) should behave similarly.

From where did you get this understanding?= The Elisp manual says about &rest:
"To specify a list o= f zero or more extra arguments, include the
keyword &rest bef= ore one final argument."
and
"The keyword &am= p;rest (which must be followed by a single
argument name) indicat= es that any number of arguments can follow."
i.e. the parame= ter after &rest isn't optional.
--001a113cdf42b5cbf20551aace07--