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: Maxim Cournoyer
Subject: Re: Why Emacs is echoing message for each installed Emacs package while startup
Date: Sat, 21 May 2022 22:47:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

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

Maxim



reply via email to

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