From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" 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, 5 Aug 2021 11:23:11 -0700 Message-ID: <24844.11407.335110.434542@retriever.mtv.corp.google.com> 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; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22885"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, eliz@gnu.org, arthur.miller@live.com, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 05 20:23:56 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 1mBi27-0005oc-Sc for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 20:23:55 +0200 Original-Received: from localhost ([::1]:55274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBi26-0005bm-Ot for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 14:23:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBi1a-0004vS-9W for emacs-devel@gnu.org; Thu, 05 Aug 2021 14:23:22 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:55877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBi1Y-0001jL-Qr for emacs-devel@gnu.org; Thu, 05 Aug 2021 14:23:21 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id ca5so10906971pjb.5 for ; Thu, 05 Aug 2021 11:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=PxsFGW7NvQdwgTBHfTqjCzCL2FvX0FPsX2pRB4nrTqM=; b=HdsM3ZKTE7AEzs/9c/dj1AiiFkU6e/k7Wq3HvI/V0+CkTWAc9ucIWm1avcvhH5U5eO TOiB0EF9VROtBL8Cck2ijeIayyi1Y1B38rpo2Ndtk0hjRSJ7Iykr/pp7kuBZ6hAsgTTO q371k7yyyuw2cYL97O/bgqlYWakgMYUGD2/6JN/JtdtZ86ZDri64Rqv/exJB0T6y96gn PD8UaCgZTcNkpwrmTBSrzdUAG8CUPpuLcE9GjmMMXLTthhEWxKEnyYoCJCNuKm1UY2jl 1yIjLkrK1TQ3VFxhm8XtH4H1Wbk6sbzuV5/aE1NobQAtukXZPPguTZjnmK88zupA5kxk GIFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=PxsFGW7NvQdwgTBHfTqjCzCL2FvX0FPsX2pRB4nrTqM=; b=MLymd9WPie9iwXsRU14ws3Ud9TOKM7KYaW82sNZQ3F0eV1HoGmNe9sofJ0rj2sPbjf J7I6pRyT+6KudtUGupYIC2pR/3CPNghLNtloSJjt9b9VC90Xzsg9cEI4zi7D/gKZ7bik IWdxUK8hc9lIq/5qbi87js6t5fIIb+Jo3SsnEevPjFZ0hmgqn9tNvxI70fRpiPiCRDWA TcGuJhzFA6RVWA+29d3r9JPt5uivNE+cPiev1jE2b/IJR+LVmUHjKPFgFNDsuvvaOtbr wdih06AipZ9DVnyZNbEIALDlB+rY8A71PWr429V9QnUV8hOQ5lY28G8k/jwNHq9N9lta C6yg== X-Gm-Message-State: AOAM530gYznJ4G1b4lUkEc+9uUOtXV4tNbJjlIFYcsVZImUEQF/fL/BV fnD3JfwJQl0uVxPRtjh32LfViatVF5vGLw== X-Google-Smtp-Source: ABdhPJxHdiaZ+0op1JfjvVBtaJ1iTQh2TdcAuWshUS8kUjqnBbJlc2TTTopPTdkaoGlpKlki5fLcIA== X-Received: by 2002:a17:90b:1882:: with SMTP id mn2mr6171741pjb.2.1628187798853; Thu, 05 Aug 2021 11:23:18 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:fc47:e29:a898:46ed]) by smtp.gmail.com with ESMTPSA id nm19sm10212622pjb.27.2021.08.05.11.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Aug 2021 11:23:17 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=raman@google.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -176 X-Spam_score: -17.7 X-Spam_bar: ----------------- X-Spam_report: (-17.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.132, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable 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:272111 Archived-At: SG, Perhaps we wait till async is in emacs core and then revisit this. Stefan Monnier writes: > > Do we know what other "relevant variables" are here=3F >=20 > 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 install= ed > packages only work after running some of the `.emacs`. >=20 > 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. >=20 > 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 in= to > Emacs core. >=20 >=20 > Stefan --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮