From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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: Fri, 06 Aug 2021 16:28:10 +0300 Message-ID: <83h7g2itxx.fsf@gnu.org> References: <24842.41537.969310.87574@retriever.mtv.corp.google.com> <83tuk4jusd.fsf@gnu.org> <83pmurhy9s.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16756"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, raman@google.com To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 06 15:28:59 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 1mBzuE-000449-D6 for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Aug 2021 15:28:58 +0200 Original-Received: from localhost ([::1]:58550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBzuC-0005Jn-Rc for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Aug 2021 09:28:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBztZ-0004dl-Px for emacs-devel@gnu.org; Fri, 06 Aug 2021 09:28:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46184) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBztY-0003Ph-9M; Fri, 06 Aug 2021 09:28:16 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1328 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBztX-00024u-LM; Fri, 06 Aug 2021 09:28:16 -0400 In-Reply-To: (message from Arthur Miller on Fri, 06 Aug 2021 15:20:19 +0200) 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:272134 Archived-At: > From: Arthur Miller > Cc: monnier@iro.umontreal.ca, raman@google.com, emacs-devel@gnu.org > Date: Fri, 06 Aug 2021 15:20:19 +0200 > > >> Why do you even care for -Q option there? You would like to do it async, > >> so just start the process with user settings and forgett about it and > >> let it chew until it's done. > > > > Starting "emacs -batch" with user settings could easily fail, since > > many settings in the init files are for interactive sessions, and will > > signal errors when done in batch mode. > > Aha. Ok. Fair enough. But why runing in batch mode at all. > > Why not start normal emacs server process on another socket and > ask it to refresh quickstart file form another client? Two processes, > but no tinkering needed? Would that work? You mean, start a new interactive session, open an Emacs frame, run all the customizations, including perhaps restoring the last session via desktop, etc.? Doesn't sound right to me.