From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: What does use-package do? Date: Tue, 11 Oct 2022 08:21:55 -0700 Message-ID: References: <87czb253h3.fsf@gmail.com> <87sfjyqy8o.fsf@disroot.org> <87ilkt2mks.fsf@posteo.net> <87lepmg1mj.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16842"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: Naoya Yamashita , Stefan Kangas , Akib Azmain Turja , Payas Relekar , emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 11 17:28:25 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiHBA-0004C4-74 for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 17:28:24 +0200 Original-Received: from localhost ([::1]:33916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiHB9-0005JU-9z for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 11:28:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiH52-0001Dw-CZ for emacs-devel@gnu.org; Tue, 11 Oct 2022 11:22:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiH52-0001xo-13; Tue, 11 Oct 2022 11:22:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Date:In-Reply-To:Subject:To: From; bh=xGw1ysmSaDt+2e9woKvnYcejKcItnRIt3V/JzEW18vs=; b=iYSTxqY7vCBwtxTmfZmc 5HtELYnGpDhRCfK+K8VUqsqyfgoGgWegRXH+uefvdAn+vzRHBY+5uEfGHE1aNeTvDNjkX+cTA/6vZ mfNRiqa3gM0pIGthHxt1LWOQE6EG6sK+66XWZuiu5/s+BAdr8xc48KPvErvmasKtKY4rnq8Z+hxur gGirlX+OhWD9qaf7tDeyAKlInvPxG3/D889J8SyYGn2ZU/qGTDUw5QDc23dHAczQH8fLuAl2pq0tS /6uX+Sm9y3nX18JjRmSWOh3jX997g6mRlqhrPLY3N21Iy6nCVVLGhHZ6F6/l73C0XfF508dPgTLD2 C7MVbgxB+KSzFg==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:43501) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiH51-0007Sp-Kr; Tue, 11 Oct 2022 11:22:03 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 14EB127C0054; Tue, 11 Oct 2022 11:22:03 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 11 Oct 2022 11:22:03 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejiedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujgffkfhffgggtgesthdtredttdertdenucfhrhhomheplfhohhhn ucghihgvghhlvgihuceojhhohhhnfiesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnh epieegvdeuleegudehffeifefhffdtieehueettdduleefueelvdduteeuhfelieeknecu ffhomhgrihhnpehnvgifrghrthhishgrnhhsrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhohhhnfidomhgvshhmthhprghuthhh phgvrhhsohhnrghlihhthidqieekjeektdelgeegqddujeejheefkeduiedqjhhohhhnfi eppehgnhhurdhorhhgsehnvgifrghrthhishgrnhhsrdgtohhm X-ME-Proxy: Feedback-ID: ib64945b7:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Oct 2022 11:22:02 -0400 (EDT) In-Reply-To: <87lepmg1mj.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 11 Oct 2022 09:17:56 +0000") Mail-Followup-To: Philip Kaludercic , Naoya Yamashita , Stefan Kangas , Akib Azmain Turja , Payas Relekar , emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:297492 Archived-At: >>>>> Philip Kaludercic writes: > I am not sure if there is any interest, but my `setup' package[0] might be > such a candidate, when combined with a "declarative to imperative" > translation layer. I was playing with such a concept a few months ago[1], > but never completed it. This specific implementation might be too > "cl-generic"-heavy. But in principle it works: This is a very nice idea, I didn't consider having a "canonical intermediate form". Perhaps because the user would mostly never see it, and the final result is very much the same. By separating out the processing of declarative keywords into individual helper functions, I was hoping to make the processing of each "bit" simple enough so that just macro-expansion would be the only tool needed to debug when the expanded behavior is unexpected. I still like the idea very much, though; it speaks to my compiler-writer heart. :) -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2