all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arthur Miller <arthur.miller@live.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: eliz@gnu.org, emacs-devel@gnu.org, "T.V Raman" <raman@google.com>
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 07:24:48 +0200	[thread overview]
Message-ID: <AM9PR09MB49772B37C33B750123FE295796F39@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <jwvv94jojcd.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 05 Aug 2021 14:11:40 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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 prefer to save manpowers vs complicating things, so I think the
most pragmatic thing would be just to start emacs with user settings and
let create quickstart file. As I wrote in another mail, it is an async
process and result is not needed until next restart. Here I definitely
don't think it is worth complicating things to save a second or few.

If the user is sitting and waiting for the quicstart file to refresh to
restart Emacs, than the user would be using this synchronized anyway,
and miss the point of doing it async, isn't it so?

I guess the problem is that use-package has that :ensure flag, which
will download and install package when Emacs starts. I personally have
gone away from use-package, and do all isntallation "offline", not when
Emacs starts, i.e. I suggest manual installation (package-install) if
user would like to install a package and have it immidiately avialable
in current seesion. I don't know if that is problem that motivates
Raman for this change, just guessing, so forgive me if I am wrong here.



  parent reply	other threads:[~2021-08-06  5:24 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-20  0:27 28.0.50; Proposal: slightly more efficient package-quickstart.el Arthur Miller
2021-07-20  2:54 ` Stefan Monnier
2021-07-20  6:01   ` Arthur Miller
2021-07-20 15:49     ` Stefan Monnier
2021-07-22 22:38       ` Arthur Miller
2021-07-23 14:36         ` Stefan Monnier
2021-07-23 14:50           ` Async rebuild package-quickstart after packages update? was " T.V Raman
2021-08-03 22:20             ` Stefan Monnier
2021-08-04  2:24               ` T.V Raman
2021-08-04  3:25                 ` Stefan Monnier
2021-08-04 14:20                   ` T.V Raman
2021-08-04 17:19                     ` Stefan Monnier
2021-08-04 18:36                       ` T.V Raman
2021-08-05  0:22                       ` T.V Raman
2021-08-05  6:00                         ` Eli Zaretskii
2021-08-05 14:17                           ` T.V Raman
2021-08-05 14:29                           ` T.V Raman
2021-08-05 14:59                             ` Stefan Monnier
2021-08-05 15:21                               ` T.V Raman
2021-08-05 16:23                                 ` Stefan Monnier
2021-08-06  5:18                                   ` Arthur Miller
2021-08-06  6:39                                     ` Eli Zaretskii
2021-08-06 13:20                                       ` Arthur Miller
2021-08-06 13:28                                         ` Eli Zaretskii
2021-08-06 14:13                                           ` Arthur Miller
2021-08-06 14:53                                           ` Arthur Miller
2021-08-07  0:46                                             ` chad
2021-08-07  5:26                                               ` Eli Zaretskii
2021-08-07  5:45                                               ` Arthur Miller
2021-08-06 14:24                                       ` Stefan Monnier
2021-08-06 14:29                                         ` T.V Raman
2021-08-05 16:25                                 ` Eli Zaretskii
2021-08-05 16:57                                   ` T.V Raman
2021-08-05 17:03                                     ` Eli Zaretskii
2021-08-05 18:11                                     ` Stefan Monnier
2021-08-05 18:23                                       ` T.V Raman
2021-08-05 19:48                                       ` On The Use(fullness) of make-thread " T.V Raman
2021-08-06  5:24                                       ` Arthur Miller [this message]
2021-08-07  4:19                                       ` Clément Pit-Claudel
2021-08-07  5:38                                         ` Arthur Miller
2021-07-23 17:00           ` Arthur Miller
2021-07-23 22:26       ` Arthur Miller
2021-07-23 22:37         ` Arthur Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM9PR09MB49772B37C33B750123FE295796F39@AM9PR09MB4977.eurprd09.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=raman@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.