From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mL0tIv6+8mSYegEAauVa8A:P1 (envelope-from ) for ; Sat, 02 Sep 2023 06:50:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mL0tIv6+8mSYegEAauVa8A (envelope-from ) for ; Sat, 02 Sep 2023 06:50:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 59B8351081 for ; Sat, 2 Sep 2023 06:50:06 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="i4B/eiJC"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693630206; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9AXXvTReHgocK91e8BWV3ryqbEjVudV7ev5rogD31Js=; b=UsSeVo4y8iNASO4/8byY0kMeX8MXh1zXRi7M3Kx149nqgE9P0LAXXw0Te53xb8L75i5ZDb wLRtS+It3Zr6OJhDUgIbSX0gRI8ONc7UjyKxgha3gjYlWwERAeDWj6zM6lJRJut0BZobqT 5ZN8hroQFx56mc1mtCiOhqYwCXUvjydSU8OrDfOSbMU6IkcNi+I79aGUMIyVZVJ+dxLmI8 18SG5DZc6HWG/FUQSVH8/2vm2ikBblg7pCFGiqsKe9ngA68iOb9YHwFk5Oa4Jn4MH4c4N3 aNC0z5okZ25/TBgOYCTUPbnBssSJ7oA4WN/xe2Q4WqbID6dkFIvasIwiMFrMRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693630206; a=rsa-sha256; cv=none; b=gGoDECJ+K4AQAX9O3XqxampPJ3p24dfTWced4j2OE914hhjQDjJLAD7dENx4FsVN6vFr5S eIE8lKUp9ca81Th3h14+z70i+vTzacFz4PvLcGhrcxFViDAlJTOMq4ZknnMSnen0H1dyPB UF4IMAspr3RPXcelkZHzmK8RjD1+H+A+4v0VbAbuabj2o833Oqcx6w1a3y8zPRD3zkFweh ZcObplo/Bwj+QuZ8DezeyFXNdK52x9iRanlMpoP3sLvGLYiomoJsVSfgqOkhAoHOLPFd9V 80Dap+CaxE5Z83kfpEyO2AyPUFr790rIOauWdS4S2JbjkiAn47/Dkmc1BSkTQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="i4B/eiJC"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcIa4-0000Cj-IG; Sat, 02 Sep 2023 00:49:56 -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 1qcIa1-0000CQ-29 for bug-guix@gnu.org; Sat, 02 Sep 2023 00:49:53 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcIa0-0003Vs-Q5 for bug-guix@gnu.org; Sat, 02 Sep 2023 00:49:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcIaA-0008ET-BH for bug-guix@gnu.org; Sat, 02 Sep 2023 00:50:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 59B8351081 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 4.27 X-Spam-Score: 4.27 X-TUID: qjcJlHgzJxXU 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