From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yD5LCKgahGJmYwAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 23:59:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8P8HCKgahGIPOwAAauVa8A (envelope-from ) for ; Tue, 17 May 2022 23:59:04 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B7BDE1D89D for ; Tue, 17 May 2022 23:59:03 +0200 (CEST) Received: from localhost ([::1]:56564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nr5Da-0005Uq-7x for larch@yhetil.org; Tue, 17 May 2022 17:59:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nr5DO-0005UV-Bh for help-guix@gnu.org; Tue, 17 May 2022 17:58:50 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:39426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nr5DM-0003dI-S3 for help-guix@gnu.org; Tue, 17 May 2022 17:58:50 -0400 Received: by mail-wr1-x42e.google.com with SMTP id h14so140127wrc.6 for ; Tue, 17 May 2022 14:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=+ivLpjKuBvVzXqwHir0lDDtPu1ns71m4bmPt2FS44aY=; b=FgaWLZ5vLAjh11aIuAOgNJLObrrN36J3ZKLOrjIp++gqtYtnOVaJaOKtLVG/0y/RRY bKNSehkdyAun/pYQRvIaoHrjmrEbAwE2DZApyjEKnWCc7aDJx8D9qjmixM/mxK57tO4x VNcq4NkHNqhJKhdYc2+9bPNRKyslhpz0o8Z7OzDfrx0OfUIz/SaJN/E6FqhQgi7vJRM7 h3Z/2h6S0thjzkF6VubQpO20rmTXNRlCqwQisAJKVX2pVWgzYpYfGtm2cH8Q+m63MTcw 6gbBjHxct4JGojbl5ocapALsVCvNgibvaFnyegF/2iZC4ODYaFioV+92disZjejgA4Yu dvTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=+ivLpjKuBvVzXqwHir0lDDtPu1ns71m4bmPt2FS44aY=; b=wqpauBvts35/mzIdZd40a3B0/kqopC6AS0a4rchRXLst3lC0DEEWIviR4DDwC8hGng awg4JzMRJQ1fkVDLNdBN4ERI2fz2cZTCXs2k/LvvO4WFaq6kX8r0eCj4YKgIUYENu1Ef YGzp22w15lKP7HuqjIY7WKrFaB9cHF7TAJATXmSOt4lrXilln4Rj303WaacaUwhWvAml Lg9RlNNuz57dXuVp3HPeGo/YAPHYwZasEfbkPM3Pn0ca4MAerhuyu15uBrh0D4ah3xma 3j5HoyA07gdY+6/UGKHYwNfMifuY/7Ceu1U7E2scOLkutWSonRjG/fxKXe5t84BC6+GP +E0Q== X-Gm-Message-State: AOAM530rAQLEqqWczXmz+EbJfotYOQfXB+z6Ze9Qsj4WD1OKWJ+6H2Tm mlp41osMwnN0fw6nL0tvtvHNy4bQuhE= X-Google-Smtp-Source: ABdhPJzoFAOdzQoLfrdn01CPrjTAz5v+lXNOqLuSX0UBmoZUBMUFVnhrh4VblomOt4PRMlA6A7zpXg== X-Received: by 2002:a05:6000:184d:b0:20d:4462:3288 with SMTP id c13-20020a056000184d00b0020d44623288mr5439314wri.658.1652824726736; Tue, 17 May 2022 14:58:46 -0700 (PDT) Received: from lili ([146.0.26.198]) by smtp.gmail.com with ESMTPSA id b4-20020adfc744000000b0020d12992541sm109225wrh.103.2022.05.17.14.58.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 14:58:46 -0700 (PDT) From: zimoun To: Akib Azmain Turja , raingloom Cc: help-guix@gnu.org Subject: Re: Why Emacs is echoing message for each installed Emacs package while startup In-Reply-To: <87v8u4bnc5.fsf@disroot.org> 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> Date: Tue, 17 May 2022 23:58:41 +0200 Message-ID: <86h75nkei6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652824743; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+ivLpjKuBvVzXqwHir0lDDtPu1ns71m4bmPt2FS44aY=; b=WqBR/Wn/pd1JjT6b+qn3sahSaEyP4GbwNNUZZPIsfBfEgyERNftayoc8WrCNjp9PFq+/70 zprbYIZvqsmCJ3Xfw/KvdwopccKIFVdyfhnTqmwKUCvyQUp67l1aa9CkMDDXD7meJJQt2z 2odcOc5mLVIx7/CEF7PFlSE0eTGVavH3KxWsKwlx0xze8nJOU/Yu588MB7EXAGSa4hwxQI pTaEWJOsZqjqH3XsxoRat8MbQim7VBQp74SEE60R1WvLeFH1VAp50CpQ8Vv8FaGxBgQoIS stSM796p3BCb253AKjdVFg51QVrzi+dGqWyyjg7andoUWAyTrGI7o18rfQNfcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652824743; a=rsa-sha256; cv=none; b=bHgG8UwX4jLIAyTYZ7GW2QLqlrRisodx+5PQwygMeuX3Lve0XK5/MevQTdCrNHkOP5J1cm UHyJ4VjqXFxdTHyYWO7qIi4CmEs0No3a7AyVZRYLR+ZzhaNmq2YpGYjcBruHF73x9ZDem8 1OTmgARyQWIQeFgq89jSwDTFDaCfADLCPyDrzPlbeFA/CJiXMWtnic33Z1Wgf21YDnxwEH 62kIcvHar4dIh3ORcgRNOdetnOx7uGBSj74xziKOfS9gOTRwXH490oQXq0hG99+/x6lszp ZJPKDqZshADPaBKx5NGl51bYe/Snan4pqxOIt8YB0vs9WFfC76ztKZcDyxGhLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FgaWLZ5v; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FgaWLZ5v; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B7BDE1D89D X-Spam-Score: -9.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: T7XdxnKdWSRg Hi, On Tue, 17 May 2022 at 14:00, Akib Azmain Turja wrote: > I used to have more than hundred Emacs packages managed by Guix. But > the startup time was more than 5 seconds. Then to switched package.el, > and the startup time decreased to less than 1.5 seconds. I'm not sure > why this happened, but I think the cause is maybe too many "redisplay"s > due to many loading messages during startup. Well, I do not know. Hum, I do not have more than hundred, --8<---------------cut here---------------start------------->8--- $ guix package -p ~/.config/guix/profiles/emacs/emacs -I | grep emacs | wc = -l 43 --8<---------------cut here---------------end--------------->8--- but it does not takes so long: --8<---------------cut here---------------start------------->8--- $ time emacs -f kill-emacs real 0m1.682s user 0m1.279s sys 0m0.241s --8<---------------cut here---------------end--------------->8--- which looks similar to, M-x emacs-init-time 1.727791789 seconds therefore, I am surprised by your timings. For instance, --8<---------------cut here---------------start------------->8--- $ guix shell emacs $(guix package -A | grep ^emacs- | cut -f1 | head -200) [env]$ time emacs -nw -q -f kill-emacs real 0m2.368s user 0m2.037s sys 0m0.309s --8<---------------cut here---------------end--------------->8--- Well, I do not know if =E2=80=99with-eval-after-load=E2=80=99 is enough for= somehow allowing lazy loading. Hum, I am not convinced that the =E2=80=99redisplay= =E2=80=99 is the issue but instead, yeah maybe walking all the files requires some filesystem IO and yeah maybe one unique big concatenated autoload file would improve the situation. Do you use =E2=80=99use-package=E2=80=99 or something similar for your conf= ig? Cheers, simon