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: lexbind Date: Thu, 17 Feb 2011 23:48:53 -0500 Message-ID: References: <4D5DED92.6020808@gmail.com> <4D5DEE11.70808@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298004554 2913 80.91.229.12 (18 Feb 2011 04:49:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Feb 2011 04:49:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 18 05:49:06 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PqIHB-0000C1-JU for ged-emacs-devel@m.gmane.org; Fri, 18 Feb 2011 05:49:05 +0100 Original-Received: from localhost ([127.0.0.1]:36812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqIHA-0005cb-Nv for ged-emacs-devel@m.gmane.org; Thu, 17 Feb 2011 23:49:04 -0500 Original-Received: from [140.186.70.92] (port=52274 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqIH3-0005cO-P0 for emacs-devel@gnu.org; Thu, 17 Feb 2011 23:48:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqIH2-0005sK-8e for emacs-devel@gnu.org; Thu, 17 Feb 2011 23:48:57 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:49503 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqIH2-0005rz-3g for emacs-devel@gnu.org; Thu, 17 Feb 2011 23:48:56 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAAuJXU1FxKd1/2dsb2JhbACmH3S7ZYVeBIUKj08 X-IronPort-AV: E=Sophos;i="4.62,184,1297054800"; d="scan'208";a="92061859" Original-Received: from 69-196-167-117.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.117]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 17 Feb 2011 23:48:54 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 26E7066188; Thu, 17 Feb 2011 23:48:54 -0500 (EST) In-Reply-To: <4D5DEE11.70808@gmail.com> (Daniel Colascione's message of "Thu, 17 Feb 2011 19:57:05 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136161 Archived-At: >>> Just a heads up that the lexbind-new branch is moving forward. >>> It's not yet ready for inclusion (still a few things to clean up and >>> a few more to change), but I finally got it to run mpc.el (compiled >>> using lexical-binding). >> That's great news. Thanks. > Err, I forgot to add --- what about mpc.el makes it a milestone? Well, the author of the closure conversion code (cconv.el) picked a few files and "made them use lexbind" (mostly set lexical-binding to t and replace lexical-let by let), among them pcase and mpc. Since compiling uses pcase (via macroexpand-all), running the compiled mpc code is a good test (also the mpc code used lexical-let to build closures). I.e. running mpc.el was my first "non-toy test" and it bumped into a good number of bugs. So, while I'm sure there are still bugs lurking, I expect that most codes should be compiled correctly now. Stefan