From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: RFC: rough draft of Python-style generators for elisp Date: Thu, 29 Nov 2012 14:47:06 -0500 Message-ID: References: <50B4309C.5000109@dancol.org> <50B5300A.4060600@dancol.org> <50B7AE38.6040602@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354218430 12224 80.91.229.3 (29 Nov 2012 19:47:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2012 19:47:10 +0000 (UTC) Cc: Burton Samograd , Levin Du , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 29 20:47:22 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TeA4w-00041c-2W for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2012 20:47:22 +0100 Original-Received: from localhost ([::1]:34760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeA4k-00076A-NV for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2012 14:47:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeA4i-000765-L0 for emacs-devel@gnu.org; Thu, 29 Nov 2012 14:47:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeA4h-0004cb-Qi for emacs-devel@gnu.org; Thu, 29 Nov 2012 14:47:08 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:37182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeA4h-0004cS-Mg for emacs-devel@gnu.org; Thu, 29 Nov 2012 14:47:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxKh9/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLDiYSFBgNJIgcBboJkEQDiEKacYFYgwc X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="208768152" Original-Received: from 69-196-168-125.dsl.teksavvy.com (HELO ceviche.home) ([69.196.168.125]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 29 Nov 2012 14:47:06 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5F73566109; Thu, 29 Nov 2012 14:47:06 -0500 (EST) In-Reply-To: <50B7AE38.6040602@dancol.org> (Daniel Colascione's message of "Thu, 29 Nov 2012 11:49:28 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155125 Archived-At: > lexical-binding needs to be t. Is it okay for defgenerator to let-bind > it at top-level as long as it preserves dynamic binding semantics for > the actual code generated? No, better signal an error if lexical-binding is non-nil. Stefan