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: Thu, 5 Aug 2021 07:17:43 -0700

Thanks Eli, I didn't know about invocation-name, though I did want to
use the binary that had invoked Emacs, thanks for pointing it
out. I'll send an updated patch, I also need to make the process
buffer "hidden" by adding a space at the front of its name.
Eli Zaretskii writes:
 > > From: "T.V Raman" <raman@google.com>
 > > Cc: arthur.miller@live.com,  emacs-devel@gnu.org
 > > Date: Wed, 04 Aug 2021 17:22:23 -0700
 > > 
 > > Here is a simple patch that rebuilds package-quickstart-file in a
 > > separate emacs process:
 > 
 > Thanks.  I have one minor comment:
 > 
 > > -      (package-quickstart-refresh)
 > > +      (start-process
 > > +       "quickstart" "*quickstart*" "emacs"
 > > +       "-batch" "-q"
 > > +       "-l" "package"
 > > +       "-f" "package-quickstart-refresh")
 > 
 > The 3rd argument of start-process should use
 > 
 >   (expand-file-name invocation-name invocation-directory)
 > 
 > instead of the literal "emacs", so that it invokes the same Emacs
 > binary as the one in which the command runs.

-- 

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]