From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: `thunk-let'? Date: Wed, 22 Nov 2017 13:04:05 -0500 Message-ID: References: <87infp9z6j.fsf@web.de> <87zi90eehg.fsf@web.de> <87o9ocd6s4.fsf@web.de> <87wp2zcwm2.fsf@web.de> <87mv3vwb2c.fsf_-_@web.de> <87h8tnowl4.fsf@web.de> <87fu96qkda.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1511373899 29193 195.159.176.226 (22 Nov 2017 18:04:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2017 18:04:59 +0000 (UTC) Cc: Michael Heerdegen , Nicolas Petton , Emacs Development , Eli Zaretskii , Stefan Monnier To: Gemini Lasswell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 22 19:04:51 2017 Return-path: Envelope-to: ged-emacs-devel@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 1eHZO8-0006h1-KM for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2017 19:04:44 +0100 Original-Received: from localhost ([::1]:40747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHZOF-0004x8-UQ for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2017 13:04:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHZNZ-0004wk-Gr for emacs-devel@gnu.org; Wed, 22 Nov 2017 13:04:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHZNY-00032t-Ml for emacs-devel@gnu.org; Wed, 22 Nov 2017 13:04:09 -0500 Original-Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:37048) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHZNX-00032P-6t; Wed, 22 Nov 2017 13:04:07 -0500 Original-Received: by mail-wr0-x230.google.com with SMTP id k61so15336099wrc.4; Wed, 22 Nov 2017 10:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=E9nh3BY5hvFhSCTbhlgS3pgEYkpNjnRTo29mNsKOv5c=; b=neeOMJKK85aLT696ukLUg6NTG20cVCJY1DPc4hxxO4SOTKPNKDKhDaMrHZVIxi45jr aGn5ubji9vOkXQA/E5iXIVRRiAKeijuoF2sKjKrPG/QC+RHGOsE7z6fhw1R4ky9/ES6A ZTgc3Ha65nmG/JxdP3MWftH21zOT6o+J9gilv7voXwkKKDRxb2nmqgZsvMZC4/kqRd49 EOWz10Hd6/a3meZygoNCXkDsGnUgv+razw4+o4PACgIg2g8fCqaP597XoCmOjY46pCOf wKt2A4W+Gdd3527VVgWWdVFv+MSF+TYD5XBdlOszhy8kFRXZQ/IUVEovATvsL+YMZvYc qftA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=E9nh3BY5hvFhSCTbhlgS3pgEYkpNjnRTo29mNsKOv5c=; b=cKs/+mf1vOpbEod/JniO/v0wIpVfCMD5Hd87+KmlGlgcZwJwh9VJrGP7uDj0E4qJy3 TpVdsxtAr+34UChqVFFdgWJ175Lb9sfVbYSVd1avH+xI+re1Ki/HtaRDJMl17kTtYOFc VInEedF8p0p/QH6wPD00y9kTgusBW58Ul9OsmHlvLRrpzQqwsz+9MdMvP3w1FRD28GXa sxGPPaCbvWw/b+sUqgWw+FFtv2y4h+WH3l6P7g2ohO5Hzj/dpdpzjCNLOX4LVx0/1Smz a4LUKdDZH1Be8H+b4QlpELXkC6NW7Mf8DDdY3m5j20/ynmZSEOUqAt4JNfMB+eEyEZJk l1Hw== X-Gm-Message-State: AJaThX4N0Prgr5iUUkUZesHpMxL/CWitNn2UQczdessurFUZmcVKoMIK sFA+SL6j+5LLI6goM5h8Sgpaw3Z91RU2A6z6Ln8= X-Google-Smtp-Source: AGs4zMb9zetJkep8fqHpGI8zW+dDyQ0stDKsWyNMPSP1LeI7V/40dXjns4sBfzt2GjOJkeHCHhl6XWdzNqKOZFyovG4= X-Received: by 10.223.175.49 with SMTP id z46mr16601540wrc.12.1511373846102; Wed, 22 Nov 2017 10:04:06 -0800 (PST) Original-Received: by 10.223.151.116 with HTTP; Wed, 22 Nov 2017 10:04:05 -0800 (PST) In-Reply-To: <87fu96qkda.fsf@runbox.com> X-Google-Sender-Auth: 1wIUOwrKPmqvZqhKDkvCLsybOGA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220363 Archived-At: On Wed, Nov 22, 2017 at 12:44 PM, Gemini Lasswell wrote: > Michael Heerdegen writes: > >> + (should-error (byte-compile (thunk-let ((x 1 1)) x))) >> + (should-error (byte-compile (thunk-let (27) x))) >> + (should-error (byte-compile (thunk-let x x)))) > > Since the thunk-let forms aren't quoted, should-error is catching the > evaluation error of the thunk-let form before byte-compile is called. > And to my knowledge byte-compile doesn't signal errors, just issues > warnings. Binding `byte-compile-debug' to non-nil should let it signal errors.