From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list Date: Wed, 14 Jan 2015 13:03:26 +0100 Message-ID: <87vbk9fu29.fsf@fencepost.gnu.org> References: <20150112112953.11913.47601@vcs.savannah.gnu.org> <871tn0yo6j.fsf@uwakimon.sk.tsukuba.ac.jp> <87a91om0dv.fsf@yahoo.fr> <87zj9nykjk.fsf@uwakimon.sk.tsukuba.ac.jp> <87ppajj29a.fsf@fencepost.gnu.org> <87iogbismy.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421237033 19644 80.91.229.3 (14 Jan 2015 12:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2015 12:03:53 +0000 (UTC) Cc: Nicolas Richard , "Stephen J. Turnbull" , Stefan Monnier , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 14 13:03:47 2015 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 1YBMfr-0005gV-BT for ged-emacs-devel@m.gmane.org; Wed, 14 Jan 2015 13:03:47 +0100 Original-Received: from localhost ([::1]:45744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBMfq-0001jr-8c for ged-emacs-devel@m.gmane.org; Wed, 14 Jan 2015 07:03:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBMfa-0001jR-0D for emacs-devel@gnu.org; Wed, 14 Jan 2015 07:03:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBMfZ-0001pb-2n for emacs-devel@gnu.org; Wed, 14 Jan 2015 07:03:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBMfY-0001pW-VQ for emacs-devel@gnu.org; Wed, 14 Jan 2015 07:03:29 -0500 Original-Received: from localhost ([127.0.0.1]:43092 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBMfX-0003Hk-30; Wed, 14 Jan 2015 07:03:27 -0500 Original-Received: by lola (Postfix, from userid 1000) id 924C6E048C; Wed, 14 Jan 2015 13:03:26 +0100 (CET) In-Reply-To: (Artur Malabarba's message of "Wed, 14 Jan 2015 09:51:41 -0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:181252 Archived-At: Artur Malabarba writes: > 2015-01-12 19:41 GMT-02:00 David Kastrup : >> Artur Malabarba writes: >> >>> I'll use the backquoted version. But I'm at a place of spotty internet >>> at the moment, so it may take me a few days. >> >> Many versions of quoted lambda functions may these days be _so_ much >> better written using lexical binding instead that I think XEmacs should >> really try catching up here. Otherwise the amount of code that cannot >> be easily brought to run on XEmacs will likely become much larger. > > There might be some confusion here. What Stefan suggested (which I'm > going to apply) is precisely to UNquote the lambda. I'm going to do: > `(... ,(lambda (x) ...)) so the lambda is *not* quoted. It is > evaluated by the "," and thus seen by the byte-compiler. > > Or maybe I'm just misunderstanding what you said. :-) Well, the example does not match really well. However, many uses of delayed evaluation (of which backquoted lambda functions are one) are not necessary once you can use closures. -- David Kastrup