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 wNu5MVpViWKn/AAAbAwnHQ (envelope-from ) for ; Sat, 21 May 2022 23:10:50 +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 ACClMFpViWIomQAAG6o9tA (envelope-from ) for ; Sat, 21 May 2022 23:10:50 +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 512793D3A0 for ; Sat, 21 May 2022 23:10:46 +0200 (CEST) Received: from localhost ([::1]:49616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsWN2-0005k9-Tw for larch@yhetil.org; Sat, 21 May 2022 17:10:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsWMb-0005je-7G for help-guix@gnu.org; Sat, 21 May 2022 17:10:18 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:38466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsWMY-00038Y-9n for help-guix@gnu.org; Sat, 21 May 2022 17:10:15 -0400 Received: by mail-qk1-x72f.google.com with SMTP id p123so216970qke.5 for ; Sat, 21 May 2022 14:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=hPq1cIWOR24DzjE5kCWPGvKxgjYRNtOCU4NbNJYDWPA=; b=Q9dPhTMpPZ1R6Ga9JuuYnHs1Y98vgLI5b1JB9DfPNWhXzJ6+8lK67dCrQacdq7elTk AHR+PKmnOINFDz/+NryL3LuPhhMNlr531ZsQ2PWpZPvX4MqvY2fo0nIPcEMInSZVV04q iayIc7dLs54gHTqrZmnKAhJp0pei3WBprprEWHUJhlSQSwHenhEp1TITx+dR2PmA51qk bEz8EgSCknfEumlRuopjE/St37cvX+zdEoBwhe9XZc2UZppEAiyVUadyw9X89MPJwf4D yVYEFMMiCrf9+AQjIXFq1EX7BS4qgsjMgoxZK+BZ0aVIwz0QBKb/f7jdfCljnVWUP4WJ /y0A== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=hPq1cIWOR24DzjE5kCWPGvKxgjYRNtOCU4NbNJYDWPA=; b=mSLvK/ncRV6eHNUexBz7QtcHbXY25aeucge5HUdecF1p/IFaSAmbndMZU0tKaJgSHk LhHtbT/IBffMilaBh0rX7WGpZ+5iLYPPVPpoMLCgHdRhODsfirX1upfxoofHex5fVA8t V+s6oODOhpzzW0chm2mP7RGbCvNqQgBT4nD3k2xGI2pfDkAajNdwktl+XKK8pXZImIFU X5cCFhd3R3gOqy3wck5RxHCEHHQ6ymLc5H9F4sCBtXVpgdvoALc7hFvqFqf0ENvlThoG rdoSkQTMIiKO4xU4T6DmkNsdeb6CcUCoICD3chKcXxHhFqXR4KjTosuN67soWkcAE8vv 8gjA== X-Gm-Message-State: AOAM531d2PbkFQzY4Q5pACYRmbKkJniPfSP0JOSX7PRQ4fjtMG9WOeM8 Q9xMMtbkSjl+Eib/udm0Am//kDXLYYaNkQ== X-Google-Smtp-Source: ABdhPJzX3WjgUhjhJIonZUCufOkTNFL/SIKDBHcBYCZxCMY97Khl5oB8jD9s293wzuH+mXheEPh4IQ== X-Received: by 2002:a05:620a:4155:b0:6a0:4cd7:3847 with SMTP id k21-20020a05620a415500b006a04cd73847mr9919150qko.7.1653167413062; Sat, 21 May 2022 14:10:13 -0700 (PDT) Received: from hurd (dsl-152-80.b2b2c.ca. [66.158.152.80]) by smtp.gmail.com with ESMTPSA id e23-20020ac86717000000b002f77a8bc37fsm1820637qtp.51.2022.05.21.14.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 14:10:12 -0700 (PDT) From: Maxim Cournoyer To: Akib Azmain Turja Cc: zimoun , raingloom , help-guix@gnu.org Subject: Re: Why Emacs is echoing message for each installed Emacs package while startup 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> Date: Sat, 21 May 2022 17:09:50 -0400 In-Reply-To: <87h75j6rlx.fsf@disroot.org> (Akib Azmain Turja's message of "Sat, 21 May 2022 17:40:42 +0600") Message-ID: <878rqubnj5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72f.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=1653167446; 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=hPq1cIWOR24DzjE5kCWPGvKxgjYRNtOCU4NbNJYDWPA=; b=IWXk0pl6iWYpuWkvUkJvqpsIG3dE0weZ3zu9QX9dXYUiJ8AnOoj5xi4KiZGOIVE0HiO3vA bxfK+bC55EUL5RcJOJXX75JiuFk1rYRmtMKivUOzFdlM9icUJOXlsRQqwBmh+cEyJyWr3k yYLYL0lY2Zc33GVb+6Uhh9SJkKyHEaIqqqX9x9aBNb0wK28kii3u6oLFZO9Uyqj7EMFCRp AzgUnXa0Lbpyz7eNcb6wlCxYLneuaeUL6EMI0BGLpq01yXGa48qlGZC1uyeOdm3T9PHx9j RFhgmzkDwp/SY08srHkoX63MT16JSTbHBXIXFNLHWwjVp8YQX136i541LyQ0Ag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653167446; a=rsa-sha256; cv=none; b=B1tcDPa5GwiqcJv+qWbIGJ1Y00EmQAk5abbEZZSLdYyyTz9uYqV6loGZgaoJ6TdRSvz7Bh XIfQS2XFHCcor3ZbQH0Eb3DJ0VwVm/NRjQMlSe8ypGY3YUksiibx9ddy3Ww+2zSPGMP5y4 XDV6KZAqOX3J3sve1nn/UCq3B3QVNWs7gyCHGV6mjoJhidAhNG9ZTc8KuOqp8MfhIG9g6m 1FFYx7ufmw+ysAiCOz7xFSTvcGHkCOFbOTA93PG8YTeDvL528i/t/D0fo9Z0YxJglNobQJ Kg0rMSjPsKA7oE1G92Yha3m/D9MJTlM5XKEyCYFVyKOIFtHC7spIt9eQW6f5Yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Q9dPhTMp; 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: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Q9dPhTMp; 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: 512793D3A0 X-Spam-Score: -2.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: vy+IIabVSplu Hi, Akib Azmain Turja writes: > zimoun writes: > >> Hi, >> >> On Wed, 18 May 2022 at 22:29, Akib Azmain Turja wrote: >> >>> 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 re= placing the >> lines =C2=AB:ensure :package :feather :straight :el-get=C2=BB to use ins= tead 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