[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why Emacs is echoing message for each installed Emacs package while
From: |
Benjamin Slade |
Subject: |
Re: Why Emacs is echoing message for each installed Emacs package while startup |
Date: |
Sat, 21 May 2022 16:00:36 -0600 |
User-agent: |
mu4e 1.6.10; emacs 28.1.50 |
On Sat, 21 May 2022 15:09:50 -0600 (50 minutes, 46 seconds ago), Maxim
Cournoyer <maxim.cournoyer@gmail.com> wrote:
> Hi,
> Akib Azmain Turja <akib@disroot.org> writes:
> > zimoun <zimon.toutoune@gmail.com> writes:
> >
> >> Hi,
> >>
> >> On Wed, 18 May 2022 at 22:29, Akib Azmain Turja <akib@disroot.org> wrote:
> >>
> >>> The timing maybe wrong, because it is more a year old (and I didn't
> >>> measure). I was new to Emacs Lisp (I used Doom before), and my init.el
> >>> was messy. So maybe the init file had something in it that was
> >>> responsible for slow startup when the packages managed by Guix.
> >>
> >> Well, if you are able to time the two setups: the one using package.el
> >> and ’leaf’ and the other one using Guix (and probably replacing the
> >> lines «:ensure :package :feather :straight :el-get» to use instead the
> >> Emacs packages installed by Guix).
> >>
> >> It could be informing about the potential gap.
> There were timings made in the past when considering using the builtin
> package.el to take care of some of the things we do, but it's much more
> code than what we have and is unsurprisingly a bit slower. If you look
> at the guix-emacs.el file that takes care of autoloads discovery you'll
> see there's really not much to it, if fits all under 100 lines of code.
> > But, why is the message is shown? Can someone remove it? It would
> > probably be better that I myself clone the repo, fix it and send the
> > patch, but my hard disk space isn't allowing me to do that. Is it
> > possible disable that message by modifing any Guix configuration file?
> Like Simon, I do not see why the autoloads-related messages are a
> problem; they only occur when starting Emacs from scratch. If you have
> so many packages that the loading time or loading messages bothers you,
> you may want to consider running Emacs as a server and connecting to it
> via emacsclient; that way you load it once when you login to your
> session for example and that's it.
> For what it's worth, the messages are not printed by that custom Guix
> Elisp code explicitly but by the Emacs function `load', on line 59 of
> guix-emacs.el: (load f 'noerror). If it really bothers you could change
> it to:
> (load f 'noerror 'nomessage)
> Hope that helps,
> Maxim
The messages also appear when viewing the *Async-native-compile-log* when Emacs
is native compiling packages. And the all of the "loading packages" messages
are repeated before /each/ package that is compiled.
- Re: Why Emacs is echoing message for each installed Emacs package while startup, (continued)
- Re: Why Emacs is echoing message for each installed Emacs package while startup, zimoun, 2022/05/16
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Akib Azmain Turja, 2022/05/17
- Re: Why Emacs is echoing message for each installed Emacs package while startup, zimoun, 2022/05/17
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Akib Azmain Turja, 2022/05/18
- Re: Why Emacs is echoing message for each installed Emacs package while startup, zimoun, 2022/05/18
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Akib Azmain Turja, 2022/05/21
- Re: Why Emacs is echoing message for each installed Emacs package while startup, André A . Gomes, 2022/05/21
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Akib Azmain Turja, 2022/05/22
- Re: Why Emacs is echoing message for each installed Emacs package while startup, raingloom, 2022/05/22
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Maxim Cournoyer, 2022/05/21
- Re: Why Emacs is echoing message for each installed Emacs package while startup,
Benjamin Slade <=
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Maxim Cournoyer, 2022/05/21
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Benjamin Slade, 2022/05/21
- Re: Why Emacs is echoing message for each installed Emacs package while startup, Akib Azmain Turja, 2022/05/22