From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: guix-emacs-autoload-packages does not autoreload newly installed packages Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 04:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.169319823521358 (code B ref -1); Mon, 28 Aug 2023 04:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2023 04:50:35 +0000 Received: from localhost ([127.0.0.1]:46661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUCx-0005YP-IQ for submit@debbugs.gnu.org; Mon, 28 Aug 2023 00:50:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUCw-0005YC-05 for submit@debbugs.gnu.org; Mon, 28 Aug 2023 00:50:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaUCk-0001ru-9K for bug-guix@gnu.org; Mon, 28 Aug 2023 00:50:22 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qaUCi-0000fX-9c for bug-guix@gnu.org; Mon, 28 Aug 2023 00:50:22 -0400 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-76f0807acb6so86978185a.1 for ; Sun, 27 Aug 2023 21:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693198218; x=1693803018; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=7oyzyCxB6oMQWN4TXE5iUDcOvOkMv0pwHPrgN2aiiq0=; b=mvAkEo3Mkcs3KUtqgBpvjYCK9VJJM7z9m1LHkUPlSDrBqrekWGP6QJEESuSS2wECMr +YevCKCuoJUUmP0qFBFLiXfSQhAC/ZwPwT/qq1YUXZbKUE5TwYUHbUQzYFV5Pnf/bGUJ cjR7VqJGwB+1MQ1ktR6/FG75N0RGt6qo0CCjIOmTiRLhGxUvdt/Y5mCwQVHGP5S4wz45 N7Qu/C+3xpLjqB8cOAl3wniBFVfrlBPw6cEAt5o4mhqrWMk6d/Zmk9ZLN+Ixte94fZx5 Ezw9DyoTlJUKUMrizwBSvWWh6OexuzUAO29AMA2kGhN0hHaU84+DMLnvsVsapnWXlq5+ sA/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693198218; x=1693803018; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7oyzyCxB6oMQWN4TXE5iUDcOvOkMv0pwHPrgN2aiiq0=; b=QUNLF2JiJpPgqPfasPGkLk+cFnkslA8p8PtAj+mNHsIVmJLaVsCeCekWzHC9SgeIm2 h2igD0B6NROEtLs0plXKMkWCaDTNMGitOcU/oA2AXet2ltpKln0ltpciZCjnwijmfV3j tuEuCA/+PYiDusU5wGUUAQhzlJmvg95JJN2ttw6bY/gRvSWI+tdWqhF8WdSp79q7XsiC 08Cc2pHZ2toCo37REJqDG+HXxTNApX8C73xcihiNg1v8RU8swKNLYxE6ZdIJr/f3tNPq X3BRYaWTuwAYv1rxDvQNBhcFfMnMQKYope5FJDFwWT85wTe0inhkFDC14bNs5zubIOEs KZkw== X-Gm-Message-State: AOJu0YxxsIbJ8QlYJunE/M8DEUsbCQ+do8WioDNI52ydKP1VEtYYth0L 7+Ty216UlpwrOkuD180F/QHhzpE/I+M= X-Google-Smtp-Source: AGHT+IH0GHZI/oTFToB88P96pSd3SKSkM+lNE+D3k7/lykBhmNoJ45oQ6kS18j/FLefclSe031q15Q== X-Received: by 2002:ad4:559c:0:b0:626:b17:3b97 with SMTP id f28-20020ad4559c000000b006260b173b97mr19851513qvx.65.1693198218329; Sun, 27 Aug 2023 21:50:18 -0700 (PDT) Received: from hurd (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id w10-20020ae9e50a000000b00767cd764ecfsm2137012qkf.33.2023.08.27.21.50.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 21:50:17 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 00:50:16 -0400 Message-ID: <87h6ojixdj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72a.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Since some time, our guix-emacs-autoload-packages in Emacs stopped being useful at refreshing newly installed packages. I'll send a proposed change to address this. -- Thanks, Maxim From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH 1/3] gnu: emacs: Use lexical binding for guix-emacs.el startup library. References: <87h6ojixdj.fsf@gmail.com> In-Reply-To: <87h6ojixdj.fsf@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 05:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169319927123384 (code B ref 65575); Mon, 28 Aug 2023 05:08:01 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 05:07:51 +0000 Received: from localhost ([127.0.0.1]:46688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUTe-000656-Il for submit@debbugs.gnu.org; Mon, 28 Aug 2023 01:07:50 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:44369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUTZ-00064q-G6 for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 01:07:49 -0400 Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-64a8826dde2so18808596d6.1 for <65575@debbugs.gnu.org>; Sun, 27 Aug 2023 22:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693199253; x=1693804053; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Z/Hdunsmp2vW/Q77TmR0BFHYhL/Rqd7b4sDpVeMmy50=; b=cgDsB8z7bVBe2xPFJR1WSd9MQep5IwLuLEWI/ivb0MtvmX8QwCQdGyJITHEv9bA1vb ff1Y/6QLeWTdwK5wqt9/9PrYuQrCkvbG8A1izwSupBO++bL5mq3EmwazLCfUiWsoGMQ7 vBLIl8CypXkyjrRrwgNeM7oMokiwiUn4M31AM+afsVodcW35X5NrgtBqurpv4kUsWXNg 0EROWg0EZHzMs8r/WmtX6bohdFbPDZhOaeUXj6vYe96QC2UQSZXzvThzIlmfnyUJwSC5 BcaosV+ycVdPbKVB95kCo9wzgcMPVNqpjDr8hRRnT6I5Ciem43cgYqUeQ/jRdHrt2zDD gMwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693199253; x=1693804053; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z/Hdunsmp2vW/Q77TmR0BFHYhL/Rqd7b4sDpVeMmy50=; b=U/QeYADpSWYb8Iw4okG9Z4m0NCxgD5pkxqow5g03MYT2Lt7jQ6hQTSGHhOsOXjBniJ SYUUOIQDfMJ5o8/ka10+XE0v+OKqNU0OcvM+XuFEXoHvjhEdu4JqfKP6qksBa6SwQfxg ay3oLHBAtFq91EKw1obZDybQZSmrfO4BBrDTfjvVz6hcyzXSmwSrqmaIT46EW3psh84M ttDqaGH257/ls7LKz2ll/Yi3hZtOl38Hh9D82JH+W/1TQHMOY5/RzFTrRtrWCI3fUtld izLvBtFTCVcm6hCA6qxD050iH4MAHi0rm0OPanG4eh6SW6EFsBRxh0+ZVs8sf+875u3L vzvg== X-Gm-Message-State: AOJu0YyZYGkfdNYjIiUG37ERvrBMwvBNB9EBIbS4qG4KpGpQzAXFgKlx DhHJGebt8uoZYhIzw4o0tO1q32lNfS8= X-Google-Smtp-Source: AGHT+IFcowHtLq6U9VLvv/rmT4kpUB88DtciSHMIeLhM2XULJ4F6ttscbFQjIEykIOVZQ7xj88xurg== X-Received: by 2002:a0c:f3cf:0:b0:63c:ee64:8b98 with SMTP id f15-20020a0cf3cf000000b0063cee648b98mr27229025qvm.13.1693199253468; Sun, 27 Aug 2023 22:07:33 -0700 (PDT) Received: from localhost.localdomain (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id u16-20020a0cdd10000000b006365b23b5dfsm2323711qvk.23.2023.08.27.22.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 22:07:33 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 01:07:04 -0400 Message-ID: <5653d5610ff3b8c8bdfa94a24d6355e89a0d0b6f.1693199225.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el: Declare LEXCICAL-BINDING file variable to true. --- gnu/packages/aux-files/emacs/guix-emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 708093267d..c98e7fe369 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -1,3 +1,4 @@ +;;; -*- lexical-binding: t; -*- ;;; guix-emacs.el --- Emacs packages installed with Guix ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost base-commit: 0aa74bebe31907c4abc71468319b220f908edd90 prerequisite-patch-id: 592cc2d7ba9ac74a0c6bcd140e1ced345f614a1b -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH 1/3] gnu: emacs: Use lexical binding for guix-emacs.el startup library. References: <87h6ojixdj.fsf@gmail.com> In-Reply-To: <87h6ojixdj.fsf@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 05:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169319954223925 (code B ref 65575); Mon, 28 Aug 2023 05:13:02 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 05:12:22 +0000 Received: from localhost ([127.0.0.1]:46692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUY2-0006Dp-7c for submit@debbugs.gnu.org; Mon, 28 Aug 2023 01:12:22 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:52548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUY0-0006Da-Px for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 01:12:21 -0400 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-64f42fcd809so19564236d6.1 for <65575@debbugs.gnu.org>; Sun, 27 Aug 2023 22:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693199529; x=1693804329; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DHDHExR325ssktg5KGOuxWD/AS0PvocIkM1zu6WtRl8=; b=RNcIXOki28fmBVY7vwfi+I4K14Pkgy92bs+BbdYLgPzFP9fIXHBO9JDCX/VfpXHstf gvfKwlgfIG4MjEN+g4ycznryyNyNG4j4plmvB43cCPFpgXQ08wYnvHbkX+JPn4hQ0jEL OPshYktWBROTvkXf9k7o2n9BMmGIE69bi7e5FVXFbVQAvacN9ABGDJqsX1mZq93Qd/to WpyarO61JGR+U+plG/sqPBhicEa4LDn65Rh7Yr+Woa44i8aw59ss5kZyMxiqRVZTcU6A 7I9Iqt0mm4mxCr+9+yPt2i1L40sTtdfwbIoK/cNFHH0YK/1f8Lrusg2tdAaQ9uGlN1cM KLqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693199529; x=1693804329; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DHDHExR325ssktg5KGOuxWD/AS0PvocIkM1zu6WtRl8=; b=dApzpeHWWUQvN9ZGjLYiJzRzdjQPoyyk4EnHpLZLJE7zhWKRHC9YEddNUd2AmW8qUX p0zMEDvFrRjXzO8Ly0f9rBb3F5E/PpvMb7aRG3zBspdLCNdXYjWQXIjFfU6arBRPlHkQ HCOb/KNfEc9X7qeWQtkNqsLWztSzucsKozH9fxZW3XYRQEe3paRPCoTpZ89UBUAeZ2mt w6bQ/s4DJ2T/fNNKA7g5c/Cgaw/ob9i1fHZAngGS8VEwnyufZ4kI/uTr3NxEiAklNLy2 RHmfo01++f9gT43dbQzrSdPhdyzniqcXIb/C5HIJcQkJbwdHstAT/GTjQ+hK8feam6GB sS8A== X-Gm-Message-State: AOJu0Yx7xp77FI8FN95cGsTX4++5+4YMJYOh47VKD9yzbfxxuDHKxUXm ImWgz7m8Th8OdJ82OAWkJGp+HbCRFOw= X-Google-Smtp-Source: AGHT+IFz80pA3iNSKrA8V1qljjc1W8wzlgbmU8e5oLHS4qogq+g6DqCUwk7SBE4tyTaM/OSW8KZJmA== X-Received: by 2002:a05:6214:4599:b0:649:7b67:14d3 with SMTP id op25-20020a056214459900b006497b6714d3mr28266025qvb.32.1693199528758; Sun, 27 Aug 2023 22:12:08 -0700 (PDT) Received: from localhost.localdomain (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id z14-20020a0cf00e000000b0064f4d3bc78csm2312497qvk.61.2023.08.27.22.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 22:12:08 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 01:11:32 -0400 Message-ID: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el: Declare LEXCICAL-BINDING file variable to true. --- gnu/packages/aux-files/emacs/guix-emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 708093267d..c98e7fe369 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -1,3 +1,4 @@ +;;; -*- lexical-binding: t; -*- ;;; guix-emacs.el --- Emacs packages installed with Guix ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost base-commit: 0aa74bebe31907c4abc71468319b220f908edd90 prerequisite-patch-id: 319f4581076b0c137330d5d59e6436ab9f1cdafb prerequisite-patch-id: 592cc2d7ba9ac74a0c6bcd140e1ced345f614a1b -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH 2/3] gnu: emacs: Factorize a 'guix-emacs--subdirs-files' procedure. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 05:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169319954823949 (code B ref 65575); Mon, 28 Aug 2023 05:13:02 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 05:12:28 +0000 Received: from localhost ([127.0.0.1]:46696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUY7-0006EC-H5 for submit@debbugs.gnu.org; Mon, 28 Aug 2023 01:12:27 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:46235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUY2-0006Dd-Q2 for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 01:12:24 -0400 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-76ef8b91a72so189884185a.0 for <65575@debbugs.gnu.org>; Sun, 27 Aug 2023 22:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693199531; x=1693804331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=41tjjtTbaNGb0ELzTQdK7kuFKpbFIcjfafZL4pMIdU8=; b=N2iK0JiyhKWm2JVuZv4HMq6MsSAKGTyLAZjqB7Ysxz+oZuYRsEMyJWrRbGYNzGy9P1 tp3uvpwbnPxxQHCytcjYLtVbsQA2jYd9d2BjglVCPSJz9toDyVII6rDoWkHQI8BTU1xo acoVyel7K3ryjujbCeippAcf3osc5DI0tTSFtRJbYJX12oxUK8/VmmprPQYO1v+7EE1A KOIbiGEhYRMnkAdYTDyFTY9xEDpEXw1IsfaQnYrY65xa+mw+jBrn3/hnIan8TSevmyJZ jJk7ONEoHdz4B8Z1FDlE2kvccNSRHhDAl7jdAMExA4UIjsV6SDrh46t3ylEQbtsUvc0I chvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693199531; x=1693804331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=41tjjtTbaNGb0ELzTQdK7kuFKpbFIcjfafZL4pMIdU8=; b=j+8dC3Q++gb5WI+Ufso8AnSKJgUeeqIH1kxjqeZcWdQAZH9hOABvzeIZPTpxneCaEU Bht9l8GYJCaQ95Zj9iYFnhC4Chr7959EqJHaVjFfiGU8sx1u6/6hfsQB8XfuK60zP0Ur zbUTjbVeDdo7cxu96QLPNJHLosQtYK9Y5Poj/89ij/7s2jN+w+XT/iF5UzBURMpn5nen Z6wYFpnszAkil++oKAr7TooIH+/XxtSoYY05xQyfzIumVlounGLxO+cNfVqd0zlIDG9L 3P68AcSIXyIEc5HJKf5fR9JdHsoCMaWDuqKqlemjymPFDACb6kNfK75RI+I4MPScDczi JlkQ== X-Gm-Message-State: AOJu0YysWnI583LjPZhktZ2hMR4tCRwxa1Qmf7L1vWAaCBYiT22pxVYb CGIlXbYNG/Nvl12CWXE972aq4mjM5iM= X-Google-Smtp-Source: AGHT+IGA9G8KW+1dWu1zxs8UUK3BazmIDvzNpchV7fAvkerE8iiTjvbm9rHsualuueeZKQFVM7dwBw== X-Received: by 2002:a0c:f28a:0:b0:64f:3c7a:fc57 with SMTP id k10-20020a0cf28a000000b0064f3c7afc57mr26599942qvl.26.1693199530881; Sun, 27 Aug 2023 22:12:10 -0700 (PDT) Received: from localhost.localdomain (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id z14-20020a0cf00e000000b0064f4d3bc78csm2312497qvk.61.2023.08.27.22.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 22:12:10 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 01:11:33 -0400 Message-ID: <633948875c3119ecb741940aa54ead7d1896b893.1693199493.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs--subdirs-files): New procedure. (guix-emacs-load-package-descriptors): Use it. --- gnu/packages/aux-files/emacs/guix-emacs.el | 33 +++++++++++++--------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index c98e7fe369..ed0c913163 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -3,7 +3,7 @@ ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost ;; Copyright © 2017 Kyle Meyer -;; Copyright © 2019 Maxim Cournoyer +;; Copyright © 2019, 2023 Maxim Cournoyer ;; This file is part of GNU Guix. @@ -47,6 +47,13 @@ The files in the list do not have extensions (.el, .elc)." (string-match-p "/share/emacs/site-lisp" dir)) load-path)) +(defun guix-emacs--subdirs-files () + "Return the Guix subdirs.el files found on the (non-core) load path." + (seq-filter #'file-exists-p + (mapcar (lambda (dir) + (expand-file-name "subdirs.el" dir)) + (guix-emacs--non-core-load-path)))) + ;;;###autoload (defun guix-emacs-autoload-packages () "Autoload Emacs packages found in EMACSLOADPATH. @@ -63,19 +70,17 @@ The files in the list do not have extensions (.el, .elc)." ;;;###autoload (defun guix-emacs-load-package-descriptors () "Load descriptors for packages found in EMACSLOADPATH via subdirs.el." - (dolist (dir (guix-emacs--non-core-load-path)) - (let ((subdirs-file (expand-file-name "subdirs.el" dir))) - (when (file-exists-p subdirs-file) - (with-temp-buffer - (insert-file-contents subdirs-file) - (goto-char (point-min)) - (let ((subdirs (read (current-buffer)))) - (and (equal (car-safe subdirs) 'normal-top-level-add-to-load-path) - (equal (car-safe (cadr subdirs)) 'list) - (dolist (subdir (cdadr subdirs)) - (let ((pkg-dir (expand-file-name subdir dir))) - (when (file-directory-p pkg-dir) - (package-load-descriptor pkg-dir))))))))))) + (dolist (subdirs-file (guix-emacs--subdirs-files)) + (with-temp-buffer + (insert-file-contents subdirs-file) + (goto-char (point-min)) + (let ((subdirs (read (current-buffer)))) + (and (equal (car-safe subdirs) 'normal-top-level-add-to-load-path) + (equal (car-safe (cadr subdirs)) 'list) + (dolist (subdir (cdadr subdirs)) + (let ((pkg-dir (expand-file-name subdir dir))) + (when (file-directory-p pkg-dir) + (package-load-descriptor pkg-dir))))))))) ;; If emacs built with tree-sitter, read the value of the environment variable ;; to make tree-sitter grammars available in emacs out-of-the-box. -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH 3/3] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 05:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169319954823955 (code B ref 65575); Mon, 28 Aug 2023 05:13:03 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 05:12:28 +0000 Received: from localhost ([127.0.0.1]:46698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUY7-0006EE-T2 for submit@debbugs.gnu.org; Mon, 28 Aug 2023 01:12:28 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:51268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUY5-0006Dg-2u for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 01:12:25 -0400 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-76ef8b91a4bso215614385a.2 for <65575@debbugs.gnu.org>; Sun, 27 Aug 2023 22:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693199533; x=1693804333; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A/S4uljm2i/U/DujQXPBiWWZ39h+lmTlwF+TGvevsQg=; b=a7UMdZAaE0MaS56p9sw4Agn4b81gi1IQNwBZKt8Waakq5mWhQ6Uzyhhw+hQJiAb08S pURzPVwKDw3PoIFUwQyQHlq9Y1kytM9qipz1GyJhrWYbzvzowmhSgLYNQQ0JL++uExJZ VH7tEFP3SYh1Jp3ELK3pOalBzixEh4vAP3P13PKezk5sjLXIf8cNcsAuLjXOlKbQeZKc Be88AU7D3zHZCvRSg9Mmg+kKhEI/NPMMSMiyboL8mCfKkGcGzJ8APyNvmMWnCN4Bu+W9 iAEVRgaGXx/chIOtMNvVUItpTuBDwNNWl3buBPcWiwE9nXpLbYdP6K44ATRQELyGMp6l sATw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693199533; x=1693804333; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A/S4uljm2i/U/DujQXPBiWWZ39h+lmTlwF+TGvevsQg=; b=fYHjfn1MzqsWm+8p9/C8vohfdNlEhkfCz29x5NgzQNJgNOBKVoIf9JjtKV69wuVXXc K7//1MxdJeCOLVX0ru+q4MIvqD4+0yiuc5uO7qoWTWbvTCx6lUJvw2Ge3wEDewm6TZJp gKXL89gidEQhzBNrxbwEvD28NaU0g1nlXZh4px3VxnyrtikbFLCMiuIVhItBh9IO0aCD FDDnG9gPGcXORpy3HN5fGWtZQ7RfJHbZ2qnzWqblNHDhq5jKcDDziwPiUDZzE31ZfSIK iIeFvE2mMhZTEyFI3PKRwbrxKsnVcpIIwDDBi9+x3Yc1olFyL9ULkl9816IV1wRVDEvr ygiw== X-Gm-Message-State: AOJu0YxLV6LpgMCX4c02oRyWrp3u2tkRZRd+DC39P32GbhO7fnTXCTIR WjsmiZGSnjv5PX9pIsLK45gG8DMhhTQ= X-Google-Smtp-Source: AGHT+IF5se53edzeOD/1g1Gnep/x+LtqMciBbtIfjxoVHtaBmGpHdPRSgKmtJuDCd9jlf/nCjYGwlA== X-Received: by 2002:a0c:f246:0:b0:647:2e3f:d9d9 with SMTP id z6-20020a0cf246000000b006472e3fd9d9mr13161118qvl.36.1693199533141; Sun, 27 Aug 2023 22:12:13 -0700 (PDT) Received: from localhost.localdomain (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id z14-20020a0cf00e000000b0064f4d3bc78csm2312497qvk.61.2023.08.27.22.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 22:12:12 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 01:11:34 -0400 Message-ID: <84a6b9e11ec0f8fcdd865dae40ab41100a5c763c.1693199493.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This fixes a regression introduced with 79cfe30f3 ("build-system: emacs: Use subdirectories again.") which caused the 'guix-emacs-autoload-packages' to no longer be able to autoload all packages. * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages-called): New variable. (guix-emacs-autoload-packages): Reload subdirs.el files an all but the first call of this procedure. * doc/guix.texi (Application Setup): Document that 'guix-emacs-autoload-packages' can be invoked interactively to auto-reload newly installed Emacs packages. --- doc/guix.texi | 11 +++++++---- gnu/packages/aux-files/emacs/guix-emacs.el | 12 ++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index f82bb99069..66da4f9cd4 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2167,12 +2167,15 @@ Application Setup Emacs through the @env{EMACSLOADPATH} environment variable, which is set when installing Emacs itself. +@cindex guix-emacs-autoload-packages, refreshing Emacs packages Additionally, autoload definitions are automatically evaluated at the initialization of Emacs, by the Guix-specific -@code{guix-emacs-autoload-packages} procedure. If, for some reason, you -want to avoid auto-loading the Emacs packages installed with Guix, you -can do so by running Emacs with the @option{--no-site-file} option -(@pxref{Init File,,, emacs, The GNU Emacs Manual}). +@code{guix-emacs-autoload-packages} procedure. This procedure can be +interactively invoked to have newly installed Emacs packages discovered, +without having to restart Emacs. If, for some reason, you want to avoid +auto-loading the Emacs packages installed with Guix, you can do so by +running Emacs with the @option{--no-site-file} option (@pxref{Init +File,,, emacs, The GNU Emacs Manual}). @quotation Note Emacs can now compile packages natively. Under the default diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index ed0c913163..b4a4fd1d91 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -54,6 +54,9 @@ The files in the list do not have extensions (.el, .elc)." (expand-file-name "subdirs.el" dir)) (guix-emacs--non-core-load-path)))) +(defvar guix-emacs-autoload-packages-called nil + "True if `guix-emacs-autoload-packages' was already run.") + ;;;###autoload (defun guix-emacs-autoload-packages () "Autoload Emacs packages found in EMACSLOADPATH. @@ -61,6 +64,15 @@ The files in the list do not have extensions (.el, .elc)." 'Autoload' means to load the 'autoloads' files matching `guix-emacs-autoloads-regexp'." (interactive) + ;; Reload the subdirs.el files such as the one generated by the Guix profile + ;; hook, so that newly installed Emacs packages located under + ;; sub-directories are put on the load-path without having to restart Emacs. + (if guix-emacs-autoload-packages-called + (progn + (mapc #'load-file (guix-emacs--subdirs-files)) + (setq load-path (delete-dups load-path))) + (setq guix-emacs-autoload-packages-called t)) + (let ((autoloads (mapcan #'guix-emacs-find-autoloads (guix-emacs--non-core-load-path)))) (mapc (lambda (f) -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH 3/3] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 06:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 65575@debbugs.gnu.org Reply-To: Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169320343030509 (code B ref 65575); Mon, 28 Aug 2023 06:18:02 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 06:17:10 +0000 Received: from localhost ([127.0.0.1]:46747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaVYk-0007w1-AY for submit@debbugs.gnu.org; Mon, 28 Aug 2023 02:17:10 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:33315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaVYe-0007vo-Sj for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 02:17:09 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4RZ0h63XZhz1LM0J; Mon, 28 Aug 2023 08:16:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4RZ0h63XZhz1LM0J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1693203414; bh=Bw1fQ+2nYPJDf/nuZeNThmjxHQ0qlVfBkv0tImtytHg=; h=Subject:From:Reply-To:To:Date:In-Reply-To:References:From; b=IjsqBxhPUpSfum2aXisev4TpNdIf8dstW3dYNJURSadBvausnEfO3SXjTxHnbnAWe sSdMPpBRK3hb8vdD0k84q1+fpzTDvyBNes9eiLMlwA2Y6V2C7ULRpO+lbpnb5dIZci lyN0H+AkmagcZ6M3OyVQ0z/k5ZMvKz68BdiG5JRY= Message-ID: <88f150c1356008a1d1c4251a8ec98afcd6e1b6f2.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Mon, 28 Aug 2023 08:16:53 +0200 In-Reply-To: <84a6b9e11ec0f8fcdd865dae40ab41100a5c763c.1693199493.git.maxim.cournoyer@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> <84a6b9e11ec0f8fcdd865dae40ab41100a5c763c.1693199493.git.maxim.cournoyer@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Maxim, Am Montag, dem 28.08.2023 um 01:11 -0400 schrieb Maxim Cournoyer: > This fixes a regression introduced with 79cfe30f3 ("build-system: > emacs: Use subdirectories again.") which caused the > 'guix-emacs-autoload-packages' to no > longer be able to autoload all packages. >=20 > * gnu/packages/aux-files/emacs/guix-emacs.el > (guix-emacs-autoload-packages-called): New variable. > (guix-emacs-autoload-packages): Reload subdirs.el files an all but > the first call of this procedure. > * doc/guix.texi (Application Setup): Document that > 'guix-emacs-autoload-packages' can be invoked interactively to auto- > reload newly installed Emacs packages. >=20 > --- Thank you for looking at this. I agree that even if we don't want to generally load new packages into existing Emacs processes for the breakages they might induce, not being able to do so at all is also not a great option. However, I don't think that tracking is the right solution here, see below. > =C2=A0doc/guix.texi=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 11 +++++++---- > =C2=A0gnu/packages/aux-files/emacs/guix-emacs.el | 12 ++++++++++++ > =C2=A02 files changed, 19 insertions(+), 4 deletions(-) >=20 > diff --git a/doc/guix.texi b/doc/guix.texi > index f82bb99069..66da4f9cd4 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -2167,12 +2167,15 @@ Application Setup > =C2=A0Emacs through the @env{EMACSLOADPATH} environment variable, which i= s > =C2=A0set when installing Emacs itself. > =C2=A0 > +@cindex guix-emacs-autoload-packages, refreshing Emacs packages > =C2=A0Additionally, autoload definitions are automatically evaluated at > the > =C2=A0initialization of Emacs, by the Guix-specific > -@code{guix-emacs-autoload-packages} procedure.=C2=A0 If, for some reason= , > you > -want to avoid auto-loading the Emacs packages installed with Guix, > you > -can do so by running Emacs with the @option{--no-site-file} option > -(@pxref{Init File,,, emacs, The GNU Emacs Manual}). > +@code{guix-emacs-autoload-packages} procedure.=C2=A0 This procedure can > be > +interactively invoked to have newly installed Emacs packages > discovered, > +without having to restart Emacs.=C2=A0 If, for some reason, you want to > avoid > +auto-loading the Emacs packages installed with Guix, you can do so > by > +running Emacs with the @option{--no-site-file} option (@pxref{Init > +File,,, emacs, The GNU Emacs Manual}). > =C2=A0 > =C2=A0@quotation Note > =C2=A0Emacs can now compile packages natively.=C2=A0 Under the default > diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el > b/gnu/packages/aux-files/emacs/guix-emacs.el > index ed0c913163..b4a4fd1d91 100644 > --- a/gnu/packages/aux-files/emacs/guix-emacs.el > +++ b/gnu/packages/aux-files/emacs/guix-emacs.el > @@ -54,6 +54,9 @@ The files in the list do not have extensions (.el, > .elc)." > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (e= xpand-file-name "subdirs.el" dir)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (guix-emacs--n= on-core-load-path)))) > =C2=A0 > +(defvar guix-emacs-autoload-packages-called nil > +=C2=A0 "True if `guix-emacs-autoload-packages' was already run.") > + > =C2=A0;;;###autoload > =C2=A0(defun guix-emacs-autoload-packages () > =C2=A0=C2=A0 "Autoload Emacs packages found in EMACSLOADPATH. > @@ -61,6 +64,15 @@ The files in the list do not have extensions (.el, > .elc)." > =C2=A0'Autoload' means to load the 'autoloads' files matching > =C2=A0`guix-emacs-autoloads-regexp'." > =C2=A0=C2=A0 (interactive) > +=C2=A0 ;; Reload the subdirs.el files such as the one generated by the > Guix profile > +=C2=A0 ;; hook, so that newly installed Emacs packages located under > +=C2=A0 ;; sub-directories are put on the load-path without having to > restart Emacs. > +=C2=A0 (if guix-emacs-autoload-packages-called > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (progn > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (mapc #'load-file (guix-emacs= --subdirs-files)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq load-path (delete-dups = load-path))) > +=C2=A0=C2=A0=C2=A0 (setq guix-emacs-autoload-packages-called t)) > + Rather than keeping track of whether the function was already called (which would make debugging more tedious if you also have e.g. broken packages from another source on your EMACSLOADPATH), I think the user ought to signal their intent to reload the subdirs files via the universal argument. e.g.=C2=A0 (defun guix-emacs-autoload-packages (&optional reload) =C2=A0"..." (interactive "P") (when reload (mapc #'load-file (guix-emacs--subdirs-files))) ...) WDYT? From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v2 1/4] gnu: emacs: Use lexical binding for guix-emacs.el startup library. References: <87h6ojixdj.fsf@gmail.com> In-Reply-To: <87h6ojixdj.fsf@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.1693235887827 (code B ref 65575); Mon, 28 Aug 2023 15:19:02 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 15:18:07 +0000 Received: from localhost ([127.0.0.1]:48765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0F-0000DG-0t for submit@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:07 -0400 Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]:49574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0D-0000Ck-88 for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:05 -0400 Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-d7ab8e1f27cso2236103276.3 for <65575@debbugs.gnu.org>; Mon, 28 Aug 2023 08:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693235873; x=1693840673; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=S2h/7uFZgQTeUGa8CDvldCt6cN9qVGdgIaBuucCsJx4=; b=lN8AX28RWbSO47vxYBLppoWW2A/pY25CTcUTqfqKSQdsqhUi0NjYBgc2Y5uwMuW4Kd yKRJmhuAXKKZ35oEcHlV6ZZRd6L+xRteBHzg6GSQgu408Gl29tqiCP0lJ2EVRlOh4IGg rmsmqNSjLRaGWflhhKywPDBdYZqFixzW5aCPmkQsiVnDzIV49lF/SPvw7cSfMZ+uSiJ1 gKeGlJYSj20bV0UFkPQ2VbbejL+cHu+tZ3tgnLOfIE4wJ6Ga7sGG/noeS5r4a2Ji4xmz qbN9tQYIrI6IWEwrbXZ8USKyXtSjaH9EHnGEOXWnfNxrNAIB0FVoKBs8oZYlS7dVC4Yw fmow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693235873; x=1693840673; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S2h/7uFZgQTeUGa8CDvldCt6cN9qVGdgIaBuucCsJx4=; b=LrodqfY2KmiQuIY6eHEOr/SAyqyqkdFVweIAcBvjWm2b2tqI69qzl6kgKDkliNOoQS fqY1YyY1YTCybRW7FUA84or92V05eooHCj3hoiCrZ12eM5N5qkHTTW/hO8Y5knzI/Lg6 8009Y2bCtClLhwdofIjP02hw4Pd5qZmfKj7o61xjY7Fpuh6z8Sayio6aLu4Rs6dQKMKr OYeZfWwziBxagmw60vwZVjP1czxP+zB3D7fgJI+urDqtbWHQosRUafijBn1GXkgZfsJa DGneLCrDlnUKa18Rq90FMzbq97OlzJRUcY2hbFE4x+pj+b3nTYrHusON2KhRUgUjOkXQ i+Fg== X-Gm-Message-State: AOJu0YwdlenZOdPTMwAx15EoFOq1R6MonQADU3pVzumAg9QvqFpdhdJE eAQM45Nlt3PcdQktKYMWFTlTaDOjGsA= X-Google-Smtp-Source: AGHT+IHokmcga0e2kOePm71v4WWH6uC6s4OwWJ3jLVuo9k2sMOHdmNjc7MVMpHYhUxA7gn9OqSoc6w== X-Received: by 2002:a25:e307:0:b0:d54:b34c:1c7b with SMTP id z7-20020a25e307000000b00d54b34c1c7bmr22453418ybd.59.1693235872799; Mon, 28 Aug 2023 08:17:52 -0700 (PDT) Received: from localhost.localdomain (dsl-10-132-204.b2b2c.ca. [72.10.132.204]) by smtp.gmail.com with ESMTPSA id s14-20020ac85ece000000b00410a9dd3d88sm2364705qtx.68.2023.08.28.08.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 08:17:52 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 11:16:33 -0400 Message-ID: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el: Declare LEXCICAL-BINDING file variable to true. --- (no changes since v1) gnu/packages/aux-files/emacs/guix-emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 708093267d..c98e7fe369 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -1,3 +1,4 @@ +;;; -*- lexical-binding: t; -*- ;;; guix-emacs.el --- Emacs packages installed with Guix ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost base-commit: 0aa74bebe31907c4abc71468319b220f908edd90 prerequisite-patch-id: 319f4581076b0c137330d5d59e6436ab9f1cdafb prerequisite-patch-id: 592cc2d7ba9ac74a0c6bcd140e1ced345f614a1b -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v2 2/4] gnu: emacs: Factorize a 'guix-emacs--subdirs-files' procedure. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.1693235892857 (code B ref 65575); Mon, 28 Aug 2023 15:19:02 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 15:18:12 +0000 Received: from localhost ([127.0.0.1]:48770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0J-0000De-El for submit@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:11 -0400 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]:46222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0F-0000Cr-4i for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:07 -0400 Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-d77c5414433so3267655276.0 for <65575@debbugs.gnu.org>; Mon, 28 Aug 2023 08:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693235875; x=1693840675; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=siI45K/2zyaNXasgQPMzKMAVo0oZ2qNrI8tuNNkTBKs=; b=BNg71qTBGyZBZ5AzSxGM4Ob8BueJSnBP4OPI6NJ8f9gKG11XefJSwJ6dcIALz8M939 6rdP4TN+mG0H99rv/dxL7xL2f0HewVwYmHrpauc6obOD6oro+A9FbJsgLYEI3Ax9P/+C DpNGIGNgOXdSvuBHBLQIh3DGKvU4mOJC4godUfKndmcYXCJ9CrIy6UZL1GesFisoJAbH JMKFR3Cnfd4oXcDV4BUisb1NYlSbHmSiVVNuiixpJ5XV0WU8V5g4SjjvDi2ykZDHqooV I7YFkvTF0FtRPur/r+6CQwYrQuG7HaAE0bDxmnaFOvq7SYO5KqIcoJeqbs8e/1d12LYM EhPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693235875; x=1693840675; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=siI45K/2zyaNXasgQPMzKMAVo0oZ2qNrI8tuNNkTBKs=; b=PYR/pCxLoCA6dgwpfq7lutUYbfRaamSplc4OwAhbYZZaavqgvt0+nvonfmSanof4Hu 8qn7P01nSYIo2fQKjbYIpXetqGEI2H/qUvwYSgRGVkTE5orOENeqQ9RaRqib2Yq/S6fB 2+6tmBOSb0VeTSbY05QrqguCTS+zZuqXggHjC5rvyhK0pvkWzGKt7LR2LUcO30zczK92 29SPErATefUr0HTuTg8fR0XWYhkbejCfHIoS7Py9TK0IT37YbSCB1XQ4ngunlfNdSrEC 0ss8pJA1J5a4i8+r7yJ1McIWYgnMUrRFBCMBwHNh4RPM9PUHWEnWx4+b/s1QrH+mg4Z3 GhzQ== X-Gm-Message-State: AOJu0YyxjVfRBZ6KP2/Aq150NvTHebAKW5+/IChqfym01URlmdodzmFG SdI3tLiGg8KXKQlwS1IQKECFTIBWS+A= X-Google-Smtp-Source: AGHT+IGblHG9NhDoUU1RVPeUIkWJNGJ/aNfVX3XaUMEt12inoE1th8955wiOYgEFa469TNOgGzhvAw== X-Received: by 2002:a25:ac24:0:b0:d78:1724:1b1a with SMTP id w36-20020a25ac24000000b00d7817241b1amr12776829ybi.37.1693235874926; Mon, 28 Aug 2023 08:17:54 -0700 (PDT) Received: from localhost.localdomain (dsl-10-132-204.b2b2c.ca. [72.10.132.204]) by smtp.gmail.com with ESMTPSA id s14-20020ac85ece000000b00410a9dd3d88sm2364705qtx.68.2023.08.28.08.17.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 08:17:54 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 11:16:34 -0400 Message-ID: <0eff8e838b5774c8298d71402f067c5dd59b1709.1693235796.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs--subdirs-files): New procedure. (guix-emacs-load-package-descriptors): Use it. --- Changes in v2: - Fix unbound 'dir' variable gnu/packages/aux-files/emacs/guix-emacs.el | 34 +++++++++++++--------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index c98e7fe369..4db7ec28c9 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -3,7 +3,7 @@ ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost ;; Copyright © 2017 Kyle Meyer -;; Copyright © 2019 Maxim Cournoyer +;; Copyright © 2019, 2023 Maxim Cournoyer ;; This file is part of GNU Guix. @@ -47,6 +47,13 @@ The files in the list do not have extensions (.el, .elc)." (string-match-p "/share/emacs/site-lisp" dir)) load-path)) +(defun guix-emacs--subdirs-files () + "Return the Guix subdirs.el files found on the (non-core) load path." + (seq-filter #'file-exists-p + (mapcar (lambda (dir) + (expand-file-name "subdirs.el" dir)) + (guix-emacs--non-core-load-path)))) + ;;;###autoload (defun guix-emacs-autoload-packages () "Autoload Emacs packages found in EMACSLOADPATH. @@ -63,19 +70,18 @@ The files in the list do not have extensions (.el, .elc)." ;;;###autoload (defun guix-emacs-load-package-descriptors () "Load descriptors for packages found in EMACSLOADPATH via subdirs.el." - (dolist (dir (guix-emacs--non-core-load-path)) - (let ((subdirs-file (expand-file-name "subdirs.el" dir))) - (when (file-exists-p subdirs-file) - (with-temp-buffer - (insert-file-contents subdirs-file) - (goto-char (point-min)) - (let ((subdirs (read (current-buffer)))) - (and (equal (car-safe subdirs) 'normal-top-level-add-to-load-path) - (equal (car-safe (cadr subdirs)) 'list) - (dolist (subdir (cdadr subdirs)) - (let ((pkg-dir (expand-file-name subdir dir))) - (when (file-directory-p pkg-dir) - (package-load-descriptor pkg-dir))))))))))) + (dolist (subdirs-file (guix-emacs--subdirs-files)) + (with-temp-buffer + (insert-file-contents subdirs-file) + (goto-char (point-min)) + (let ((subdirs (read (current-buffer)))) + (and (equal (car-safe subdirs) 'normal-top-level-add-to-load-path) + (equal (car-safe (cadr subdirs)) 'list) + (dolist (subdir (cdadr subdirs)) + (let ((pkg-dir (expand-file-name + subdir (file-name-directory subdirs-file)))) + (when (file-directory-p pkg-dir) + (package-load-descriptor pkg-dir))))))))) ;; If emacs built with tree-sitter, read the value of the environment variable ;; to make tree-sitter grammars available in emacs out-of-the-box. -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v2 3/4] gnu: emacs: Allow producing verbose messages when loading autoloads. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 15:19:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.1693235892863 (code B ref 65575); Mon, 28 Aug 2023 15:19:03 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 15:18:12 +0000 Received: from localhost ([127.0.0.1]:48772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0J-0000Dm-Ut for submit@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:12 -0400 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:49303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0G-0000D6-Pr for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:09 -0400 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-d7838958d17so2850867276.2 for <65575@debbugs.gnu.org>; Mon, 28 Aug 2023 08:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693235876; x=1693840676; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eqXlGTS3Kfsw8jPHR4D9Zn93aDP2uVSuH4vPHYgEN2Y=; b=iUv1N8aeitdyNRyiArZIt5tTyymjYw2opWUQv6/rVD+SZXkQz40gYcUpRZbZ0FzZvM FrXB9Mqt07w35Tp9uFgc3hN0khDOcPDIjdTgcCEemDS+gMRBvbE7gxoUoq/sIFKLM1WK UQ6PvwYvCaVsYDvhGb6aHoEdRQRTRqir3OGFwqzK1LxhoABTpilaLbzxVjXmXAMdLube JVVCHo1s11BRUHVDoegWlRq6O3584fRTKEeExtdSK4rLMfn/I9HUywNzMLkF5GTlwRz1 nbDWm/CGQpumSWa21My5RJk3yVKJU8QxIaPg0wDovCCN6kFlBlTtL37f2vIEePh3JdW+ Qc9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693235876; x=1693840676; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eqXlGTS3Kfsw8jPHR4D9Zn93aDP2uVSuH4vPHYgEN2Y=; b=bavXFPl/EQPMGVl456jASfmxz4yhL+po5r6v3qTSFXmk2eRMTIcL2BSuzH6bvHxeQg /TNT19l4aAflaFgjL/EKoCOZ+yBG3yMmosQsMoC0+LFhIqjTZp5nF7bW/lKBVQjXxxfr nVp6IjOXlY5/AzjBYuSTua7Xn17ymTUIFitZQl3vw4zP6fJ82Ae7cUnlIyTKSwj/zh4s COl0FAF2UP/ashQnV8Xvt7Fta9PZTh0CwzR1JCg2C9PkC4HU0kLI5cvvfU6QfzLg/tCk DcBB1aq+pnSOuUREKnSQG6cF30PquPybG4PN6QCM3W83Lw1onSzcH3h4Fk0sSrO97rlb fEaA== X-Gm-Message-State: AOJu0YxzY7HFmgOHEpYvaOhsimgcX6AdYlKv7cwnfruee1YXfXAGeTdn W/ItUXTZBcmJSmtToEa3K54CpeqPC9U= X-Google-Smtp-Source: AGHT+IEl6hjWnMS1loDC3uE+D5Is9dizEgOrDZQmTQ/QV0FrHpJuHL9FMvmJPiRDQpXlGPTJNxCrMQ== X-Received: by 2002:a25:a28e:0:b0:d74:6cb3:3653 with SMTP id c14-20020a25a28e000000b00d746cb33653mr24442108ybi.29.1693235876599; Mon, 28 Aug 2023 08:17:56 -0700 (PDT) Received: from localhost.localdomain (dsl-10-132-204.b2b2c.ca. [72.10.132.204]) by smtp.gmail.com with ESMTPSA id s14-20020ac85ece000000b00410a9dd3d88sm2364705qtx.68.2023.08.28.08.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 08:17:56 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 11:16:35 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el: Expound commentary. (guix-emacs-verbose): New variable. (guix-emacs--load-file-no-error): New procedure. (guix-emacs-autoload-packages): Use it. --- Changes in v2: - New commit gnu/packages/aux-files/emacs/guix-emacs.el | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 4db7ec28c9..84284dde39 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -22,8 +22,9 @@ ;;; Commentary: -;; This file provides auxiliary code to autoload Emacs packages -;; installed with Guix. +;; This file provides auxiliary code to autoload Emacs packages installed with +;; Guix. To produce verbose messages useful while debugging, set the +;; GUIX-EMACS-VERBOSE variable to true. ;;; Code: (require 'seq) @@ -41,6 +42,15 @@ The files in the list do not have extensions (.el, .elc)." (directory-files directory 'full-name guix-emacs-autoloads-regexp)))) +(defcustom guix-emacs-verbose nil + "Set to true to provide verbose messages, such as when loading packages." + :type 'boolean + :group 'guix-emacs) + +(defun guix-emacs--load-file-no-error (file) + "Load FILE, ignoring any errors" + (load file 'noerror (not guix-emacs-verbose))) + (defun guix-emacs--non-core-load-path () ;; Filter out core Elisp directories, which are already handled by Emacs. (seq-filter (lambda (dir) @@ -63,9 +73,7 @@ The files in the list do not have extensions (.el, .elc)." (interactive) (let ((autoloads (mapcan #'guix-emacs-find-autoloads (guix-emacs--non-core-load-path)))) - (mapc (lambda (f) - (load f 'noerror t)) - autoloads))) + (mapc #'guix-emacs--load-file-no-error autoloads))) ;;;###autoload (defun guix-emacs-load-package-descriptors () -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v2 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 15:19:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.1693235899878 (code B ref 65575); Mon, 28 Aug 2023 15:19:03 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 15:18:19 +0000 Received: from localhost ([127.0.0.1]:48774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0Q-0000E6-C9 for submit@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:18 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:42051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae0J-0000D9-06 for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 11:18:11 -0400 Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-41205469f4eso14880031cf.0 for <65575@debbugs.gnu.org>; Mon, 28 Aug 2023 08:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693235879; x=1693840679; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eqf7YTMwt8MIL6Ndrup6WM2BiBZNYnQF69JKr6+nMRo=; b=kJ28nNeZ2tuIFHMh7uFBhoMSVKxHv+00zZKcRyKa4+GfyCbhHsDSF/HX5lnHuSV3+3 fV71t2+VzBGFZEkwFG5EdzoSSz3mm6Y17lgM17ht2DftyDuoP69S0gRGyo3GC3ZwVOmp XKA3+m9JiE8+BHX/fx0u+axXCod+vUj3R+ryvXxbABJKKwCWUbyNFMiMHdIA5aEssH+t c4O56l+Nw22TBwMbDeZ7gp+A+fA02kk0ODvCycN08vou0zSTikMVv5mRJJYZ2pn4b9dM XBTtxJshfCoLlNrF314WC9bomd5qBr9HdYMrq2MYZk9N+gJ2YVfaN1wntAry64YC4HrU Fwqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693235879; x=1693840679; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eqf7YTMwt8MIL6Ndrup6WM2BiBZNYnQF69JKr6+nMRo=; b=RZGHdb/h1uKpLiKQ9U3w2LQEgK3+VsgQPGQ3akhDY7+CaCqypAP6+lUkD5gevWDVi3 bi/pKkScxg0LrqLiwMHI5OKHzpEyYkp25N/HiHkqpRNh3nqmUtNe/wDs+FWyvs/Uq+Im sJmlkjyy0AbwB+01CSzH2XxSE2EHYs0R2bVFkyYdXbHrWKpsI3bf/VkHD1dqza4U0Epe ZaHlHMk+FUc6G2VGZwAUeT8yLtx/5arMUhGNRcU/zFRYQxeNYXm6Z+pLM+Odkkets974 8bZcB877mpcd5665JI3IYY4SNuj00+mYPSaqFNA64Zvx54bm2lW9v2Ses7bx8oonZWar D+Xg== X-Gm-Message-State: AOJu0YzXi5mdHULCLNBybYvJMp/eHBwz1Q5+cTemRSOS8DAnHDkiE6ai 87LyxNncD/xDEB9+1jONDiV7DAwTyWE= X-Google-Smtp-Source: AGHT+IEGO7xGlh+UFFjPV6SEHySrs3SKOB23ds0MOycITdmpleN9vSSqcGWCeX2CkVE9/GuKcUNiSA== X-Received: by 2002:ac8:5a8f:0:b0:3f8:3090:15c9 with SMTP id c15-20020ac85a8f000000b003f8309015c9mr32412413qtc.30.1693235878497; Mon, 28 Aug 2023 08:17:58 -0700 (PDT) Received: from localhost.localdomain (dsl-10-132-204.b2b2c.ca. [72.10.132.204]) by smtp.gmail.com with ESMTPSA id s14-20020ac85ece000000b00410a9dd3d88sm2364705qtx.68.2023.08.28.08.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 08:17:58 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Aug 2023 11:16:36 -0400 Message-ID: <6276f07557efac57cc135c1239b074f07281d124.1693235796.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This fixes a regression introduced with 79cfe30f3 ("build-system: emacs: Use subdirectories again.") which caused the 'guix-emacs-autoload-packages' to no longer be able to autoload all packages. * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages-called): New variable. (guix-emacs-autoload-packages): Reload subdirs.el files on all but the first call of this procedure, or when a prefix argument is provided. Update doc. * doc/guix.texi (Application Setup): Document that 'guix-emacs-autoload-packages' can be invoked interactively to auto-reload newly installed Emacs packages. --- Changes in v2: - Safely load subdirs.el files - Add 'reload' prefix argument as override for guix-emacs-autoload-packages doc/guix.texi | 11 +++++++---- gnu/packages/aux-files/emacs/guix-emacs.el | 21 ++++++++++++++++++--- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index f82bb99069..66da4f9cd4 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2167,12 +2167,15 @@ Application Setup Emacs through the @env{EMACSLOADPATH} environment variable, which is set when installing Emacs itself. +@cindex guix-emacs-autoload-packages, refreshing Emacs packages Additionally, autoload definitions are automatically evaluated at the initialization of Emacs, by the Guix-specific -@code{guix-emacs-autoload-packages} procedure. If, for some reason, you -want to avoid auto-loading the Emacs packages installed with Guix, you -can do so by running Emacs with the @option{--no-site-file} option -(@pxref{Init File,,, emacs, The GNU Emacs Manual}). +@code{guix-emacs-autoload-packages} procedure. This procedure can be +interactively invoked to have newly installed Emacs packages discovered, +without having to restart Emacs. If, for some reason, you want to avoid +auto-loading the Emacs packages installed with Guix, you can do so by +running Emacs with the @option{--no-site-file} option (@pxref{Init +File,,, emacs, The GNU Emacs Manual}). @quotation Note Emacs can now compile packages natively. Under the default diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 84284dde39..aeb85f8487 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -64,13 +64,28 @@ The files in the list do not have extensions (.el, .elc)." (expand-file-name "subdirs.el" dir)) (guix-emacs--non-core-load-path)))) +(defvar guix-emacs-autoload-packages-called nil + "True if `guix-emacs-autoload-packages' was already run.") + ;;;###autoload -(defun guix-emacs-autoload-packages () +(defun guix-emacs-autoload-packages (&optional reload) "Autoload Emacs packages found in EMACSLOADPATH. 'Autoload' means to load the 'autoloads' files matching -`guix-emacs-autoloads-regexp'." - (interactive) +`guix-emacs-autoloads-regexp'. When the optional RELOAD prefix +argument is true, reload the subdirs.el files found on the load +path; this behavior is active by default unless you've started +Emacs with the '--no-site-file' option." + (interactive "P") + ;; Reload the subdirs.el files such as the one generated by the Guix profile + ;; hook, so that newly installed Emacs packages located under + ;; sub-directories are put on the load-path without having to restart Emacs. + (if (or reload guix-emacs-autoload-packages-called) + (progn + (mapc #'guix-emacs--load-file-no-error (guix-emacs--subdirs-files)) + (setq load-path (delete-dups load-path))) + (setq guix-emacs-autoload-packages-called t)) + (let ((autoloads (mapcan #'guix-emacs-find-autoloads (guix-emacs--non-core-load-path)))) (mapc #'guix-emacs--load-file-no-error autoloads))) -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH 3/3] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: Liliana Marie Prikler , 65575@debbugs.gnu.org Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.16932360651198 (code B ref 65575); Mon, 28 Aug 2023 15:22:02 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 15:21:05 +0000 Received: from localhost ([127.0.0.1]:48789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae37-0000JF-4w for submit@debbugs.gnu.org; Mon, 28 Aug 2023 11:21:05 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:48631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qae33-0000IY-Uz for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 11:21:03 -0400 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-76da4437500so177558085a.1 for <65575@debbugs.gnu.org>; Mon, 28 Aug 2023 08:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693236050; x=1693840850; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=0MQ0HwWLERA8+9+em++d73asfZpnn4JlQ64mQbUzFBk=; b=AP3/En49nP+fiq0u18jrRvH43zw5lrDyMIco5occnp0/2J3fdDBqVaTnpEDtvFX8Nj wxscu0SSEzAD/GhsoxVgxz+kb9+ZzuUWhmnd6Kh1AtlWy6Wxgie5uQVu+BPciBtyoUid PKsT6LfWXXMcmsuv177gJTBcNStOJ8SwbJl1AS2HqSc+lR/Hskd/LKgbXu3nE9G5txh/ jMk+5goP3D4P5uTJGLGFAzrsOfwHM/UijAEY0sqzSvBYZm/aKdBjIf+jB6l5N32f2lr2 c592wYzE3z5oP27VpKFND0G2RRaVrYqLIIexockHO4aGE0pvzlKGx3qLEeNN6rqTHZsX R1AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693236050; x=1693840850; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0MQ0HwWLERA8+9+em++d73asfZpnn4JlQ64mQbUzFBk=; b=Dr8OM9eIJkucyrzJhoIZOp6smhRmiRC1++CaULyS89az1n3weDlQejh0/0Fk4Yq7Pq m3/H3fk6nl2czF1svDn6Zk88Tvnf9u3E3tJ1H8Ie+WDUwe0WzcjnaNFgM2lAVX7c5+So piZG1p8QzFE3ewV73xeH/npZLykWcwe31MOx9sL/u5AHN1ESYnLFmKwSwKk8uK0Bu36w f/P3Wea01TXYGILnOOmS5c6IpGytP2aZqUO9eiHtANE7xx10SR37cqjZnIvOUu3TjbFF 33U593u6mYagn/cavUwIGOnPJodvmfbjpzBcitu61V8xzMCC5+h8F/nNYAcTKzrj1sOe WGTQ== X-Gm-Message-State: AOJu0YwyKjSap/gFN23zLt8RRYuqoLR9VazqTG9FU4RExq9ZQebbT/ai 3y3kFP3rD0MhCuGD69Rrs/Y= X-Google-Smtp-Source: AGHT+IEdY5sCM3eYjZ1Fzd1/YjZskd7UMFDRoqncL21HAR2PWcds8m09qIy5euDtb4WIPs6GUvPVng== X-Received: by 2002:ad4:4349:0:b0:647:42bc:d00b with SMTP id q9-20020ad44349000000b0064742bcd00bmr19753048qvs.63.1693236049812; Mon, 28 Aug 2023 08:20:49 -0700 (PDT) Received: from hurd (dsl-10-132-204.b2b2c.ca. [72.10.132.204]) by smtp.gmail.com with ESMTPSA id s4-20020a05620a16a400b0076eed604793sm2409988qkj.130.2023.08.28.08.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 08:20:49 -0700 (PDT) From: Maxim Cournoyer References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> <84a6b9e11ec0f8fcdd865dae40ab41100a5c763c.1693199493.git.maxim.cournoyer@gmail.com> <88f150c1356008a1d1c4251a8ec98afcd6e1b6f2.camel@ist.tugraz.at> Date: Mon, 28 Aug 2023 11:20:48 -0400 In-Reply-To: <88f150c1356008a1d1c4251a8ec98afcd6e1b6f2.camel@ist.tugraz.at> (Liliana Marie Prikler's message of "Mon, 28 Aug 2023 08:16:53 +0200") Message-ID: <87il8zgpm7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Liliana, Liliana Marie Prikler writes: > Hi Maxim, > > Am Montag, dem 28.08.2023 um 01:11 -0400 schrieb Maxim Cournoyer: >> This fixes a regression introduced with 79cfe30f3 ("build-system: >> emacs: Use subdirectories again.") which caused the >> 'guix-emacs-autoload-packages' to no >> longer be able to autoload all packages. >> >> * gnu/packages/aux-files/emacs/guix-emacs.el >> (guix-emacs-autoload-packages-called): New variable. >> (guix-emacs-autoload-packages): Reload subdirs.el files an all but >> the first call of this procedure. >> * doc/guix.texi (Application Setup): Document that >> 'guix-emacs-autoload-packages' can be invoked interactively to auto- >> reload newly installed Emacs packages. >> >> --- > Thank you for looking at this. I agree that even if we don't want to > generally load new packages into existing Emacs processes for the > breakages they might induce, not being able to do so at all is also not > a great option. However, I don't think that tracking is the right > solution here, see below. [...] >> diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el >> b/gnu/packages/aux-files/emacs/guix-emacs.el >> index ed0c913163..b4a4fd1d91 100644 >> --- a/gnu/packages/aux-files/emacs/guix-emacs.el >> +++ b/gnu/packages/aux-files/emacs/guix-emacs.el >> @@ -54,6 +54,9 @@ The files in the list do not have extensions (.el, >> .elc)." >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (e= xpand-file-name "subdirs.el" dir)) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (guix-emacs--n= on-core-load-path)))) >> =C2=A0 >> +(defvar guix-emacs-autoload-packages-called nil >> +=C2=A0 "True if `guix-emacs-autoload-packages' was already run.") >> + >> =C2=A0;;;###autoload >> =C2=A0(defun guix-emacs-autoload-packages () >> =C2=A0=C2=A0 "Autoload Emacs packages found in EMACSLOADPATH. >> @@ -61,6 +64,15 @@ The files in the list do not have extensions (.el, >> .elc)." >> =C2=A0'Autoload' means to load the 'autoloads' files matching >> =C2=A0`guix-emacs-autoloads-regexp'." >> =C2=A0=C2=A0 (interactive) >> +=C2=A0 ;; Reload the subdirs.el files such as the one generated by the >> Guix profile >> +=C2=A0 ;; hook, so that newly installed Emacs packages located under >> +=C2=A0 ;; sub-directories are put on the load-path without having to >> restart Emacs. >> +=C2=A0 (if guix-emacs-autoload-packages-called >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (progn >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (mapc #'load-file (guix-emac= s--subdirs-files)) >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq load-path (delete-dups= load-path))) >> +=C2=A0=C2=A0=C2=A0 (setq guix-emacs-autoload-packages-called t)) >> + > Rather than keeping track of whether the function was already called > (which would make debugging more tedious if you also have e.g. broken > packages from another source on your EMACSLOADPATH), I think the user > ought to signal their intent to reload the subdirs files via the > universal argument. > > e.g.=C2=A0 > (defun guix-emacs-autoload-packages (&optional reload) > =C2=A0"..." > (interactive "P") > (when reload (mapc #'load-file (guix-emacs--subdirs-files))) > ...) > > WDYT? The reason for avoiding loading the subdirs.el files on the first call is just an optimization, since it would at this time duplicate work already done by Emacs itself when it first executes. This shouldn't fail; I've now employed the same 'noerror strategy as used for autoloads to ensure that. There's one edge case I've just thought though, which is if a user invoked emacs with the documented '--no-site-file' option disabling loading autoloads; this would cause guix-emacs-autoload-packages-called to be nil. To balance between making things both convenient and flexible, I've preserved the tracking but also added the reload override you suggested. Let me know what you think. Thank you for the review! --=20 Thanks, Maxim From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v2 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Aug 2023 16:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 65575@debbugs.gnu.org Cc: Katherine Cox-Buday , Andrew Tropin Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169324173612127 (code B ref 65575); Mon, 28 Aug 2023 16:56:01 +0000 Received: (at 65575) by debbugs.gnu.org; 28 Aug 2023 16:55:36 +0000 Received: from localhost ([127.0.0.1]:48928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qafWZ-00039X-Ld for submit@debbugs.gnu.org; Mon, 28 Aug 2023 12:55:35 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:47471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qafWU-00038N-8l for 65575@debbugs.gnu.org; Mon, 28 Aug 2023 12:55:34 -0400 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2b962c226ceso51960351fa.3 for <65575@debbugs.gnu.org>; Mon, 28 Aug 2023 09:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693241717; x=1693846517; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=xD234LSi6cng4bV2GJZf23cBYX5J/TY0YabyYj60Ii0=; b=GBpy2+oTzxS4pkuFPxL+gsnVbWHcO2WiyCdIjYbPOmkC0/Ytii8K5DZFAlH7K3DHtG 1JImjVsgR6oqT6olclAlysrECETzg6JmFWGqWUDVbujkIr0KI+fRVBYChF5UBefsoFxl V7dqyYqE9lf7/q16QkQZs3a8gQtQnjPTcI8XOuAebPeKjxQgJDDzP6ZyKna60elzlI9n 53EEHS5HcmTeKhpftyWVKksjcP/BFT3/Y9sQeZXxpbPwzMQgR0kk/FwW08/zu/yFo7A3 2++dRWVcBcoMGtmUbCIVQRtoeE3rJurnNTKY7zSTD18XDt+zOUvCJWchOI1QxXzfsZNo 3JXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693241717; x=1693846517; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xD234LSi6cng4bV2GJZf23cBYX5J/TY0YabyYj60Ii0=; b=XBX2COvCiOmT1WTN7Ij5cADLcCKFC6PzgsU8sAM0fOu4lw+o51K0UYAMhF7QuBV/JO hMA9yMWqjfI7zdE7rkkkyk89N2qF9gTrtDt0SWQfCnoe8muyp0ebBulpEvUhUWB/mTxh p1ZlLdABDbWIP6YEAG3oxgCqEMr8mH27Jlp/3vFcGqb9sJ+JZrQEgcALn+VgPUcPa2+v rurfuKsXB99yRyyH1Aqxgc/Kg4hcQTsJ5Zv9MKhW/kKRSpgy4eeJQgndSsoHqxSp6RUL Bu7sFHskByWXICcD6FH/gxly6NOzSTP97t7Wvtpwzbz1H9lYwAsAeuhxbKkr2dzIAGuI P77g== X-Gm-Message-State: AOJu0YxehOfVcfncs6irZ2FkHQyfmUQggrVe5NmpykHLa9CU6gTgLAtq 3r7K9/tsRay5hk9hwFgKmZ8= X-Google-Smtp-Source: AGHT+IHogei0Ar52vDoifXz7qf3pa5MWn/vw1ab99v2gpI9G+JS5bXR4M5TX1Se6VlY9SSKt/DzttQ== X-Received: by 2002:a2e:b614:0:b0:2bc:ddf2:4fcb with SMTP id r20-20020a2eb614000000b002bcddf24fcbmr11457459ljn.1.1693241717208; Mon, 28 Aug 2023 09:55:17 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id jj26-20020a170907985a00b0099bd86f9248sm4849821ejc.63.2023.08.28.09.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 09:55:15 -0700 (PDT) Message-ID: <5b6116db57fba6de0e5a8c1afb442fddedd4619e.camel@gmail.com> From: Liliana Marie Prikler Date: Mon, 28 Aug 2023 18:55:14 +0200 In-Reply-To: <6276f07557efac57cc135c1239b074f07281d124.1693235796.git.maxim.cournoyer@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693235796.git.maxim.cournoyer@gmail.com> <6276f07557efac57cc135c1239b074f07281d124.1693235796.git.maxim.cournoyer@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Montag, dem 28.08.2023 um 11:16 -0400 schrieb Maxim Cournoyer: > This fixes a regression introduced with 79cfe30f3 ("build-system: > emacs: Use subdirectories again.") which caused the > 'guix-emacs-autoload-packages' to no longer be able to autoload all > packages. >=20 > * gnu/packages/aux-files/emacs/guix-emacs.el > (guix-emacs-autoload-packages-called): New variable. > (guix-emacs-autoload-packages): Reload subdirs.el files on all but > the first call of this procedure, or when a prefix argument is > provided. What's the reason to still keep the variable? Even if we call load- file with 'noerror, the way in which it is set is quite weird and imho, it would keep things simpler if we had the clear semantics of universal-argument =E2=86=92 reload no universal-argument =E2=86=92 no reload or the other way round. From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH 3/3] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 29 Aug 2023 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 65575@debbugs.gnu.org Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169333968615384 (code B ref 65575); Tue, 29 Aug 2023 20:09:02 +0000 Received: (at 65575) by debbugs.gnu.org; 29 Aug 2023 20:08:06 +0000 Received: from localhost ([127.0.0.1]:51627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb50P-000403-IH for submit@debbugs.gnu.org; Tue, 29 Aug 2023 16:08:05 -0400 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:59426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb50M-0003zX-OL for 65575@debbugs.gnu.org; Tue, 29 Aug 2023 16:08:03 -0400 Received: by mail-ej1-x642.google.com with SMTP id a640c23a62f3a-99c4923195dso602427166b.2 for <65575@debbugs.gnu.org>; Tue, 29 Aug 2023 13:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693339670; x=1693944470; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=n2nkbAZZFNGQop5NO+RshOg8hw159NE8SZSvch/W/C4=; b=RFX7bXTmQwcyHMcGkBHb1VEFo9lXdQfkuyQXH0PIoxplAhBFL09JzrPYV4v81yovOp QMitX8UgWPem73Gqu1nTTNC7UTrBco/b7Pw3K+YTbNjGRGxSqgeE+oQk2Dun5p5jeUbX AGlzmvNq8BuDAdQG/cnEr9TCDPvbJZEoGJCrRQq7D1uT+SFS19EbL8Tgep1SDzEcArI9 FF4Edz9Lr26eambNTJBpJMS1SQkycOA4m8Rts/RFKkNqVHgFzouJN/V2C76Il+RvWdj/ wX+JCPnOIV6uesVWKky/dERcRdELA8dU+nqX1qr+OYdpa0Y0o2pRQ5K5/S2yiGvCGp7f QJsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693339670; x=1693944470; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n2nkbAZZFNGQop5NO+RshOg8hw159NE8SZSvch/W/C4=; b=EhvAFlCCF2UOQ/ZHVqRUtKBnDapDTj9MTACKl0ghMI1NhSDiQdNzhAnvjQL9fLNTpv XNWJ4fsz1HggYcQIx17Enj/oYJLZnO0W6oQwJukVv9eCMiZaeckX8gF/LK11sOW/CeU6 vfzTbfBtuFXdux6EknzdDuof5r4lopfyEyUQOEQu1qn6VLy0fXwcpwmZEh89hOf0Ist7 JjaVEl8qQvUVqbagASUmFYx9WbSQq8vK8AMxLOvbItI6L+40/kGMPXEVovfZjW4upybj BaKNIEcfal6k6f2u9NmxZWhtc0Rng5cD5PVzPkPCA1lPcBeEq5ssoxwTW5QI2gL0ANPf FZAQ== X-Gm-Message-State: AOJu0YxHkmUDP9NuD8ORWW9OxPoeapKKonUYIMmgGkeyftxq4DUqXLSA c/YypXvkgF+mNIeRloodAyM= X-Google-Smtp-Source: AGHT+IF08aAce5EIALbEYG8VxJjCwjKhHv9oA4h5uZg82VRxq+vnO7s/o1t9iFHOkIJEXL81SsCQ8w== X-Received: by 2002:a17:907:2beb:b0:9a1:e613:2569 with SMTP id gv43-20020a1709072beb00b009a1e6132569mr61736ejc.16.1693339669506; Tue, 29 Aug 2023 13:07:49 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id p23-20020a170906839700b0099d9b50d786sm6351890ejx.199.2023.08.29.13.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 13:07:48 -0700 (PDT) Message-ID: <81e6491a09388339ff1a41f1d1eb72a286f3290c.camel@gmail.com> From: Liliana Marie Prikler Date: Tue, 29 Aug 2023 22:07:46 +0200 In-Reply-To: <87il8zgpm7.fsf@gmail.com> References: <6715bc07d825d632140c63bd98c959d31cc5de47.1693199493.git.maxim.cournoyer@gmail.com> <84a6b9e11ec0f8fcdd865dae40ab41100a5c763c.1693199493.git.maxim.cournoyer@gmail.com> <88f150c1356008a1d1c4251a8ec98afcd6e1b6f2.camel@ist.tugraz.at> <87il8zgpm7.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Montag, dem 28.08.2023 um 11:20 -0400 schrieb Maxim Cournoyer: > > e.g.=C2=A0 > > (defun guix-emacs-autoload-packages (&optional reload) > > =C2=A0=C2=A0"..." > > =C2=A0 (interactive "P") > > =C2=A0 (when reload (mapc #'load-file (guix-emacs--subdirs-files))) > > =C2=A0 ...) > >=20 > > WDYT? >=20 > The reason for avoiding loading the subdirs.el files on the first > call is just an optimization, since it would at this time duplicate > work already done by Emacs itself when it first executes.=C2=A0 This > shouldn't fail; I've now employed the same 'noerror strategy as used > for autoloads to ensure that. >=20 > There's one edge case I've just thought though, which is if a user > invoked emacs with the documented '--no-site-file' option disabling > loading autoloads; this would cause guix-emacs-autoload-packages- > called to be nil. >=20 > To balance between making things both convenient and flexible, I've > preserved the tracking but also added the reload override you > suggested. Let me know what you think. Assuming convenience equates to not needing to type C-u, we can also achieve that without tracking: (defun guix-emacs-autoload-packages (&optional noexpand) "Autoload Emacs packages found in EMACSLOADPATH. 'Autoload' means to load the 'autoloads' files matching=C2=A0 `guix-emacs-autoloads-regexp'. Before doing so, expand load-path by loading subdirs.el files found in it, unless NOEXPAND is given." (interactive "P") (unless noexpand (mapc #'load-file (guix-emacs--subdirs-files))) ...) In our own init code, we should simply call it as=C2=A0 (guix-emacs-autoload-packages 'noexpand) then, since this expansion is already done earlier by Emacs. Cheers From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 1/4] gnu: emacs: Use lexical binding for guix-emacs.el startup library. References: <87h6ojixdj.fsf@gmail.com> In-Reply-To: <87h6ojixdj.fsf@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Fri, 01 Sep 2023 04:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.16935440714325 (code B ref 65575); Fri, 01 Sep 2023 04:55:01 +0000 Received: (at 65575) by debbugs.gnu.org; 1 Sep 2023 04:54:31 +0000 Received: from localhost ([127.0.0.1]:59646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwAx-00017h-5X for submit@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:31 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:62842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwAv-00017Q-9R for 65575@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:29 -0400 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-410ad0ae052so12282011cf.1 for <65575@debbugs.gnu.org>; Thu, 31 Aug 2023 21:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693544054; x=1694148854; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lNeYPlCe/T7HoN9kBidPHDti+HsRk0olKPiey/14peU=; b=gWozuYx2/kdt7lr//vS0FxwIIVs5IvPppTLFq6OaEyvQUuq2vVO59G5dVXlYGW4qNy XR61gZF9K1+D6tWphVpf6PFIhyLFXQWFqtLH9elf9BLKmMhmK3jzH7hldMaOd2glOaTE a2SmvpQ49vpviyOd0fKNHJog57Z4OtpF9N5u6ugvU5iXxxSNk3I+UAYfxFBBqVa481ay CNBsha1HKvK5d/WZuxIMnUwjjuZS70JSmXfXD87zxdE4Qdg71JY9HOSIIxUlQE5e/rco +8alv83j6ZCMUDwkgHzBmIgbmI3+H24nmeozWIshvExJaXa9fEbd5fGCGl6rA87VaHUA 1ISg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693544054; x=1694148854; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lNeYPlCe/T7HoN9kBidPHDti+HsRk0olKPiey/14peU=; b=OcAbPZkgg3kTn37Kb6n0n1vgl5V3m3G7eFaSE6z3qYR9lSiIOrBOWLn44jjdEGF/i1 zAlVelAIb85qkeGwhhtvlxRTYcIdVpZzhG5cBz5avl+2b7bJkb6vvf0l5Kie5Jfj+gzj rZD7bQDAFQgGgJL6HAmDH89LnAKZfOd6Gwi+lf7H8exarV1TqITml+i23M+D9U57dzeC poEBzfChFUw9fgqd+Vy/UJez7Da3BABLJ7pxOZBUTE+Y3XIGgQZ1RpmRXhQoCjWH3Bo3 xG9hwWDGLhEn1j7ctRvkfBh19Lfv4TfDQ1kHltIzQfxEyt8xpFp3PyP3KC9rWzg2wSiD dM3g== X-Gm-Message-State: AOJu0YwkP98TxkCfwI4b99CD/5ugaXb090rggrZ9d3bHKTBTcp3xcHqo UB2DDATRN9ZPUdWjeE4dEkkYGxgwhM8= X-Google-Smtp-Source: AGHT+IEowvVIuWF0IJilKcIuwgBD6T0KRdE6ekb042f5ToQ8w1ycmG9C/rbfm5oa8L/24Ta/9xwceQ== X-Received: by 2002:ac8:5e0d:0:b0:410:976f:f6b6 with SMTP id h13-20020ac85e0d000000b00410976ff6b6mr2464650qtx.1.1693544054446; Thu, 31 Aug 2023 21:54:14 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id v15-20020ac8748f000000b00410ad87b1e0sm1176627qtq.46.2023.08.31.21.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 21:54:13 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 1 Sep 2023 00:53:18 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el: Declare LEXCICAL-BINDING file variable to true. --- (no changes since v1) gnu/packages/aux-files/emacs/guix-emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 708093267d..c98e7fe369 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -1,3 +1,4 @@ +;;; -*- lexical-binding: t; -*- ;;; guix-emacs.el --- Emacs packages installed with Guix ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost base-commit: f66fa5f917e76935187935b09ae7ac037b8b35f8 -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 2/4] gnu: emacs: Factorize a 'guix-emacs--subdirs-files' procedure. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Fri, 01 Sep 2023 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.16935440754346 (code B ref 65575); Fri, 01 Sep 2023 04:55:02 +0000 Received: (at 65575) by debbugs.gnu.org; 1 Sep 2023 04:54:35 +0000 Received: from localhost ([127.0.0.1]:59650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwB0-000181-FH for submit@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:34 -0400 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:57459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwAx-00017U-Ky for 65575@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:32 -0400 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-76f066e4fffso98448485a.2 for <65575@debbugs.gnu.org>; Thu, 31 Aug 2023 21:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693544057; x=1694148857; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I7jWgxABeuVjvmlSDfa+coE47lXJNf7XYgBz66VnE5E=; b=TyXJnfdp55Vzm+Wmnr1dIAAktRrFl/+gT6CDwIdkPu8plQbKBI6VCPQqgyovXQEzWK mXqQk+4sfU4GuIqubU7vyflwPg6KW0RHNc/Bdo/rxTvEbfMw9VOHTwjz8jxHGuqc7amH 7Q78ZCKQs9T4+ciu9ZguXDmRploOClBCWCTjWrvGyHHg/r/lklpY3Hd7zVYWzZ+3u4aI zB6rimZSSXi0pwDV/R1xTesAYwa5wBTMeesokMzJ5Z7my8zllLBrsTn/1e3daxep+8mn ixDZ5JQPOc8RzDyAeFsA7tcdV6kK7w0X97ZXvu61pDB93ddvtj6v04Riup3NYBwb+QZl GtRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693544057; x=1694148857; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I7jWgxABeuVjvmlSDfa+coE47lXJNf7XYgBz66VnE5E=; b=SPk+SpqELD59iHAUxwIRzKs5DSH6Z86BjJF7jPFWv9v2T+2E8oLw2+maNk1GndbO6e f9lyA6/Yk74gdsFXQk73UnYSgRM2kxyN5SQiZT/vym6ZmS/TPaLL7vepz0LlYXB8XzxD fDLQa19ougbs9BQzTMhmn7lolvbjOXdQTjMxk9B6iP9yxsqJ+2OvYhO+MGu2L84v94PK 1U615J9I00fVxHI7iyTI5vUi33NazAer5mFyaOGZ19g8no64n5xVr/NCqRbMm42rn351 2WYyFpMG6gB+1WKV2DU+w+oQENlsTNoC315TIVUM4ADbi9qdy45iAiPSJNnZ8y1liqi9 sMrw== X-Gm-Message-State: AOJu0YzdGO7eMqtw3xrOmiGvQ2OjSjHZSlDx0JehKIUdc8XftOLxpHk1 3/3/q1t5rMR+fvjZHJFlLczmjA/FikQ= X-Google-Smtp-Source: AGHT+IGVMIWwdi3qqd8826VVC5Re8Lfr9vkuzvrYVwtsRmu0TKUnDe0jyg+qvBzN03WhWQRRejMQHg== X-Received: by 2002:a05:620a:1489:b0:76e:f3a3:4ac6 with SMTP id w9-20020a05620a148900b0076ef3a34ac6mr1234917qkj.35.1693544056841; Thu, 31 Aug 2023 21:54:16 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id v15-20020ac8748f000000b00410ad87b1e0sm1176627qtq.46.2023.08.31.21.54.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 21:54:16 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 1 Sep 2023 00:53:19 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs--subdirs-files): New procedure. (guix-emacs-load-package-descriptors): Use it. --- (no changes since v2) Changes in v2: - Fix unbound 'dir' variable gnu/packages/aux-files/emacs/guix-emacs.el | 34 +++++++++++++--------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index c98e7fe369..4db7ec28c9 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -3,7 +3,7 @@ ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost ;; Copyright © 2017 Kyle Meyer -;; Copyright © 2019 Maxim Cournoyer +;; Copyright © 2019, 2023 Maxim Cournoyer ;; This file is part of GNU Guix. @@ -47,6 +47,13 @@ The files in the list do not have extensions (.el, .elc)." (string-match-p "/share/emacs/site-lisp" dir)) load-path)) +(defun guix-emacs--subdirs-files () + "Return the Guix subdirs.el files found on the (non-core) load path." + (seq-filter #'file-exists-p + (mapcar (lambda (dir) + (expand-file-name "subdirs.el" dir)) + (guix-emacs--non-core-load-path)))) + ;;;###autoload (defun guix-emacs-autoload-packages () "Autoload Emacs packages found in EMACSLOADPATH. @@ -63,19 +70,18 @@ The files in the list do not have extensions (.el, .elc)." ;;;###autoload (defun guix-emacs-load-package-descriptors () "Load descriptors for packages found in EMACSLOADPATH via subdirs.el." - (dolist (dir (guix-emacs--non-core-load-path)) - (let ((subdirs-file (expand-file-name "subdirs.el" dir))) - (when (file-exists-p subdirs-file) - (with-temp-buffer - (insert-file-contents subdirs-file) - (goto-char (point-min)) - (let ((subdirs (read (current-buffer)))) - (and (equal (car-safe subdirs) 'normal-top-level-add-to-load-path) - (equal (car-safe (cadr subdirs)) 'list) - (dolist (subdir (cdadr subdirs)) - (let ((pkg-dir (expand-file-name subdir dir))) - (when (file-directory-p pkg-dir) - (package-load-descriptor pkg-dir))))))))))) + (dolist (subdirs-file (guix-emacs--subdirs-files)) + (with-temp-buffer + (insert-file-contents subdirs-file) + (goto-char (point-min)) + (let ((subdirs (read (current-buffer)))) + (and (equal (car-safe subdirs) 'normal-top-level-add-to-load-path) + (equal (car-safe (cadr subdirs)) 'list) + (dolist (subdir (cdadr subdirs)) + (let ((pkg-dir (expand-file-name + subdir (file-name-directory subdirs-file)))) + (when (file-directory-p pkg-dir) + (package-load-descriptor pkg-dir))))))))) ;; If emacs built with tree-sitter, read the value of the environment variable ;; to make tree-sitter grammars available in emacs out-of-the-box. -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 3/4] gnu: emacs: Allow producing verbose messages when loading autoloads. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Fri, 01 Sep 2023 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.16935440754352 (code B ref 65575); Fri, 01 Sep 2023 04:55:02 +0000 Received: (at 65575) by debbugs.gnu.org; 1 Sep 2023 04:54:35 +0000 Received: from localhost ([127.0.0.1]:59652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwB0-000183-VA for submit@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:35 -0400 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:51598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwAz-00017W-Dw for 65575@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:33 -0400 Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-411f5dd7912so9343941cf.3 for <65575@debbugs.gnu.org>; Thu, 31 Aug 2023 21:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693544059; x=1694148859; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PeB77dmLyW/oNFIO7PuimXoufJVVwMr5bRtF+iyO+Cg=; b=eGnNJjyBLR37XdBLNVup5gquHRNvV3xt7Oqanl3C8DLnRa7/dAvOSLMrNwW+9BJC1t XhNBfqeMoIrqI1vPpuxHpAw6aQYWXsYi8Dl9vmUj5IjKOZz/FLiOp2mE3rJAX8JR35lr JOG0vl1bnxONTMEOe6FyC8YbArxxo39is3xhosiAOMuWR0AqgxEzvFOQrRbhSQmHTrk5 RiOhJm74G0Bl4I1L/d6sW8rCtdRlVk4hYZCLLfETJNRB+/mIIk8Z24W64pRrsuAkww0c GjnlZG4eGgmXCys8sSWxH6+YRlAnd3xiI1JDPKEyVJpiRfqXymRb0YiR33APsCrPnoKr 1Z0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693544059; x=1694148859; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PeB77dmLyW/oNFIO7PuimXoufJVVwMr5bRtF+iyO+Cg=; b=QkQM3i0x39jd9VHK/pEEyxJF+X0snRl33xHu9BftP7AJSPbVxHxsHZlwXsGmXXlJVb r8IZUh2OFqAMQPnO2nB+eqVgjQdewbt4LNtGZFc5XqUMPuNr0xDK4DRUHO/MXxxY32DQ MMT905DIpkVOuavMyaAE+NeNYi6eG3GVTcLEvwJrTiOb+Cm2FiuKK9TZRVnqrGsSrfPD UUOuabY2t/iPd2xqUu/A5CcAmof+nGgtzBX2Kh5PnxooFVDU+VDyYdkDVDrd88BCfr5H sz+cXEVWKa53KxZakoidCY0dzkc+0ag3o9DHVDiolbjFpeUKmDxEz+V2pkcr5vluQR2c 3jyg== X-Gm-Message-State: AOJu0YzjWj72uts+udBtAXN5lqJkA9bUna8hY4fX0LWywi+OEXSF1V1t I4oBiqTQ4dmljRhBCUBO0Tiqnqfl/VM= X-Google-Smtp-Source: AGHT+IH4Staf2B0Kae1aBWq9ovOkoLFlHjAbWZxJV//eOUueUGUVM0aCm6xPScy2qx/DblSxVVnX9Q== X-Received: by 2002:a05:622a:4c6:b0:412:22cf:83fa with SMTP id q6-20020a05622a04c600b0041222cf83famr1549761qtx.28.1693544058696; Thu, 31 Aug 2023 21:54:18 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id v15-20020ac8748f000000b00410ad87b1e0sm1176627qtq.46.2023.08.31.21.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 21:54:18 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 1 Sep 2023 00:53:20 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/aux-files/emacs/guix-emacs.el: Expound commentary. (guix-emacs-verbose): New variable. (guix-emacs--load-file-no-error): New procedure. (guix-emacs-autoload-packages): Use it. --- (no changes since v2) Changes in v2: - New commit gnu/packages/aux-files/emacs/guix-emacs.el | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 4db7ec28c9..84284dde39 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -22,8 +22,9 @@ ;;; Commentary: -;; This file provides auxiliary code to autoload Emacs packages -;; installed with Guix. +;; This file provides auxiliary code to autoload Emacs packages installed with +;; Guix. To produce verbose messages useful while debugging, set the +;; GUIX-EMACS-VERBOSE variable to true. ;;; Code: (require 'seq) @@ -41,6 +42,15 @@ The files in the list do not have extensions (.el, .elc)." (directory-files directory 'full-name guix-emacs-autoloads-regexp)))) +(defcustom guix-emacs-verbose nil + "Set to true to provide verbose messages, such as when loading packages." + :type 'boolean + :group 'guix-emacs) + +(defun guix-emacs--load-file-no-error (file) + "Load FILE, ignoring any errors" + (load file 'noerror (not guix-emacs-verbose))) + (defun guix-emacs--non-core-load-path () ;; Filter out core Elisp directories, which are already handled by Emacs. (seq-filter (lambda (dir) @@ -63,9 +73,7 @@ The files in the list do not have extensions (.el, .elc)." (interactive) (let ((autoloads (mapcan #'guix-emacs-find-autoloads (guix-emacs--non-core-load-path)))) - (mapc (lambda (f) - (load f 'noerror t)) - autoloads))) + (mapc #'guix-emacs--load-file-no-error autoloads))) ;;;###autoload (defun guix-emacs-load-package-descriptors () -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Fri, 01 Sep 2023 04:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65575@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.16935440774367 (code B ref 65575); Fri, 01 Sep 2023 04:55:03 +0000 Received: (at 65575) by debbugs.gnu.org; 1 Sep 2023 04:54:37 +0000 Received: from localhost ([127.0.0.1]:59655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwB3-00018M-Cl for submit@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:37 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:61465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbwB1-00017f-Jf for 65575@debbugs.gnu.org; Fri, 01 Sep 2023 00:54:36 -0400 Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-4132c2cee1dso10309841cf.2 for <65575@debbugs.gnu.org>; Thu, 31 Aug 2023 21:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693544061; x=1694148861; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xe1xbdH/xT6jJNQNNe0POzpfV4nQ9OGL1SU1eZJ9fOA=; b=czvnjMLS7o9wxa4dAwBzSsAmGDnejL49NbHxRmlH6fVDj1bmFEdACBsZZtfHZR9dmN cQ8SiMcL+23v1YMA4XfOKF33HasDasgF47OgFIVO2/lNyKqKNfEt5M1wZPSGL1ao1MJQ veX0o5riGnBg/OO7dlRPeSF7RqwZRuH3z1/gnLU+0Sm1Dq2irCTB0whTqKGC/ByKEIxJ r7vrvxxc3wwNhuRXZVwX8Mn9pvXIt3cURMuJODHn3m5zEAFTgJmoDCjEX0BAAnhzSQP4 rF12SbrjlF542ts4+WoaYgRZSTUjJEWuwGqjGO/YcCpKcftp1JqhdirXigTp6O99RWDL cCnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693544061; x=1694148861; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xe1xbdH/xT6jJNQNNe0POzpfV4nQ9OGL1SU1eZJ9fOA=; b=STAtE5bP1+jUnKNkVUTtT867h3vMU11gNXi6IM7jsGAwRgVqXzGCjGTvk8UUSj4jOC 7Lc00b/654b0jz6vybjNHqai3lf+m2CvnMiotmxEFUfu8urNgxQoZBm67+qPIbBZi4jz 5G2hu8I20RnFGwyhgqHc79bk+DedGOSgDa7BcbhQ52WTgrNErsZORD3ZwVdffKfReO4e US7RZvBW62ltLyhR+jHVEYFAFwYhdq1UwCHUVU2gWIn/sB5KI7v7++5y8sxv0B1iGJst LFckFJZrFefx5oygm5gChVkMwZMhozlwBr5e1Vwxvz0nN29hWOUIYM1k52MJvGu7H4Nd y09g== X-Gm-Message-State: AOJu0YwZectn9DL5Qbs/G3+uaAvTNd40uk75u+22u8xLEOW+V4BhBweX BQ4yddq8o19cK8fZJp56sjOY2y+Ioyg= X-Google-Smtp-Source: AGHT+IHPzl0n/V7ky0oOJPx1bh5rBgridIBIirq/0Z4OizSNEbI7VaAVBC1kk3/IhOFv509b/6Vy9Q== X-Received: by 2002:ac8:5bc3:0:b0:40f:ffd3:61fc with SMTP id b3-20020ac85bc3000000b0040fffd361fcmr1799630qtb.9.1693544060926; Thu, 31 Aug 2023 21:54:20 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id v15-20020ac8748f000000b00410ad87b1e0sm1176627qtq.46.2023.08.31.21.54.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 21:54:20 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 1 Sep 2023 00:53:21 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This fixes a regression introduced with 79cfe30f3 ("build-system: emacs: Use subdirectories again.") which caused the 'guix-emacs-autoload-packages' to no longer be able to autoload all packages. * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages): Reload subdirs.el files unless NO-RELOAD is provided. Update doc. * doc/guix.texi (Application Setup): Document that 'guix-emacs-autoload-packages' can be invoked interactively to auto-reload newly installed Emacs packages. * gnu/packages/emacs.scm (emacs) [arguments] : Call guix-emacs-autoload-packages with an argument in the site-start.el file. --- Changes in v3: - Invert argument logic of guix-emacs-autoload-packages - Drop the guix-emacs-autoload-packages-called state variable - Adjust site-start.el file in Emacs package Changes in v2: - Safely load subdirs.el files - Add 'reload' prefix argument as override for guix-emacs-autoload-packages doc/guix.texi | 11 +++++++---- gnu/packages/aux-files/emacs/guix-emacs.el | 15 ++++++++++++--- gnu/packages/emacs.scm | 2 +- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 04e5875925..939e669fee 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2167,12 +2167,15 @@ Application Setup Emacs through the @env{EMACSLOADPATH} environment variable, which is set when installing Emacs itself. +@cindex guix-emacs-autoload-packages, refreshing Emacs packages Additionally, autoload definitions are automatically evaluated at the initialization of Emacs, by the Guix-specific -@code{guix-emacs-autoload-packages} procedure. If, for some reason, you -want to avoid auto-loading the Emacs packages installed with Guix, you -can do so by running Emacs with the @option{--no-site-file} option -(@pxref{Init File,,, emacs, The GNU Emacs Manual}). +@code{guix-emacs-autoload-packages} procedure. This procedure can be +interactively invoked to have newly installed Emacs packages discovered, +without having to restart Emacs. If, for some reason, you want to avoid +auto-loading the Emacs packages installed with Guix, you can do so by +running Emacs with the @option{--no-site-file} option (@pxref{Init +File,,, emacs, The GNU Emacs Manual}). @quotation Note Emacs can now compile packages natively. Under the default diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 84284dde39..c253e64df8 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -65,12 +65,21 @@ The files in the list do not have extensions (.el, .elc)." (guix-emacs--non-core-load-path)))) ;;;###autoload -(defun guix-emacs-autoload-packages () +(defun guix-emacs-autoload-packages (&optional no-reload) "Autoload Emacs packages found in EMACSLOADPATH. 'Autoload' means to load the 'autoloads' files matching -`guix-emacs-autoloads-regexp'." - (interactive) +`guix-emacs-autoloads-regexp'. By default, the subdirs.el files +found on the load path are reloaded to discover newly installed +packages, unless NO-RELOAD is provided." + (interactive "P") + ;; Reload the subdirs.el files such as the one generated by the Guix profile + ;; hook, so that newly installed Emacs packages located under + ;; sub-directories are put on the load-path without having to restart Emacs. + (unless no-reload + (mapc #'guix-emacs--load-file-no-error (guix-emacs--subdirs-files)) + (setq load-path (delete-dups load-path))) + (let ((autoloads (mapcan #'guix-emacs-find-autoloads (guix-emacs--non-core-load-path)))) (mapc #'guix-emacs--load-file-no-error autoloads))) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index d3689c2474..d9af6b96a7 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -244,7 +244,7 @@ (define-public emacs (display (string-append "(when (require 'guix-emacs nil t)\n" - " (guix-emacs-autoload-packages)\n" + " (guix-emacs-autoload-packages 'no-reload)\n" " (advice-add 'package-load-all-descriptors" " :after #'guix-emacs-load-package-descriptors))")))) ;; Remove the extraneous subdirs.el file, as it causes Emacs to -- 2.41.0 From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 02 Sep 2023 04:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 65575@debbugs.gnu.org Cc: Katherine Cox-Buday , Andrew Tropin Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169363018831620 (code B ref 65575); Sat, 02 Sep 2023 04:50:02 +0000 Received: (at 65575) by debbugs.gnu.org; 2 Sep 2023 04:49:48 +0000 Received: from localhost ([127.0.0.1]:34825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcIZv-0008Dw-Kg for submit@debbugs.gnu.org; Sat, 02 Sep 2023 00:49:47 -0400 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:56772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcIZt-0008Dj-Ol for 65575@debbugs.gnu.org; Sat, 02 Sep 2023 00:49:46 -0400 Received: by mail-ej1-x641.google.com with SMTP id a640c23a62f3a-9a5be3166a2so311446566b.1 for <65575@debbugs.gnu.org>; Fri, 01 Sep 2023 21:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693630170; x=1694234970; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=9AXXvTReHgocK91e8BWV3ryqbEjVudV7ev5rogD31Js=; b=i4B/eiJCUOinHpYE7+Yj91sNBGRZOD/oSRyzaTvh6meNJbcanSwiObAglHqclNylor SQAGxWLasGr8elmwW4LLvAT8tqta30LqlQi/SlpSobKb6wxRC+/UbBm0RfxdzwJ2/89M qLCWl939/snj1c5pKngjfOKJvfjMCXRigoqoqFF6VVECwNGG2rxp7E1noajf89ZNUowp 2kcfUOZ612UwtINcyYRD6fMAi6b6sL6834PKjXSBMC/BRixWMeWprslgj4i69Fsn4AVH gzopyHAxmKSeTc9BvJfchLMgvTm/0TzgpvaGGvKy0FN4wzJrlWJkTotzUf4QJrRw/QNN bvhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693630170; x=1694234970; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9AXXvTReHgocK91e8BWV3ryqbEjVudV7ev5rogD31Js=; b=DyWRVzEMG5FlAun/1+06zp1mqNifqrQQPfzGeYGRzLfRbhlj5OM54X2B3OF6qteOXb XI+4Vvp/07oRiHpOcZbadYV2kO6kGTWz530VcOZ0+NKd6YUj5F3wwves6Ozgfdycka5w Z5f8Z4bCWbL6fN7j1gO92TfpchunEGJQp+SK77Uch3dLGqErzwN2U2XUL3a3EU3AFsWZ c2oDqykOwYynIfamQPy8p5Km0jQ5VW5I9j6YRBSh0e2SLusZeuSXl3y+joP0H/aJpWZt moDypsl4UCoUhOypITamY5M5Bsc329Ud8pnDWkNA0dQf6EF/BJgagLuFtK/GsgY3cZ/5 LjQg== X-Gm-Message-State: AOJu0Yw50KuSFJkjzpCrJfcwELdPYHFK2GERJj8Kliw5kl1V4mVlKmQM QH36Qti2QnT4s85++Zc5yiw= X-Google-Smtp-Source: AGHT+IHHFWchyH35lSjoJ/n4B43zBMAohKs1cFJMPQyIIe2X50Id57Cs1nS1QenoBvmd3Cq+xx+JSw== X-Received: by 2002:a17:907:75f4:b0:9a2:232f:6f85 with SMTP id jz20-20020a17090775f400b009a2232f6f85mr3080533ejc.52.1693630170096; Fri, 01 Sep 2023 21:49:30 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id h18-20020a1709066d9200b0099b5a71b0bfsm2922994ejt.94.2023.09.01.21.49.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 21:49:29 -0700 (PDT) Message-ID: <5228f790dc41314f01a48ad7c4cada654b7fc8ff.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 02 Sep 2023 06:49:27 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Freitag, dem 01.09.2023 um 00:53 -0400 schrieb Maxim Cournoyer: > This fixes a regression introduced with 79cfe30f3 ("build-system: > emacs: Use subdirectories again.") which caused the > 'guix-emacs-autoload-packages' to no longer be able to autoload all > packages. >=20 > * gnu/packages/aux-files/emacs/guix-emacs.el > (guix-emacs-autoload-packages): Reload subdirs.el files unless NO- > RELOAD is provided.=C2=A0 Update doc. > * doc/guix.texi (Application Setup): Document that > 'guix-emacs-autoload-packages' can be invoked interactively to auto- > reload newly installed Emacs packages. > * gnu/packages/emacs.scm (emacs) [arguments] : Call > guix-emacs-autoload-packages with an argument in the site-start.el > file. >=20 > --- >=20 > Changes in v3: > - Invert argument logic of guix-emacs-autoload-packages > - Drop the guix-emacs-autoload-packages-called state variable > - Adjust site-start.el file in Emacs package >=20 > Changes in v2: > - Safely load subdirs.el files > - Add 'reload' prefix argument as override for guix-emacs-autoload- > packages >=20 > =C2=A0doc/guix.texi=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 11 +++++++---- > =C2=A0gnu/packages/aux-files/emacs/guix-emacs.el | 15 ++++++++++++--- > =C2=A0gnu/packages/emacs.scm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= |=C2=A0 2 +- > =C2=A03 files changed, 20 insertions(+), 8 deletions(-) Thanks, LGTM. I've tested this by dropping almost all parts of load- path and calling (guix-emacs-autoload-packages), it appears to do what's promised. Queued locally for emacs-next and followed up with a patch that fixes the compilation warnings coming from the docstrings. Cheers From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 03 Sep 2023 17:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: Katherine Cox-Buday , Andrew Tropin , 65575@debbugs.gnu.org Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.16937620192667 (code B ref 65575); Sun, 03 Sep 2023 17:27:01 +0000 Received: (at 65575) by debbugs.gnu.org; 3 Sep 2023 17:26:59 +0000 Received: from localhost ([127.0.0.1]:46766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcqsF-0000gx-Di for submit@debbugs.gnu.org; Sun, 03 Sep 2023 13:26:59 -0400 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]:61532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcqs9-0000gf-10 for 65575@debbugs.gnu.org; Sun, 03 Sep 2023 13:26:57 -0400 Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-d77ad095f13so463327276.2 for <65575@debbugs.gnu.org>; Sun, 03 Sep 2023 10:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693762008; x=1694366808; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=2UziJcpBBrgpZ62uzq5fJWLxuxQej163IXPX9a3Fqzg=; b=ks6qxZDhO0aPGiksRKDtjDjMZcETp4NHaqOc09zgEvrUtZVRhwvbObVooHPM5kTcGE Q7W4Lq2pNyMReia1XbyzP//2mrMx9b/klDZ0EQ8YTG1pTCfteHELc2CDLlxiv7qoGLqy RE4onCffWgf+/YoSujIaM2CGL4RL4oRFIfj3FQSet2EMdb2bddIPPl5UKJF/QPGiNKCL sJShIthZnxZUJh5TOpucprTuY5kxNrHKcj/hETOkvBrhfYVrlBCmTgNrKSpLXlKO5R/c Hgov/69J/ufZLk4881/IrdGRjnO7sSsJFkW6aV8zpHWnjywVaIQOUTMzRbd6lPN7Cl+K xTrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693762008; x=1694366808; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2UziJcpBBrgpZ62uzq5fJWLxuxQej163IXPX9a3Fqzg=; b=lyVH+YzOULxQcWcnOTwzbkAecKvX3IhDzMQx0+47sbpc13UCoUSFVCxua+0Sb5kNmg hW8a9I73kwNnAkcAuX55MhCGv/uHAZy0Ssm56oICrjaA5xw71b8D1iseMNrIpIvyIgdx lmX4NMwX4zHLwmqdomsTnL7cL+mXAGXbzekA127GzO8iV7cP3VlDvJqfhFHhr8KCPd1u rwpk7iIvLFU4N03UjcGgxg/6LeEDd+1YfPMrCUvSOwV2HpRT2zDGt6TBgCKcYwn1J1fp 9oh1gzPyFVPXE1xV516Q4ydAuBpz0wtoEWUNcsItdbn1ihuRTCfgW6Uw5AqRDH8bDPZi 6PvA== X-Gm-Message-State: AOJu0YwYHU/R9ka/vU0OoNjnNnIJhm3riZf6FNuLqDr+dhax/S3p2IMF CT4aAUR/4YIkWYwwvqPoXxkbWbJWZyHH8w== X-Google-Smtp-Source: AGHT+IG03Mdx+b9+fZn30svqrg9rkejWx4ar7NkOMsfym3QVPcmruAJidVu5dy7Bm/vUzORhJm5/9w== X-Received: by 2002:ac8:58d6:0:b0:3fd:de11:d8e4 with SMTP id u22-20020ac858d6000000b003fdde11d8e4mr11174266qta.23.1693752705902; Sun, 03 Sep 2023 07:51:45 -0700 (PDT) Received: from hurd (dsl-10-135-141.b2b2c.ca. [72.10.135.141]) by smtp.gmail.com with ESMTPSA id w8-20020ac84d08000000b004120ae42859sm2880016qtv.90.2023.09.03.07.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 07:51:45 -0700 (PDT) From: Maxim Cournoyer References: <5228f790dc41314f01a48ad7c4cada654b7fc8ff.camel@gmail.com> Date: Sun, 03 Sep 2023 10:51:44 -0400 In-Reply-To: <5228f790dc41314f01a48ad7c4cada654b7fc8ff.camel@gmail.com> (Liliana Marie Prikler's message of "Sat, 02 Sep 2023 06:49:27 +0200") Message-ID: <87jzt7ux6n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Liliana, Liliana Marie Prikler writes: [...] > Thanks, LGTM. I've tested this by dropping almost all parts of load- > path and calling (guix-emacs-autoload-packages), it appears to do > what's promised. Queued locally for emacs-next and followed up with a > patch that fixes the compilation warnings coming from the docstrings. Sounds good, thank you for testing it! About warnings, when I byte compile guix-emacs.el, all I see is: --8<---------------cut here---------------start------------->8--- Compiling file /home/maxim/src/guix/gnu/packages/aux-files/emacs/guix-emacs= .el at Sun Sep 3 10:50:19 2023 guix-emacs.el:83:39: Warning: reference to free variable =E2=80=98treesit-extra-load-path=E2=80=99 guix-emacs.el:83:39: Warning: assignment to free variable =E2=80=98treesit-extra-load-path=E2=80=99 --8<---------------cut here---------------end--------------->8--- I don't know how to fix those; they seem harmless since their use is enclosed in a (with-eval-after-load 'treesit ...) expression. --=20 Thanks, Maxim From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 03 Sep 2023 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Katherine Cox-Buday , Andrew Tropin , 65575@debbugs.gnu.org Received: via spool by 65575-submit@debbugs.gnu.org id=B65575.169377118426096 (code B ref 65575); Sun, 03 Sep 2023 20:00:02 +0000 Received: (at 65575) by debbugs.gnu.org; 3 Sep 2023 19:59:44 +0000 Received: from localhost ([127.0.0.1]:46995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qctG3-0006mq-Ic for submit@debbugs.gnu.org; Sun, 03 Sep 2023 15:59:43 -0400 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:48537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qctG0-0006ma-KR for 65575@debbugs.gnu.org; Sun, 03 Sep 2023 15:59:42 -0400 Received: by mail-ed1-x544.google.com with SMTP id 4fb4d7f45d1cf-5256d74dab9so975512a12.1 for <65575@debbugs.gnu.org>; Sun, 03 Sep 2023 12:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693771175; x=1694375975; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=sZ7XBQjaot1WNvQGrxAvNvFl5OB1ATBuoamAeEABIbg=; b=KInjWzeEO8ZRggEV3a220CzIPcdHIsFkn/eNrHwIxPtYUJRwMYL3MeznWzwvMAN/gt MBdUiTqiN/Q2EesRG5xvTGJ9ZhI5XkQVzDiZPnENpZDt6eKKl4+R1AP3BUajXvqWsHE0 sOZo897iomsOavhpo45keEEg2H7uOqDDj+Fa0rEqcojNdvgSlsUOf0EdfZCxsa3WFkcC c8xE1CR0E7a1dJWVd+c/zS8LkvVLXg9gSM0xfdYybXYwvPY8SSsspM90NrDP3jI/y9Mp oVEXibgBVE67AOdmTPNgsFrY2NWxRhb3dpKD9NsjQttURjzIRMG/7bMO3EsaGILAeWEV gLSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693771175; x=1694375975; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sZ7XBQjaot1WNvQGrxAvNvFl5OB1ATBuoamAeEABIbg=; b=Lgsl555wFFYKD7G+uEBmqT83eRx5jwSe4UjQ8TN5d2LZBRc+Yxo0qA0J3iY52c1cbc /rveK9ZFPfMA8UHs0vz5tCXdcPtbvqUJG6WeuAWL92qG+XZ+DyF//BPprbYluoIhChGD ITz/9ijtKKAOiFBSBuRRjx88Lm8BH0LVovSc94AcI8nuePUDloTUMM1oGtSZhTOqnCBn RICmtJXF9jlTIWojIMY0kyiNKAO7tVQtNB+cATVT3pmqVSJxhO9YHYDXmsYdr58xUVwM C6u75UxH2P5mwp8ZspbNnwa8eInJdGbudqHKUlJs0tUhw7iMOocowKNwQnS8mgXKtZB2 ZbKg== X-Gm-Message-State: AOJu0YyvByg9WsK3UgS1fTkfsYqU88IyKJYOspJ9So13xwox0aO81ZDs aGaLANCSWadwuQwymgo57EY= X-Google-Smtp-Source: AGHT+IHXuh+/IJ6WaMO5Wj8tdVT9k3GTLEbLFTJRME4tXAUjJoyjDLfS5gV/z3Ng8ZILibuWyqQ39w== X-Received: by 2002:a17:907:788b:b0:99d:6b3c:3d40 with SMTP id ku11-20020a170907788b00b0099d6b3c3d40mr5604757ejc.6.1693771175093; Sun, 03 Sep 2023 12:59:35 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id pv9-20020a170907208900b00993470682e5sm5095984ejb.32.2023.09.03.12.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 12:59:34 -0700 (PDT) Message-ID: <7feb9a1d9bcbc88df748d9dfdda1c1c7d92366b2.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 03 Sep 2023 21:59:33 +0200 In-Reply-To: <87jzt7ux6n.fsf@gmail.com> References: <5228f790dc41314f01a48ad7c4cada654b7fc8ff.camel@gmail.com> <87jzt7ux6n.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Sonntag, dem 03.09.2023 um 10:51 -0400 schrieb Maxim Cournoyer: > Hi Liliana, >=20 > Liliana Marie Prikler writes: >=20 > [...] >=20 > > Thanks, LGTM.=C2=A0 I've tested this by dropping almost all parts of > > load-path and calling (guix-emacs-autoload-packages), it appears to > > do what's promised.=C2=A0 Queued locally for emacs-next and followed up s/emacs-next/emacs-team/ Sorry for the confusion. > > with a patch that fixes the compilation warnings coming from the > > docstrings. >=20 > Sounds good, thank you for testing it! >=20 > About warnings, when I byte compile guix-emacs.el, all I see is: >=20 > --8<---------------cut here---------------start------------->8--- > =0C > Compiling file /home/maxim/src/guix/gnu/packages/aux- > files/emacs/guix-emacs.el at Sun Sep=C2=A0 3 10:50:19 2023 > guix-emacs.el:83:39: Warning: reference to free variable > =C2=A0=C2=A0=C2=A0 =E2=80=98treesit-extra-load-path=E2=80=99 > guix-emacs.el:83:39: Warning: assignment to free variable > =C2=A0=C2=A0=C2=A0 =E2=80=98treesit-extra-load-path=E2=80=99 > --8<---------------cut here---------------end--------------->8--- >=20 > I don't know how to fix those; they seem harmless since their use is > enclosed in a (with-eval-after-load 'treesit ...) expression. Yeah, I'm on Emacs 29 with tree-sitter baked in, so I see another set of warnings (emacs-team vs master strikes again, it seems) Cheers From unknown Fri Aug 15 20:54:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#65575: closed (Re: bug#65575: [PATCH v3 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'.) Message-ID: References: <4aa8927246d38b1d815ff4e21ba3a0edef86fa1c.camel@gmail.com> <87h6ojixdj.fsf@gmail.com> X-Gnu-PR-Message: they-closed 65575 X-Gnu-PR-Package: guix Reply-To: 65575@debbugs.gnu.org Date: Sat, 09 Sep 2023 08:21:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1694247662-30884-1" This is a multi-part message in MIME format... ------------=_1694247662-30884-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #65575: guix-emacs-autoload-packages does not autoreload newly installed pa= ckages which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 65575@debbugs.gnu.org. --=20 65575: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65575 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1694247662-30884-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 65575-done) by debbugs.gnu.org; 9 Sep 2023 08:20:27 +0000 Received: from localhost ([127.0.0.1]:46053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qetCd-00081F-9s for submit@debbugs.gnu.org; Sat, 09 Sep 2023 04:20:27 -0400 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:50221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qetCb-000811-D3 for 65575-done@debbugs.gnu.org; Sat, 09 Sep 2023 04:20:26 -0400 Received: by mail-ed1-x544.google.com with SMTP id 4fb4d7f45d1cf-52bcd4db4e6so3677551a12.0 for <65575-done@debbugs.gnu.org>; Sat, 09 Sep 2023 01:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694247617; x=1694852417; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=eHOjoZnm9mxE3iGpUOhApYvEXfslK2ZrHSB6A/z6vVM=; b=Lb2nHQAbs2HXAoeVYfaKg4hCxLLBlh/y8gbxhLbA5ed8iEr66TEMHbQeXPXg67/z2+ 4oe9GDkccePoI+qNZJ07ZDxzUSJNhUOgOMiRrzQYVulhY26zdDKZeiobwq9Ltc0qx/6U M6fV1GJXMJxlRF+OAEEFL+rflDgvh42USuj/T1Fj0YDrRnZiLOyi1xSpuDlu/J6kO+2q Un2OeHN4N2OqgI2LfrTMIxXXu/12LQUUuwhSJqse1oFIu+rXM/nAqTS2r9MAXyNX8k1S TGhuiIbI8Z744h54GqBUdU/v6B2wUjL9SpZzMacy0u7bZkKIVMETjn/tYlL1rWIG/l+W xlVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694247617; x=1694852417; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eHOjoZnm9mxE3iGpUOhApYvEXfslK2ZrHSB6A/z6vVM=; b=P15bMrvTOsplqRL2GyAo6pPM+8allTi8MULk2SnuVmVik4bM27alCDF/tuAbmYJMEK OeChRQZDvXP96GtLWUVhbK8tUk9Snd0e/ydl563Q1FZPfyIjJun7UCdDFVUqxEWNaDR0 vHyObs9EOHi96HrC0kFYDu9XyTYsjzhat42bSNJCGo80/BTvS2TLtKddiHnb9g4VuX4T Xy5Hbhwgoxy3goiTePBC3uirgF5fytzmYMQJBsdQnNCU/Knoawl4+7ZmfAdKaKLlp1+N MpMnn/eerJbCJOqcAjn2FwIrP2VYrvlAYXUd3YB4sgSynkxBHGX2Mr+SMauptiXUBLlF gfgg== X-Gm-Message-State: AOJu0Yxh+zr9XnRnOcumdBxMlddJR3aowuKk5yaMpgaqxHFy7FUujzlg GhPC+BgCA1Z90f9yqC/tUVw= X-Google-Smtp-Source: AGHT+IHQU8HeCuqk8FbmyJ2X76xDieQ4KSYV4eeAhgoDKj/PuPR95BIDvmtUk+CpYMzOZ8kZcHBImQ== X-Received: by 2002:a17:906:9c9:b0:9a5:7e63:2e0 with SMTP id r9-20020a17090609c900b009a57e6302e0mr4031746eje.30.1694247616543; Sat, 09 Sep 2023 01:20:16 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id qn6-20020a170907210600b0099d9b50d786sm2065749ejb.199.2023.09.09.01.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 01:20:15 -0700 (PDT) Message-ID: <4aa8927246d38b1d815ff4e21ba3a0edef86fa1c.camel@gmail.com> Subject: Re: bug#65575: [PATCH v3 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. From: Liliana Marie Prikler To: Maxim Cournoyer Date: Sat, 09 Sep 2023 10:20:10 +0200 In-Reply-To: <7feb9a1d9bcbc88df748d9dfdda1c1c7d92366b2.camel@gmail.com> References: <5228f790dc41314f01a48ad7c4cada654b7fc8ff.camel@gmail.com> <87jzt7ux6n.fsf@gmail.com> <7feb9a1d9bcbc88df748d9dfdda1c1c7d92366b2.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65575-done Cc: 65575-done@debbugs.gnu.org, Katherine Cox-Buday , Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Sonntag, dem 03.09.2023 um 21:59 +0200 schrieb Liliana Marie Prikler: > Am Sonntag, dem 03.09.2023 um 10:51 -0400 schrieb Maxim Cournoyer: > > Hi Liliana, > >=20 > > Liliana Marie Prikler writes: > >=20 > > [...] > >=20 > > > Queued locally for emacs-next and followed up > s/emacs-next/emacs-team/ s/Queued locally/Pushed/ Cheers ------------=_1694247662-30884-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Aug 2023 04:50:35 +0000 Received: from localhost ([127.0.0.1]:46661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUCx-0005YP-IQ for submit@debbugs.gnu.org; Mon, 28 Aug 2023 00:50:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaUCw-0005YC-05 for submit@debbugs.gnu.org; Mon, 28 Aug 2023 00:50:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaUCk-0001ru-9K for bug-guix@gnu.org; Mon, 28 Aug 2023 00:50:22 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qaUCi-0000fX-9c for bug-guix@gnu.org; Mon, 28 Aug 2023 00:50:22 -0400 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-76f0807acb6so86978185a.1 for ; Sun, 27 Aug 2023 21:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693198218; x=1693803018; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=7oyzyCxB6oMQWN4TXE5iUDcOvOkMv0pwHPrgN2aiiq0=; b=mvAkEo3Mkcs3KUtqgBpvjYCK9VJJM7z9m1LHkUPlSDrBqrekWGP6QJEESuSS2wECMr +YevCKCuoJUUmP0qFBFLiXfSQhAC/ZwPwT/qq1YUXZbKUE5TwYUHbUQzYFV5Pnf/bGUJ cjR7VqJGwB+1MQ1ktR6/FG75N0RGt6qo0CCjIOmTiRLhGxUvdt/Y5mCwQVHGP5S4wz45 N7Qu/C+3xpLjqB8cOAl3wniBFVfrlBPw6cEAt5o4mhqrWMk6d/Zmk9ZLN+Ixte94fZx5 Ezw9DyoTlJUKUMrizwBSvWWh6OexuzUAO29AMA2kGhN0hHaU84+DMLnvsVsapnWXlq5+ sA/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693198218; x=1693803018; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7oyzyCxB6oMQWN4TXE5iUDcOvOkMv0pwHPrgN2aiiq0=; b=QUNLF2JiJpPgqPfasPGkLk+cFnkslA8p8PtAj+mNHsIVmJLaVsCeCekWzHC9SgeIm2 h2igD0B6NROEtLs0plXKMkWCaDTNMGitOcU/oA2AXet2ltpKln0ltpciZCjnwijmfV3j tuEuCA/+PYiDusU5wGUUAQhzlJmvg95JJN2ttw6bY/gRvSWI+tdWqhF8WdSp79q7XsiC 08Cc2pHZ2toCo37REJqDG+HXxTNApX8C73xcihiNg1v8RU8swKNLYxE6ZdIJr/f3tNPq X3BRYaWTuwAYv1rxDvQNBhcFfMnMQKYope5FJDFwWT85wTe0inhkFDC14bNs5zubIOEs KZkw== X-Gm-Message-State: AOJu0YxxsIbJ8QlYJunE/M8DEUsbCQ+do8WioDNI52ydKP1VEtYYth0L 7+Ty216UlpwrOkuD180F/QHhzpE/I+M= X-Google-Smtp-Source: AGHT+IH0GHZI/oTFToB88P96pSd3SKSkM+lNE+D3k7/lykBhmNoJ45oQ6kS18j/FLefclSe031q15Q== X-Received: by 2002:ad4:559c:0:b0:626:b17:3b97 with SMTP id f28-20020ad4559c000000b006260b173b97mr19851513qvx.65.1693198218329; Sun, 27 Aug 2023 21:50:18 -0700 (PDT) Received: from hurd (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id w10-20020ae9e50a000000b00767cd764ecfsm2137012qkf.33.2023.08.27.21.50.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 21:50:17 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: guix-emacs-autoload-packages does not autoreload newly installed packages Date: Mon, 28 Aug 2023 00:50:16 -0400 Message-ID: <87h6ojixdj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72a.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Since some time, our guix-emacs-autoload-packages in Emacs stopped being useful at refreshing newly installed packages. I'll send a proposed change to address this. -- Thanks, Maxim ------------=_1694247662-30884-1-- From unknown Fri Aug 15 20:54:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65575: [PATCH v3 4/4] gnu: emacs: Reload subdirs.el files in 'guix-emacs-autoload-packages'. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Sep 2023 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65575 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 65575-done@debbugs.gnu.org, Katherine Cox-Buday , Andrew Tropin Received: via spool by 65575-done@debbugs.gnu.org id=D65575.16942646994922 (code D ref 65575); Sat, 09 Sep 2023 13:05:01 +0000 Received: (at 65575-done) by debbugs.gnu.org; 9 Sep 2023 13:04:59 +0000 Received: from localhost ([127.0.0.1]:46389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qexdz-0001HJ-GP for submit@debbugs.gnu.org; Sat, 09 Sep 2023 09:04:59 -0400 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:42251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qexdv-0001H4-FK for 65575-done@debbugs.gnu.org; Sat, 09 Sep 2023 09:04:58 -0400 Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-770ef334b4fso42363985a.1 for <65575-done@debbugs.gnu.org>; Sat, 09 Sep 2023 06:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694264686; x=1694869486; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Eic11UoNkPDfBKl9IQvL+m+AHUNjiYIe+T0daniyMj0=; b=l8CN3PE01Wfnp9OT+8zbsk1wMgeRcRV7s3AKn+aOtspJv8JgxmhEFnIV5MlOKfxvA5 JzTJSIyaHPbvtzvpuD0oFCraczEI4LFiqqC22xqg2l/K9iwedj7qHbaHNe0D4u7gq+iL suov46N7nhlQVHt8iTFPu3ZNLiLVrUES/1VaehOm17X8TwT0M7RCEqPQ8fTVKkXhh4Ny awP1Av1P0WkYSOPRknFOiz/J3HtWA69PyzQG8bqa0L5I7KyQaHqp0zgRdIZFfDtHLPA1 AqS5atEPF8N42oipivDD8d2leTLXZR/aq5lW8iiRGQEPbXwegRitz4QaaR3stQ5Xl4xt AdDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694264686; x=1694869486; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Eic11UoNkPDfBKl9IQvL+m+AHUNjiYIe+T0daniyMj0=; b=bpsWMxqYRYpX/8v8NzNFcbx+FQYNlohnwXQtrx0QIw4J2z0uuABUyqHETFc/A/ziGr lvqfcN5WRMOSrG/A2qdOfx2M+IkRIgz2LtlI5S0/WrYpKNLWko+2FEGEplLTlsYLMgFm TEQ0eYmAEdxgjDsVqUvkEKpc2txIJpMubYfoc6nM4SffQuo/IfPV+92/+py05K9kQ+Lc k7PxrvHOnuNdu0UGdklbDV/gzrrA7U2Msc0w4waMx56tVRclb4kQxR6hYXQZh231f7b7 W41vhf6G2Vq9XIIq+0T0e4kDu+nFAc2/iMRH5BP0vruOx4KAM1SFYszgJ/BSGw4WtIzn icHQ== X-Gm-Message-State: AOJu0YwF7uhLtzq4ziSDePr30rK0J6d33T9rmdauRjZfO11axC3Ymtu8 ZR7K8roM5hObPjTFPGs1G54= X-Google-Smtp-Source: AGHT+IEDUqHOHGNSzn3DOyRvad6MZglbToARaL+8K3fMX0YKdAF1gtKJJbi232RtQWhXAyNXT1zQfA== X-Received: by 2002:a05:620a:1996:b0:76f:251:b24f with SMTP id bm22-20020a05620a199600b0076f0251b24fmr10710900qkb.25.1694264686287; Sat, 09 Sep 2023 06:04:46 -0700 (PDT) Received: from hurd (dsl-155-89.b2b2c.ca. [66.158.155.89]) by smtp.gmail.com with ESMTPSA id u27-20020a05620a121b00b0076f35d17d06sm1290906qkj.69.2023.09.09.06.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 06:04:45 -0700 (PDT) From: Maxim Cournoyer References: <5228f790dc41314f01a48ad7c4cada654b7fc8ff.camel@gmail.com> <87jzt7ux6n.fsf@gmail.com> <7feb9a1d9bcbc88df748d9dfdda1c1c7d92366b2.camel@gmail.com> <4aa8927246d38b1d815ff4e21ba3a0edef86fa1c.camel@gmail.com> Date: Sat, 09 Sep 2023 09:04:44 -0400 In-Reply-To: <4aa8927246d38b1d815ff4e21ba3a0edef86fa1c.camel@gmail.com> (Liliana Marie Prikler's message of "Sat, 09 Sep 2023 10:20:10 +0200") Message-ID: <87edj7xztf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Liliana Marie Prikler writes: > Am Sonntag, dem 03.09.2023 um 21:59 +0200 schrieb Liliana Marie > Prikler: >> Am Sonntag, dem 03.09.2023 um 10:51 -0400 schrieb Maxim Cournoyer: >> > Hi Liliana, >> > >> > Liliana Marie Prikler writes: >> > >> > [...] >> > >> > > Queued locally for emacs-next and followed up >> s/emacs-next/emacs-team/ > s/Queued locally/Pushed/ Thank you! -- Thanks, Maxim