From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CCKmOYFoiWLn3QAAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 00:32:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aBirOIFoiWLwRAEAG6o9tA (envelope-from ) for ; Sun, 22 May 2022 00:32:33 +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 8E0DA3F632 for ; Sun, 22 May 2022 00:32:33 +0200 (CEST) Received: from localhost ([::1]:56152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsXBW-0006QO-PZ for larch@yhetil.org; Sat, 21 May 2022 18:02:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsXB7-0006QE-Ra for help-guix@gnu.org; Sat, 21 May 2022 18:02:29 -0400 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]:44907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsXB6-00027y-40 for help-guix@gnu.org; Sat, 21 May 2022 18:02:29 -0400 Received: by mail-oi1-x232.google.com with SMTP id i66so13749521oia.11 for ; Sat, 21 May 2022 15:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=fkoNx12g97QZCbqIevNxQsfWoHthbA94r+M9SMu+tOs=; b=SauOQiVObV+i9sZyCFikiQ0E3HpBCOwUCAQEu5jBA2DFkMnPbJmFe4nwD6gHKfkoms SIIOCRYZLJdii6+PM3m0CxwTMmftvLcFGuDOHU8yZ3FuoUB8L981Lj/J9gZZ9N2CeE4L 0oQnauYPps2W2FzyUriC3tdV4DF8B+SmC6GV/5eIXKRDg29E2v4abqajgyjUk9su4t2f WiuI32t0Lu3kz/xKHdwfAyEggn+Z38yJnrRWsvj+hZB7/CKT4qilQ4F5CryK/L/RCSNz MH+aoMHLeo7NKhCRgDbUY4X0R6CF/J5QU6yv/AKMVgrSpzID00iR43LzTL4lbiRfzRnZ 32fA== 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:date:references:user-agent :in-reply-to:message-id:mime-version; bh=fkoNx12g97QZCbqIevNxQsfWoHthbA94r+M9SMu+tOs=; b=GXC3srdW8KtivDwDuqWUS3Z6ht/DOUEoIX/5YLTYuDGDpFjnjaB1w1pV5dft9Ahc+X WiAAvmfzBFEHNYVeXRNtrGCHPRDxTlB46YbL7bNJHOWKqajzOYEwC/pk1g4UxQgNGX+C 7ekpdxWtaECujA5m1sJzid2/0cw765fT+tMTsSqf4OVjdvkLR1S09fiEeN8/uKkkxFj1 wgyiwQKWHUWJj2HZTwDaMceihUjQpHssHNopZNtgiV/G1MpcibPUtVnlXVNsZVpBfGij qdgSjJc3YL4dM9W+FPUjrAL9dSs21EqZrfcPNQ43j0LXVUOUY1K+H9qn/hLuGFCTVInn A79w== X-Gm-Message-State: AOAM533CO4YvD3rYUuRUWlOQ1ADD0trdYX+F/cXmLEAQ8UcvPqNVQ3BK a3CGO1f/a9VNmUheT+Cix8Yqk+q/qj4= X-Google-Smtp-Source: ABdhPJyZOowE0ysEloowOLygnvL7Ob/p3BnJQLS58VYAV8wQ/gFLN8qE0UK8D6Dao6/ZbUX8qcH80A== X-Received: by 2002:a05:6808:1b29:b0:326:4992:3d96 with SMTP id bx41-20020a0568081b2900b0032649923d96mr8733510oib.42.1653170546451; Sat, 21 May 2022 15:02:26 -0700 (PDT) Received: from zanskar ([69.4.234.75]) by smtp.gmail.com with ESMTPSA id q6-20020a056870028600b000f1aa7f4707sm2334769oaf.34.2022.05.21.15.02.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 May 2022 15:02:26 -0700 (PDT) From: Benjamin Slade To: Maxim Cournoyer Cc: Akib Azmain Turja , zimoun , raingloom , help-guix@gnu.org Subject: Re: Why Emacs is echoing message for each installed Emacs package while startup Date: Sat, 21 May 2022 16:00:36 -0600 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> <878rqubnj5.fsf@gmail.com> User-agent: mu4e 1.6.10; emacs 28.1.50 In-reply-to: <878rqubnj5.fsf@gmail.com> Message-ID: <87pmk6sfwv.fsf@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::232; envelope-from=beoram@gmail.com; helo=mail-oi1-x232.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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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=1653172353; 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=LG7K0nwJNORXy9Y+6CbR2V9SCrPVf00SmC/0NJ1+yHs=; b=VQqP4uuRDJ6kGvc5tFJHOWZ9xSr+LErLLoQ14M+0OzYvjWwF0VfmkRfxE4dT7nKxVoEEjx AJZB3mzycM/E0xxAjd6Xw8QyZHZG9HFUJQKqv+tPabBF8f06bLB9NVOeupdbg8LcL0fujv NZtlnP6qTFtVfZvBWKU/hvN/+n/SXdEPOqxWafilt7INcfQdmcVp1gdWdQtCy+fYZThroE 1R69i8x+kNPmx8qLWF0hKSWzUzRzYNxqAO+C+w9jZ0bZ+egv9B+vORh8gBLbnMFFVRxw7Q cq0RJp87HWJ20Mt24aKUM2iC5P240NZzUEk1rap8s8Gh+vpshlWnvADu0i7ZuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653172353; a=rsa-sha256; cv=none; b=e3MtYwL5v+UydiIG7P+F4JNrbHp1hgQuDYEf/NedHAfVrgYE7UTWysSysYD0FN7ufLH0Mg 30IAZ9pQCecRQZRKSkjCESSnzgA0FrtUzgH/UZpuYKMNRFgzA8Y2A29I9zj6/m/P8/X103 ggH8HClU0tws2xpl6zC5q/wAIrlBMpnab9M17Aotu0Kd+eiqiacqRs74dvLBKQ832yjvnR uWyEc0IvJo8soi16WPBxD9yPgT0rM3R0d8nexizOVHqAqR1IO3CbdpVlIHDkLx7Xg8F7Ji CRAyh10vFBHTg3bkt1ikLM6mZC0WfHXvZ44Kc9i0CxZ0Pg1a3O0M/KW4VpW0sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=SauOQiVO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=SauOQiVO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 8E0DA3F632 X-Spam-Score: 7.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: WFFznVl+1LFO On Sat, 21 May 2022 15:09:50 -0600 (50 minutes, 46 seconds ago), Maxim Cour= noyer wrote: > Hi, > Akib Azmain Turja writes: > > zimoun writes: > > > >> Hi, > >> > >> On Wed, 18 May 2022 at 22:29, Akib Azmain Turja wro= te: > >> > >>> The timing maybe wrong, because it is more a year old (and I didn't > >>> measure). I was new to Emacs Lisp (I used Doom before), and my init.= el > >>> was messy. So maybe the init file had something in it that was > >>> responsible for slow startup when the packages managed by Guix. > >> > >> Well, if you are able to time the two setups: the one using package.el > >> and =E2=80=99leaf=E2=80=99 and the other one using Guix (and probably = replacing the > >> lines =C2=AB:ensure :package :feather :straight :el-get=C2=BB to use i= nstead the > >> Emacs packages installed by Guix). > >> > >> It could be informing about the potential gap. > There were timings made in the past when considering using the builtin > package.el to take care of some of the things we do, but it's much more > code than what we have and is unsurprisingly a bit slower. If you look > at the guix-emacs.el file that takes care of autoloads discovery you'll > see there's really not much to it, if fits all under 100 lines of code. > > 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 E= macs is native compiling packages. And the all of the "loading packages" me= ssages are repeated before /each/ package that is compiled.