help-guix
[Top][All Lists]
Advanced

[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 20:55:01 -0600
User-agent: mu4e 1.6.10; emacs 28.1.50

On Sat, 21 May 2022 20:47:17 -0600 (7 minutes, 44 seconds ago), Maxim Cournoyer 
<maxim.cournoyer@gmail.com> wrote:

> Hi,

> [...]

> >> > 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.

> That's not with the Emacs in Guix I guess, since we do not yet have
> native compilation enabled. 


It's via a Guix channel for nativecomp Emacs: 
<https://github.com/flatwhatson/guix-channel> .

> But it seems like the problem here is not
> the printing of the messages, but why when natively compiling packages
> it would cause all the packages to be reloaded for each package... which
> is crazy.

It only seems to be the packages installed via Guix though.


reply via email to

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