From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Async rebuild package-quickstart after packages update? was Re: 28.0.50; Proposal: slightly more efficient package-quickstart.el Date: Thu, 05 Aug 2021 14:11:40 -0400 Message-ID: References: <24842.41537.969310.87574@retriever.mtv.corp.google.com> <83tuk4jusd.fsf@gnu.org> <83bl6bkgf3.fsf@gnu.org> <24844.6237.24918.634995@retriever.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9832"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: eliz@gnu.org, arthur.miller@live.com, emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 05 20:12:53 2021 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 1mBhrQ-0002OH-RT for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 20:12:53 +0200 Original-Received: from localhost ([::1]:52342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBhrP-00033t-1n for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 14:12:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBhqO-0002MW-Sy for emacs-devel@gnu.org; Thu, 05 Aug 2021 14:11:48 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBhqM-0001tF-4D; Thu, 05 Aug 2021 14:11:47 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A7DE110020E; Thu, 5 Aug 2021 14:11:43 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 599031000AE; Thu, 5 Aug 2021 14:11:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1628187102; bh=KgXKiSXVkoYTUV9i8zRJpfG3VNumQCbeL2hd1ECux98=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=CsJ7gY0AecWIUYC8XylWvStUPm0rkjvwsojlVRnHA6aPyJCd1rk/O90JFnRyZXulm qBnR8XQym+NNXBQxeb9K+sLHRJFMmhfPXxVscaeyqK73FJ0gyHvNpEze3trr4lBOPh 0TGXan+FpjC+GCZYXG/Pz6SBbV3RD8WzTG+rPDizUGHvWmHJMaWiDG4Y98/oxGseR6 IUdFE/VxG/v+iyQOgiUhsauqmnMl0gidUaJ2OXi81wg9e78TK97htSYznoDphJTAlf sY65XfAXUinVmfp/5JXcFgeLrnsiEDrS5a2uYy6gqcFEuMjn/v7cA8G1H5WSd8dKbB Y3Sjc08topb4w== Original-Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2578C1201C9; Thu, 5 Aug 2021 14:11:42 -0400 (EDT) In-Reply-To: <24844.6237.24918.634995@retriever.mtv.corp.google.com> (T. V. Raman's message of "Thu, 5 Aug 2021 09:57:01 -0700") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:272110 Archived-At: > Do we know what other "relevant variables" are here? If we're lucky the vars defined in package.el are all we need. But of course, the users may also be using a setup where the installed packages only work after running some of the `.emacs`. So one option is to transfer to the subprocess the current value of the vars defined in `package.el`. Another is to tell the subprocess to read the init files. BTW, all these issues are faced (and partly solved) by the `async` package we have in GNU ELPA. We really should try and include it into Emacs core. Stefan