unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Why Emacs is echoing message for each installed Emacs package while startup
       [not found]                           ` <87y1wjgg7a.fsf@disroot.org>
@ 2022-07-26  8:27                             ` Akib Azmain Turja
  2022-08-03  7:12                               ` bug#56778: " 宋文武 via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Akib Azmain Turja @ 2022-07-26  8:27 UTC (permalink / raw)
  To: help-guix, guix-patches


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: patch --]
[-- Type: text/x-patch, Size: 939 bytes --]

From d4b449e7c129a6d44414790ad36046e4d325a55e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= <andremegafone@gmail.com>
Date: Sat, 21 May 2022 14:42:12 +0100
Subject: [PATCH] gnu: emacs: Suppress loading messages.

---
 gnu/packages/aux-files/emacs/guix-emacs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el
index eff44bfe90..56dbcb8d67 100644
--- a/gnu/packages/aux-files/emacs/guix-emacs.el
+++ b/gnu/packages/aux-files/emacs/guix-emacs.el
@@ -56,7 +56,7 @@ The files in the list do not have extensions (.el, .elc)."
   (let ((autoloads (mapcan #'guix-emacs-find-autoloads
                            (guix-emacs--non-core-load-path))))
     (mapc (lambda (f)
-            (load f 'noerror))
+            (load f 'noerror t))
           autoloads)))
 
 ;;;###autoload
-- 
2.36.0


[-- Attachment #1.2: Type: text/plain, Size: 1835 bytes --]

Akib Azmain Turja <akib@disroot.org> writes:

> Jorge P. de Morais Neto <jorge+list@disr.it> writes:
>
>> Hi!  I reply below:
>>
>> Em [2022-05-22 dom 17:26:55+0600], Akib Azmain Turja escreveu:
>>> Thanks a lot.  Just a question, where should I send the patch?
>>> guix-devel?
>>
>> Did you send the patch?  I have searched debbugs and have not found any
>> such submission.  I care because:
>>
>> 1. It significantly pollutes the *Messages* buffer, which can mask
>>    important warnings such as when Emacs loads a .elc byte compiled file
>>    that is older than its source code.
>> 2. For people who byte-compile Elisp files from a Makefile, these
>>    messages causes significant pollution, masking byte-compilation warnings.
>> 3. For people who use the nativecomp feature (from a guix channel),
>>    the native compilation of *each* Emacs package yields loading messages
>>    for *every* Guix-installed Emacs package, resulting in O(n^2) growth.
>>
>> Regards
>
> Thanks for reminding.  I forgot it completely, because the only Emacs
> package I have currently installed with Guix is emacs-vterm, because
> Guix doesn't work with the Emacs I compiled myself.  I have attached the
> patch to this message and CCed to guix-patches.
>
> CC guix-patches, for each Emacs package I have installed, Emacs echoes
> "Loading /gnu/store/...-emacs-.../...-autoloads.el" while startup.  I
> have attached a patch fixing it (thanks to "André A. Gomes
> <andremegafone@gmail.com>" for preparing it).

Did I really sent the patch?  Looks like I forgot to attach the patch
and CC guix-patches.  :-/

-- 
Akib Azmain Turja

Find me on Mastodon at @akib@hostux.social.

This message is signed by me with my GnuPG key.  It's fingerprint is:

    7001 8CE5 819F 17A3 BBA6  66AF E74F 0EFA 922A E7F5

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#56778: Why Emacs is echoing message for each installed Emacs package while startup
  2022-07-26  8:27                             ` Why Emacs is echoing message for each installed Emacs package while startup Akib Azmain Turja
@ 2022-08-03  7:12                               ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Guix-patches via @ 2022-08-03  7:12 UTC (permalink / raw)
  To: Akib Azmain Turja; +Cc: help-guix, 56778-done

Akib Azmain Turja <akib@disroot.org> writes:

> From d4b449e7c129a6d44414790ad36046e4d325a55e Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= <andremegafone@gmail.com>
> Date: Sat, 21 May 2022 14:42:12 +0100
> Subject: [PATCH] gnu: emacs: Suppress loading messages.

Pushed with adjusted commit message, thank you!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-03  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <874k1qejtg.fsf@disroot.org>
     [not found] ` <20220516015831.577e652f@riseup.net>
     [not found]   ` <87sfp9dh9m.fsf@disroot.org>
     [not found]     ` <86fsl9sq5c.fsf@gmail.com>
     [not found]       ` <8735h9cuck.fsf@disroot.org>
     [not found]         ` <86h75pjj2c.fsf@gmail.com>
     [not found]           ` <87v8u4bnc5.fsf@disroot.org>
     [not found]             ` <86h75nkei6.fsf@gmail.com>
     [not found]               ` <87a6beby96.fsf@disroot.org>
     [not found]                 ` <86ee0qd03d.fsf@gmail.com>
     [not found]                   ` <87h75j6rlx.fsf@disroot.org>
     [not found]                     ` <87h75jngmz.fsf@gmail.com>
     [not found]                       ` <87fsl1zu2o.fsf@disroot.org>
     [not found]                         ` <87a68zd9li.fsf@disr.it>
     [not found]                           ` <87y1wjgg7a.fsf@disroot.org>
2022-07-26  8:27                             ` Why Emacs is echoing message for each installed Emacs package while startup Akib Azmain Turja
2022-08-03  7:12                               ` bug#56778: " 宋文武 via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).