From patchwork Tue Jul 26 08:27:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Akib Azmain Turja X-Patchwork-Id: 4064 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2D10227BBE9; Tue, 26 Jul 2022 09:50:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 43EF327BBEA for ; Tue, 26 Jul 2022 09:50:12 +0100 (BST) Received: from localhost ([::1]:34868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGGGZ-0006yu-F7 for patchwork@mira.cbaines.net; Tue, 26 Jul 2022 04:50:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGFw6-0001In-OB for guix-patches@gnu.org; Tue, 26 Jul 2022 04:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGFw6-0005r2-FL for guix-patches@gnu.org; Tue, 26 Jul 2022 04:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGFw6-00008A-BK for guix-patches@gnu.org; Tue, 26 Jul 2022 04:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56778] Why Emacs is echoing message for each installed Emacs package while startup Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Jul 2022 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56778 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: help-guix@gnu.org, 56778@debbugs.gnu.org X-Debbugs-Original-To: help-guix@gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1658824134484 (code B ref -1); Tue, 26 Jul 2022 08:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2022 08:28:54 +0000 Received: from localhost ([127.0.0.1]:52191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGFvx-00007k-PK for submit@debbugs.gnu.org; Tue, 26 Jul 2022 04:28:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:43700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGFvu-00007b-Pq for submit@debbugs.gnu.org; Tue, 26 Jul 2022 04:28:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGFvu-0001Fp-Ek; Tue, 26 Jul 2022 04:28:50 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGFvr-0005qO-Ib; Tue, 26 Jul 2022 04:28:50 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 87D5940E4C; Tue, 26 Jul 2022 10:28:43 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wkts-dEnb-j0; Tue, 26 Jul 2022 10:28:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658824122; bh=n6/zS+w73wWCVfoewsuyKPO6QbQQV4SLk0I5jaAmJeQ=; h=From:To:Subject:References:Date:In-Reply-To; b=fYPmwXC4PcMh7OAV8SFAFDjtn/Bwv3JXk+81+t7dNu0ZkF5uSfwspaFmUvBVSKstg 8LECG87uuFzLfClxrsBvfoNnCx2wyo/wyh4T8KphXbDila+uRbcjhEakoiP3Gt8r8P dABMhlV1vrXYlFr7ET16UobAd1FYVNaEW4OIUFdy8MUvXD8CGWuXdg7TK7UL6RYNCt zwuJJzpYQah9u71D27J9eX6qAGf6tVutEoJuZ8Qb4vHJP6JWoFuNjyiWSiSsZE37xe gCbWzE1XiadmIOO12+EgedcR6sWO7zTYG08u8Aur1AbWwKwGbAIEL9pzdHfFQKn4O7 93ta3mOpGyKbw== References: <874k1qejtg.fsf@disroot.org> <20220516015831.577e652f@riseup.net> <87sfp9dh9m.fsf@disroot.org> <86fsl9sq5c.fsf@gmail.com> <8735h9cuck.fsf@disroot.org> <86h75pjj2c.fsf@gmail.com> <87v8u4bnc5.fsf@disroot.org> <86h75nkei6.fsf@gmail.com> <87a6beby96.fsf@disroot.org> <86ee0qd03d.fsf@gmail.com> <87h75j6rlx.fsf@disroot.org> <87h75jngmz.fsf@gmail.com> <87fsl1zu2o.fsf@disroot.org> <87a68zd9li.fsf@disr.it> <87y1wjgg7a.fsf@disroot.org> Date: Tue, 26 Jul 2022 14:27:38 +0600 In-Reply-To: <87y1wjgg7a.fsf@disroot.org> (Akib Azmain Turja's message of "Sun, 24 Jul 2022 12:47:21 +0600") Message-ID: <874jz4l1mt.fsf@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 26 Jul 2022 04:50:01 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Akib Azmain Turja X-ACL-Warn: , Akib Azmain Turja via Guix-patches X-Patchwork-Original-From: Akib Azmain Turja via Guix-patches via From: Akib Azmain Turja X-getmail-retrieved-from-mailbox: Patches Akib Azmain Turja writes: > Jorge P. de Morais Neto 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 > " for preparing it). Did I really sent the patch? Looks like I forgot to attach the patch and CC guix-patches. :-/ From d4b449e7c129a6d44414790ad36046e4d325a55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= 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