emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Async rebuild package-quickstart after packages update? was Re: 28.0


From: T.V Raman
Subject: Re: Async rebuild package-quickstart after packages update? was Re: 28.0.50; Proposal: slightly more efficient package-quickstart.el
Date: Wed, 4 Aug 2021 07:20:49 -0700

Interesting:-) Other discussons on emacs-devel have declared that
make-thread should never be used if the async call expects user-input
-- so combining both conclusions, we might as well declare make-thread
useless

Stefan Monnier writes:
 > T.V Raman [2021-08-03 19:24:59] wrote:
 > > Stefan Monnier <monnier@iro.umontreal.ca> writes:
 > > So looking at package.el:
 > > package-quickstart-refresh is called from
 > > package--quickstart-maybe-refresh and looking at the code in
 > > package-quickstart-refresh, it does not block on user input, so it may
 > > just be sufficient to change the call to package-quickstart-refresh
 > > to (make-thread  #'package-quickstart-refresh) --
 > > Thoughts?
 > 
 > The fact that it doesn't block on user input makes `make-thread` fairly
 > useless, I'm afraid.
 > 
 > 
 >         Stefan

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮



reply via email to

[Prev in Thread] Current Thread [Next in Thread]