From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: `thunk-let'? Date: Thu, 9 Nov 2017 16:48:01 -0500 Message-ID: <6067cd20-903c-d9f4-54c6-5413ed2a9ba0@gmail.com> References: <87infp9z6j.fsf@web.de> <87zi90eehg.fsf@web.de> <87o9ocd6s4.fsf@web.de> <83zi7wr6jc.fsf@gnu.org> <87k1z0csxa.fsf_-_@web.de> <83k1yzqshk.fsf@gnu.org> <87vaijwclj.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1510264098 1559 195.159.176.226 (9 Nov 2017 21:48:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2017 21:48:18 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 09 22:48:15 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 1eCugG-00008A-Oe for ged-emacs-devel@m.gmane.org; Thu, 09 Nov 2017 22:48:12 +0100 Original-Received: from localhost ([::1]:38905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCugN-0006PU-Pb for ged-emacs-devel@m.gmane.org; Thu, 09 Nov 2017 16:48:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCugC-0006OT-6e for emacs-devel@gnu.org; Thu, 09 Nov 2017 16:48:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCug9-0003wk-4q for emacs-devel@gnu.org; Thu, 09 Nov 2017 16:48:08 -0500 Original-Received: from mail-io0-x230.google.com ([2607:f8b0:4001:c06::230]:52059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCug9-0003wF-16 for emacs-devel@gnu.org; Thu, 09 Nov 2017 16:48:05 -0500 Original-Received: by mail-io0-x230.google.com with SMTP id b186so11444249iof.8 for ; Thu, 09 Nov 2017 13:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6yLBcU2TMmR+IDa47wXGAkJoIMN7y/e71u5dn1EcuSI=; b=Bu/lf2wiI4gbwtlW5sP6HA3gpjIJp/zdkcduQwTzb60Ph55hqN9C6wGUE0TeoawAf2 syAUJNkq7s881sFX8184HgJUvX/qqgeKhEfiCXajjLr0JNBJ2RX7CLn6x5LjF3mmZe2T KxNQF+Bua8Goa9k6jbZNoUcWPhhJVmbl9i4VlRR1mR0gS4GQ+4AMdlX7WS9Y1Gl84uxw gXNZ/KGWsQxhI7WO85c1VgHUgS6Jx/o2U8TksDgVzN82+5NQabOmw6z3pZGLvSEVI/sj XhXXVqJKlWjbU4M1m2lg7dskknI6IC4AUon5sFPvjr0HuisU+bjU8Uh35W4o6L2rnkYL 76qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6yLBcU2TMmR+IDa47wXGAkJoIMN7y/e71u5dn1EcuSI=; b=DTV0u0SpMP9taBjpwoM3IIRScFqlOGWBD251SmIa7oaJKgHqp6+lx6GZ61sFAvl1Da wO4tgr/8MTOwDlaMOM5ZGmD9nmH42loNawpwalbReGP5ViI5lmVCVH8f/RTE++t03U81 yyg/2+Ruhf+xEG8e9PY8M0h+JiAKxEfZbYSRqdLQj6J4M+lVtAUMdDDL5hLMdXeiWnVN 0S2EtBpDXtnmsWAfJZC3Psoj8bPn+ELNrr6wfXU1PL7Qur904L02l3URrlpQkliZZP+F RYeAS98TFWTjGmy6cM3zjj1eNtWaNW+kF9RnRToWOeX+8Z7/UhsiFbIivq814cKDBt+w HpMw== X-Gm-Message-State: AJaThX7Y9nWDPgCepZSe2TmaOGBLmzASzEJLlaxqj83ogJwg08PUuegX ErQDBFa53U+bFLljq02Pxopu1kBh X-Google-Smtp-Source: AGs4zMauq7tbRZrtRAhyT1FBSFvYMtIy1zBKS6iVc7cNPjZF7X4e9ngScdN/eutRH4T4/6K4b3YAKA== X-Received: by 10.107.201.132 with SMTP id z126mr2399069iof.245.1510264084053; Thu, 09 Nov 2017 13:48:04 -0800 (PST) Original-Received: from [18.26.2.123] (26-2-123.dynamic.csail.mit.edu. [18.26.2.123]) by smtp.gmail.com with ESMTPSA id x78sm3899293ioi.49.2017.11.09.13.48.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2017 13:48:03 -0800 (PST) In-Reply-To: <87vaijwclj.fsf@web.de> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::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:220010 Archived-At: On 2017-11-09 13:06, Michael Heerdegen wrote: > Clément Pit-Claudel writes: > >> Why doesn't that macro go to ELPA first, possibly to be integrated in >> Emacs proper if it's found to be useful? > > I think it certainly is useful. And it allows you to write nicer code > because you don't have to use (low-level) thunk objects explicitly > (thus, it's a reasonable abstraction). I'm just only 97%, and not 100%, > sure that it is the optimal solution for the problem it solves. So, > "half baked" is an exaggeration. Anyway, the macro makes it much > easier to write more efficient code in an easy way and clean style, so I > don't doubt it is useful now, in Emacs. Thanks, but maybe you were responding to Drew and me at once? I didn't call the code half-baked :) I didn't even read it, in fact. I'm just trying to get a better feel for what goes straight into Emacs, and what goes into ELPA for experimentation. I was reacting to this: > Well, it's in subr-x because I'm not sure that it is yet a good idea to > "advertize it so loudly" as Stefan uses to say. That sounded a lot like the reason we usually invoke to put stuff into MELPA. Clément.